From d6bce71fc65f8d2f3036f8801f2a201777595c43 Mon Sep 17 00:00:00 2001 From: spider Date: Tue, 2 Jun 2015 16:21:32 -0400 Subject: add CKEDITOR.config.autoParagraph = false --- ckconfig.bitweaver.js | 3 ++- ckconfig.custom.js | 1 + templates/footer_inc.tpl | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ckconfig.bitweaver.js b/ckconfig.bitweaver.js index c3e0741..6b8b2d6 100644 --- a/ckconfig.bitweaver.js +++ b/ckconfig.bitweaver.js @@ -71,5 +71,6 @@ config.toolbar_Advanced = [ // Lock resize function to bitweaver window. config.resize_minHeight = 300; config.resize_dir = 'vertical'; - +config.autoParagraph = false; + enterMode: CKEDITOR.ENTER_P, }; // End CKEDITOR.editorConfig function diff --git a/ckconfig.custom.js b/ckconfig.custom.js index 6a1ab55..ef05eeb 100644 --- a/ckconfig.custom.js +++ b/ckconfig.custom.js @@ -73,5 +73,6 @@ CKEDITOR.editorConfig = function( config ) { // Lock resize function to bitweaver window. config.resize_minHeight = 300; config.resize_dir = 'vertical'; + config.autoParagraph = false; }; // End CKEDITOR.editorConfig function diff --git a/templates/footer_inc.tpl b/templates/footer_inc.tpl index 145ea51..7b87755 100644 --- a/templates/footer_inc.tpl +++ b/templates/footer_inc.tpl @@ -81,6 +81,7 @@ function configCkEditor() { { name: 'links' } {/literal}{/if}{literal} ]; + CKEDITOR.config.autoParagraph = false; } {/literal} -- cgit v1.3