Images not showing in ckeditor on update

Subject:

My issue is caused by this, which was working before the latest update.

    config.protectedSource.push( /<i[\s\S]*?\>/g ); //allows beginning <i> tag    config.protectedSource.push( /<\/i[\s\S]*?\>/g ); //allows ending </i> tag

2015-06-17 09:53:38gstlouis

issue was the same where using the config.protectedSource.push to allow for i tags for font awesome, diabled images during edit

replaced that code with this one line bellow, solved both issues (allows empty i tags & keeps images during edit)

CKEDITOR.dtd.$removeEmpty.i = 0;

 

in config.js for ckeditor

references:
http://ckeditor.com/forums/CKEditor/Images-not-showing-in-Editor-0

gstlouis
vote
2015-06-17 09:54:31