Skip to content

Commit

Permalink
improve default tinymce experience
Browse files Browse the repository at this point in the history
  • Loading branch information
flack committed Oct 6, 2019
1 parent 9550b96 commit 0b47d33
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/midcom/datamanager/config/tinymce_default
Original file line number Original file line Diff line number Diff line change
@@ -1,10 +1,14 @@
// note:: this is javascript! // note:: this is javascript!
theme: "modern", theme: "modern",
plugins: ["table save hr link preview media searchreplace print contextmenu fullscreen image paste code imagetools"], plugins: ["autoresize table save hr link preview media searchreplace print contextmenu fullscreen image paste code imagetools"],
toolbar1: "cut copy paste | undo redo | searchreplace | alignleft alignjustify alignright | outdent indent | code fullscreen", toolbar1: "cut copy paste | undo redo | searchreplace | alignleft alignjustify alignright | outdent indent | code fullscreen",
toolbar2: "formatselect | bold italic strikethrough sub sup | bullist numlist | link unlink image media | removeformat", toolbar2: "formatselect | bold italic strikethrough sub sup | bullist numlist | link unlink image media | removeformat",
resize: 'both', resize: 'both',
autoresize_bottom_margin: 1,
autoresize_max_height: Math.max(200, document.documentElement.clientHeight - 100),
image_advtab: true, image_advtab: true,
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|style],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]", extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|style],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
entity_encoding : "raw", entity_encoding : "raw",
branding: false, branding: false,
menubar: false,
statusbar: false,

0 comments on commit 0b47d33

Please sign in to comment.