Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BUG REPORT ckeditor page editor adding unwanted html after save
#3
(2015-06-17, 08:54:39)shawn_a Wrote: http://get-simple.info/forums/showthread...=entermode
This might have something to do with it, i don't remember.

entermode

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

This is added to the gsconfig file:

define('GSEDITOROPTIONS',"

enterMode: CKEDITOR.ENTER_BR,
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.

Thanks!
Reply


Messages In This Thread
RE: ckeditor page editor adding unwanted html after save - by DonR - 2015-06-18, 03:13:53



Users browsing this thread: 1 Guest(s)