Skip to content
Permalink
Browse files

improve default tinymce experience

  • Loading branch information...
flack committed Oct 6, 2019
1 parent 9550b96 commit 0b47d3365c025ad349092fad3f7be15e7689424b
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/midcom/datamanager/config/tinymce_default
@@ -1,10 +1,14 @@
// note:: this is javascript!
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",
toolbar2: "formatselect | bold italic strikethrough sub sup | bullist numlist | link unlink image media | removeformat",
resize: 'both',
autoresize_bottom_margin: 1,
autoresize_max_height: Math.max(200, document.documentElement.clientHeight - 100),
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]",
entity_encoding : "raw",
branding: false,
branding: false,
menubar: false,
statusbar: false,

0 comments on commit 0b47d33

Please sign in to comment.
You can’t perform that action at this time.