We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Background Image for ejRTE

Thread ID:

Created:

Updated:

Platform:

Replies:

125043 Jul 17,2016 01:16 AM UTC Jul 19,2016 08:50 AM UTC JavaScript 1
loading
Tags: ejRTE
Randy Craven
Asked On July 17, 2016 01:16 AM UTC

Hello,

Is it possible to set a background image for an ejRTE control?

Thanks,
Randy

Keerthana Rajendran [Syncfusion]
Replied On July 19, 2016 08:50 AM UTC

Hi Randy,   
  
Thank you for contacting Syncfusion support.   
  
We can apply styles to RTE by using iframeAttributes property. Please refer the UG link below  
 
  
<code>   
<script type="text/javascript">   
        $(function () {   
              $("#rteSample").ejRTE({   
width:"100%",    
isResponsive:true,   
iframeAttributes:{ style :"background-image:url(http://js.syncfusion.com/demos/web/content/images/rotator/snow.jpg);" }});   
        });   
    </script>   
</code>   
  
   
   
We have prepared a sample for your reference. Please refer the below given sample link:   
 
   
Please let us know if any concern   
Regards,   
Keerthana.   
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;