From 0dc26512a353dacb3c5c411cd148530fec789100 Mon Sep 17 00:00:00 2001 From: Ian Date: Fri, 19 Dec 2014 15:51:06 +0100 Subject: [PATCH] stop default encoding in cke savings else searching terms will/may not match References #249 and #236 --- htmlarea/ckeditor_s9y_config.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/htmlarea/ckeditor_s9y_config.js b/htmlarea/ckeditor_s9y_config.js index 45516f05..11d4c762 100644 --- a/htmlarea/ckeditor_s9y_config.js +++ b/htmlarea/ckeditor_s9y_config.js @@ -86,13 +86,12 @@ CKEDITOR.editorConfig = function( config ) { // You can always use SHIFT+ENTER to set a br in the P-mode default option or change the SHIFT-mode to something else //config.shiftEnterMode = CKEDITOR.ENTER_BR; // Better learn to do this via keyboard commands, see cheatsheet toolbar button. - - // Whether to use HTML entities in the output. - //config.entities = false; // defaults(true) - - //config.htmlEncodeOutput = false; // defaults(true) */ + // Whether to use HTML entities in the output. Let strictly S9y handle this, since we need it for search terms! Storing html entities to db is not good here! + config.entities = false; // defaults(true) + config.htmlEncodeOutput = false; // defaults(true) + /** SECTION: UI configurations config.uiColor = 'transparent'; // standard, but better disable config.uiColor at all