Froala 编辑器 v3 渲染按钮都在一行上,没有下拉菜单

问题描述

我使用的是 v3,并且我已经设置好几天了。我使用 moreButtons,所以我有按钮的下拉菜单。然后今天突然间所有按钮都在一行上呈现并且更小,因为它试图适应它们。我没有控制台错误。知道为什么会这样吗?

enter image description here

toolbarButtons: {
    // Key represents the more button from the toolbar.
    moreText: {
        // List of buttons used in the group.
        buttons: ['bold','italic','underline','strikeThrough','subscript','superscript','fontFamily','fontSize','textColor','backgroundColor','inlineClass','inlinestyle','clearFormatting'],// Alignment of the group in the toolbar.
        align: 'left',// By default,3 buttons are shown in the main toolbar. The rest of them are available when using the more button.
        buttonsVisible: 3
    },moreParagraph: {
        buttons: ['alignLeft','alignCenter','formatOLSimple','alignRight','alignJustify','formatOL','formatUL','paragraphFormat','paragraphStyle','lineHeight','outdent','indent','quote'],align: 'left',buttonsVisible: 3
    },moreRich: {
        buttons: ['insertLink','insertimage','insertVideo','insertFile','insertTable','fontAwesome','specialCharacters','embedly','insertHR'],buttonsVisible: 4
    },moreMisc: {
        buttons: ['undo','redo','fullscreen','print','getPDF','spellChecker','selectAll','help'],align: 'right',buttonsVisible: 2
    }
},

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...