This is a migrated thread and some comments may be shown as answers.

Upload image and set as div background

0 Answers 9 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Benjamin
Top achievements
Rank 1
Benjamin asked on 27 Mar 2017, 09:45 AM

hi. i am using the telerik html editor. would like to know if it is possible for user to create their own div, upload an image and set this image as the background for the div.

for example user created

<div id="myNewDiv>

</div>

user wants to upload an image "divBackground.png" via the editor's image manager or some other way using the editor. then set this divBackground.png as a background image for #myNewDiv. 

if possible i would want to reduce the probability of user having to set the image using CSS as some user might not have knowledge to CSS.

No answers yet. Maybe you can help?

Tags
Editor
Asked by
Benjamin
Top achievements
Rank 1
Share this question
or