【问题标题】:rich text editor properties富文本编辑器属性
【发布时间】:2010-12-09 12:41:55
【问题描述】:

在下面的 RTE 中,我必须减小宽度,但这样做意味着删除一些功能,例如删除粗体、下划线选项、.......

有什么办法可以在不移除按钮的情况下减小宽度?

也就是说,按钮应该出现在一种小的下拉箭头中。

     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,|,forecolor,backcolor",
     theme_advanced_buttons3 : 


      }

【问题讨论】:

    标签: jquery html css tinymce rich-text-editor


    【解决方案1】:

    在 firefox 或 Chrome 的开发者工具或您使用的任何浏览器中使用 FireBug 之类的东西,找到按钮 ID 和类,然后编辑您的编辑器附带的 CSS 文件或使用 jquery 设置它们的样式。

    或者如果你可以放在线演示,我可以帮助你。

    【讨论】:

      【解决方案2】:

      如果高度没有问题,您可以使用n additional button column as specified here 并将其他一些列按钮放在那里。

      【讨论】:

        猜你喜欢
        • 2011-06-18
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-04-09
        • 2019-12-25
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多