TinyMCE: How to display all toolbars on a single row?

后端 未结 4 898
小鲜肉
小鲜肉 2020-12-19 08:15

This question is basically reverse of Is there a way to wrap the toolbar buttons to the next row in TinyMCE if the width of the editor is too small?

I have a TinyMCE

4条回答
  •  执笔经年
    2020-12-19 08:41

    Depending on the number of buttons enabled, setting table.mceToolbar to display inline-table can push the editor's width to be too wide.

    Instead float each table left so it breaks when the maximum allowable width is reached.

     table.mceToolbar {margin-left:3px; float:left}
    

提交回复
热议问题