LDEV-4428 Add emojione and autoembed plugins Both plugins were added as integrated plugins (so no need to specify them as extraPlugins). At the same time Emojione button replaced Smiley one.
As a side note, when adding Emojione plugin as integrated one, its icon gets incorporated into icons.png incorrectly (the size of the icon is much bigger than 16 px) that's why it doesn't get displayed at all. So we need to tweak editor.css and replace CSS rule for .cke_button__emojione_icon with the following: .cke_button__emojione_icon {background: url(../../plugins/emojione/icons/emojione.png?t=dee79e2) no-repeat 0 0 !important; background-size: 100% !important;}
LDEV-4428 Revive "Preview" button In order to make Preview feature available in inline mode, Preview plugin needed to be tweaked. To achieve it the next command "a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&&(" was removed from the ckeditor.js; precisely from that line: CKEDITOR.plugins.add("preview",{init:function(a){a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&&(h=this.path,a.addCommand