GetSimple Support Forum

Full Version: Does GS overwrite the changes in pages?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good afternoon!

I think my problem is quite stupid, but I didn't know how to search for an answer... Blush

I just added a dropdown-Button to a page in the html-mode of the CKEditor. So far everything works, but then I tried to add <span class="caret"></span> to that button. This also works, but when I open the page again and edit it in html-view again, the span-code just dissappeared and seems to have been overwritten somehow. How is that possible? Big Grin Can I change that?

Thanks for the help!
ckeditor removes empty elements

In ckeditor config.js
// prevent removal of empty inline tags
// CKEDITOR.dtd.$removeEmpty['i'] = false;
// CKEDITOR.dtd.$removeEmpty['span'] = false;


or stick a &nbsp; in it
(2015-05-07, 23:47:41)shawn_a Wrote: [ -> ]ckeditor removes empty elements

In ckeditor config.js
// prevent removal of empty inline tags
// CKEDITOR.dtd.$removeEmpty['i'] = false;
// CKEDITOR.dtd.$removeEmpty['span'] = false;


or stick a &nbsp; in it


Thanks a lot! 
of course comment those out first

Code:
// prevent removal of empty inline tags
CKEDITOR.dtd.$removeEmpty['i'] = false;
CKEDITOR.dtd.$removeEmpty['span'] = false;