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 5 编辑器中删除一些按钮。
如何控制显示哪些按钮?
我在文档中找不到任何内容。
这是我的初始化代码:
tinymce.init({ selector: 'textarea.property_remark' ,branding: true ,menubar: false ,statusbar: true ,toolbar: true });
为了使用某些工具栏按钮或菜单选项,您需要加载一些插件。检查这个链接
我在这里找到了
tinymce.init({ selector: 'textarea.property_remark' ,branding: true ,menubar: false ,statusbar: true ,toolbar: 'undo redo | styleselect | bold italic | link image' });