diff --git a/doc/TINYMCE.md b/doc/TINYMCE.md new file mode 100644 index 0000000000000000000000000000000000000000..d47a924f0ed8dd0f318a23df5ccc5b3a7bd76963 --- /dev/null +++ b/doc/TINYMCE.md @@ -0,0 +1,6 @@ +Notes +===== + +* Surround <p> Tag - https://www.tinymce.com/docs/configure/content-filtering/#forced_root_block >> + In QFQ Formeditor on the specific FormElement.parameter: `editor-forced_root_block=false` + \ No newline at end of file diff --git a/extension/Documentation/Manual.rst b/extension/Documentation/Manual.rst index 87881c3d22d50bb1b987f370fe4e560cbf627f2a..fa67ab660a7593ef869aae375edfc14709e41baa 100644 --- a/extension/Documentation/Manual.rst +++ b/extension/Documentation/Manual.rst @@ -1592,8 +1592,12 @@ Type: editor * TinyMCE (https://www.tinymce.com, community edition) is used as the QFQ Rich Text Editor. * The content will be saved as HTML inside the database. * All configuration and plugins will be configured via the 'parameter' field. Just prepend the word 'editor-' in front - of each TinyMCE keyword. Check possible options under https://www.tinymce.com/docs/configure/, - https://www.tinymce.com/docs/plugins/, https://www.tinymce.com/docs/advanced/editor-control-identifiers/#toolbarcontrols + of each TinyMCE keyword. Check possible options under: + + * https://www.tinymce.com/docs/configure/, + * https://www.tinymce.com/docs/plugins/, + * https://www.tinymce.com/docs/advanced/editor-control-identifiers/#toolbarcontrols + * Bars: * Top: *menubar* - by default hidden. @@ -1607,6 +1611,12 @@ Type: editor editor-toolbar=code searchreplace undo redo | styleselect link table | fontselect fontsizeselect | bullist numlist outdent indent | forecolor backcolor bold italic editor-menubar=false editor-statusbar=false +* To deactivate the surrouding `<p>` tag, configure in *FormElement.parameter*:: + + editor-forced_root_block=false + + This might have impacts on the editor. See https://www.tinymce.com/docs/configure/content-filtering/#forced_root_block + * *FormElement.size*: * <min_height>,<max_height>: in pixels, including top and bottom bars. E.g.: 300,600