From: Dan Brown Date: Sun, 23 Sep 2018 13:07:50 +0000 (+0100) Subject: Updated TinyMCE config to end containers on empty blocks X-Git-Tag: v0.24.0~1^2~3 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/93f820d9da4712adf327c7c3583f6e10ed36ef92 Updated TinyMCE config to end containers on empty blocks Makes it easier to escape out of blockquote sections. Fixes #961 --- diff --git a/resources/assets/js/components/wysiwyg-editor.js b/resources/assets/js/components/wysiwyg-editor.js index 048865630..79c1faaef 100644 --- a/resources/assets/js/components/wysiwyg-editor.js +++ b/resources/assets/js/components/wysiwyg-editor.js @@ -409,6 +409,7 @@ class WysiwygEditor { directionality : this.textDirection, remove_script_host: false, document_base_url: window.baseUrl('/'), + end_container_on_empty_block: true, statusbar: false, menubar: false, paste_data_images: false,