admin管理员组文章数量:1341475
I would like to know the name of all the toolbar buttons of Froala (). I know the following ones:
"undo", "redo", "bold", "italic", "underline", "strikeThrough", "selectAll", "paragraphStyle", "subscript", "superscript", "paragraphFormat", "fontFamily", "fontSize", "align", "formatOL", "formatUL", "outdent", "indent", "quote", "color", "emoticons", "insertTable", "createLink", "insertImage", "insertVideo", "insertFile", "fullscreen", "html", "save"
I miss at least the Insert Horizontal Line button.
I would like to know the name of all the toolbar buttons of Froala (https://www.froala./wysiwyg-editor). I know the following ones:
"undo", "redo", "bold", "italic", "underline", "strikeThrough", "selectAll", "paragraphStyle", "subscript", "superscript", "paragraphFormat", "fontFamily", "fontSize", "align", "formatOL", "formatUL", "outdent", "indent", "quote", "color", "emoticons", "insertTable", "createLink", "insertImage", "insertVideo", "insertFile", "fullscreen", "html", "save"
I miss at least the Insert Horizontal Line button.
Share asked Jul 29, 2016 at 12:29 AliukAliuk 1,3873 gold badges20 silver badges36 bronze badges3 Answers
Reset to default 6There is an example with all possible feature of froala on their official page: https://www.froala./wysiwyg-editor/examples/full-featured
toolbarButtons: ['fullscreen', 'bold', 'italic', 'underline', 'strikeThrough', 'subscript', 'superscript', 'fontFamily', 'fontSize', 'color', 'emoticons', 'inlineStyle', 'paragraphStyle', 'paragraphFormat', 'align', 'formatOL', 'formatUL', 'outdent'
Finally I found the Insert Horizontal Line button. It is "insertHR".
new FroalaEditor('#froala-editor', {
toolbarButtons: ['fullscreen', 'bold', 'italic', 'underline', 'strikeThrough', 'subscript', 'superscript', '|', 'fontFamily', 'fontSize', 'color', 'inlineStyle', 'paragraphStyle', '|', 'paragraphFormat', 'align', 'formatOL', 'formatUL', 'outdent', 'indent', 'quote', '-', 'insertLink', 'insertImage', 'insertVideo', 'insertFile', 'insertTable', '|', 'emoticons', 'specialCharacters', 'insertHR', 'selectAll', 'clearFormatting', '|', 'print', 'help', 'html', '|', 'undo', 'redo','trackChanges','markdown']
});
本文标签: javascriptAll the toolbar buttons of FroalaStack Overflow
版权声明:本文标题:javascript - All the toolbar buttons of Froala - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743671581a2519625.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论