Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
Styling the Insert Image Dialogue
posted

Can the controls on the default Insert Image dialogue be styled either directly or through style sheets? i.e. buttons, text boxes, etc.

Parents
No Data
Reply
  • 4315
    Offline posted

    Hi, Yen.

    You can look at this sample, that shows you how to put custom images for the toolbar items. What you need to do is create a directory and pass the path of that directory as value to the WebHtmlEditor 'ImageDirectory' property. Inside the folder you can place your image and then this image name should be the value for the 'Type' property of ToolbarUploadButton (this is the object for Insert Image button). 

    I'm not sure if you will be able to set the image using CSS rules, because the button is a HTML 'img' and is not set using CCS 'backround' property.

    Here is also one topic that can help you customize your Toolbox.

    I hope this will help you and if you have more questions don't hesitate to write.

    Best regards,

    Nikolay

Children