Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 TinyMce 编辑器中添加多个按钮。我尝试了此链接TinyMCE 添加多个自定义工具栏按钮并将其放在 jsfiddle 下方。此代码仅生成一个按钮。
jsfiddle.net/LJWcz/
您错过了将第二个添加到工具栏:
toolbar: "mybutton mysecondbutton",
工具栏:
这控制了您希望在工具栏中显示的按钮。