Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Editor keeps adding   to the end some tags and divs
#10
(2012-09-14, 08:49:48)eatons Wrote:
beggin Wrote:Figured it out. Unfortunately, the problem still exists Sad
Try changing from 'p' to using the break tag. ...you can always include a 'p' tags manually when needed. Drop this code into the config file:
Code:
# WYSIWYG Editor Options
define('GSEDITOROPTIONS','enterMode: CKEDITOR.ENTER_BR,shiftEnterMode : CKEDITOR.ENTER_P');

I just set up my CMS only to find this :/

I thought it was only WordPress that did things like this, thereby making it virtually unusable.

GetSimple may be "simple" to configure template wise, but it surely is beyond comprehension why it changes proper spacing entities to &nbsp;, inserts unasked for <br> tags and (deprecated) <p>tags into the bargain.

Even in the code there are illegal alt="" tags as well, and this is not to mention the whole scheme of "" vs '' where you want to use <!#exec cmd''--> statements inside title='' attributes.

I really wish someone in the world could get it right when it comes to CMS and while this one is the closest, it is still virtually useless as a hand-code replacement.
Reply


Messages In This Thread
RE: Editor keeps adding &nbsp; to the end some tags and divs - by reticent - 2013-05-21, 15:08:08



Users browsing this thread: 1 Guest(s)