开发者

rich text editor properties

In the following RTE I have to reduce the width but doing this means removing some of the features like remove bold,underline options,........

Is there any way to reduce the width without removing the buttons?

i.e, the buttons should appear in a small kind of dropdown arrow.

     function MYRTE()
     {

     theme : "advanced",
     theme_advanced_buttons1 : "save,|,bold,italic,underline,|,formatselect,fontselect,fontsizeselect",
     theme_advanced_buttons2 : "cut,copy,paste,|,search,replace,|,insertdate,inserttime,preview,|,forecol开发者_开发技巧or,backcolor",
     theme_advanced_buttons3 : 


      }


Use Something like FireBug in firefox or developer tools of Chrome or what ever browser you use, find the button id and class then edit the CSS file coming with your editor or use jquery to style them.

or if you can put and online demo so i can help you with that.


If the heigth is no issue you could use an additional button column as specified here and place some of the other columns buttons there.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜