Does GS overwrite the changes in pages? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Does GS overwrite the changes in pages? (/showthread.php?tid=7268) |
Does GS overwrite the changes in pages? - stwneu - 2015-05-07 Good afternoon! I think my problem is quite stupid, but I didn't know how to search for an answer... 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? Can I change that? Thanks for the help! RE: Does GS overwrite the changes in pages? - shawn_a - 2015-05-07 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 in it RE: Does GS overwrite the changes in pages? - stwneu - 2015-05-07 (2015-05-07, 23:47:41)shawn_a Wrote: ckeditor removes empty elements Thanks a lot! RE: Does GS overwrite the changes in pages? - shawn_a - 2015-05-07 of course comment those out first Code: // prevent removal of empty inline tags |