Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BUG REPORT ckeditor page editor adding unwanted html after save

When editing a page two scenarios of unwanted code being added after doing an update.  This is seen by doing a view Source.

1 -  <p>&nbsp;</p> on either 1 or 2 lines
2 - {% home-page-blockquote %} becomes <p>{% home-page-blockquote %}</p> This is the syntax for inserting components in a page using the dynpages plugin.  Am inserting the code while in Source mode.

GetSimple version is 3.3.5

gsconfig.php settings are:
# WYSIWYG Editor Options

#define('GSEDITOROPTIONS', '');
['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList','JustifyLeft','JustifyCenter','JustifyRight',
'JustifyBlock', 'Table', 'TextColor', 'BGColor', 'Link','Unlink', 'Image', 'RemoveFormat', 'Source'],

Have installed the GSCkePatch (and verified it is working as now there is syntax coloring) and it did not make a difference

Should I use the GetSimple version Stable with CKEditor patched to v4.3.2 (untested 

Thank you for your input.
This might have something to do with it, i don't remember.

NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
(2015-06-17, 08:54:39)shawn_a Wrote:
This might have something to do with it, i don't remember.


Thanks for the reply Shawn. Very helpful.  Making progress now.  

This is added to the gsconfig file:


shiftEnterMode : CKEDITOR.ENTER_P

When I press Enter the editor understands line break.
When I press Shift-Enter the editor understands to make a paragraph using <p> ….content….. </p>

Still touchy behaviour between the default visual editing mode and the Source editing mode and when the editor knows I'm at the end of my html code/short code and when to resume the page content.  

The editor has a tendency to add <br /> at the end of my html code/shortcode but playing around should get it satisfactory.


Users browsing this thread: 1 Guest(s)