diff --git a/src/lib/forms/RichEditor.js b/src/lib/forms/RichEditor.js index 9025b419..e18f6229 100644 --- a/src/lib/forms/RichEditor.js +++ b/src/lib/forms/RichEditor.js @@ -15,6 +15,9 @@ import "tinymce/plugins/autoresize"; import "tinymce/plugins/codesample"; import "tinymce/plugins/link"; import "tinymce/plugins/lists"; +import "tinymce/plugins/code"; +import "tinymce/plugins/charmap"; +import "tinymce/plugins/fullscreen"; import PropTypes from "prop-types"; export class RichEditor extends Component { @@ -27,10 +30,18 @@ export class RichEditor extends Component { statusbar: false, min_height: minHeight, content_style: "body { font-size: 14px; }", - plugins: ["codesample", "link", "lists", "table", "autoresize"], - contextmenu: false, + plugins: [ + "codesample", + "link", + "lists", + "table", + "autoresize", + "code", + "charmap", + "fullscreen", + ], toolbar: - "blocks | bold italic link codesample blockquote table | bullist numlist | outdent indent | undo redo", + "blocks | bold italic subscript superscript charmap | link codesample code blockquote table | bullist numlist | outdent indent | undo redo fullscreen", autoresize_bottom_margin: 20, block_formats: "Paragraph=p; Header 1=h1; Header 2=h2; Header 3=h3", table_advtab: false,