如何显示 Kendo 编辑器的所有工具并防止它们推送到 Overflow Anchor?

How can I display all tools for Kendo Editor and prevent them to push to Overflow Anchor?

我有一个 Kendo Jquery 编辑器,里面有很多工具。无论工具栏中是否可用 space,我都需要在编辑器中显示所有工具。我需要那些不适合第一行的内容转到 second/next 行,而不是被推入溢出锚点。目前,任何不适合 space 的工具都会被推送到 "more tools" 菜单。

示例代码:

 $("#editor").kendoEditor({
            tools: [
                "bold",
                "italic",
                "underline",
                "strikethrough",
                "justifyLeft",
                "justifyCenter",
                "justifyRight",
                "justifyFull",
                "insertUnorderedList",
                "insertOrderedList",
                ........

您是否将 resizable.toolbar 设置为 true?

resizable.toolbar Boolean

If resizable is set to true the widget will detect changes in the viewport width and will >hide the overflowing controls in the tool overflow popup.

文档:resizable.toolbar

尝试将其设置为 false:

$("#editor").kendoEditor({
  resizable: {
      toolbar: false
  }
});