Skip to content

Commit

Permalink
Fix icon loading after ckeditor.com builder optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
indvd00m committed Dec 17, 2016
1 parent 3a74a50 commit 00f00c6
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
8 changes: 4 additions & 4 deletions plugin.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CKEDITOR.plugins.add('crossreference', {
lang : [ 'en', 'ru' ],
requires : 'dialog,notification',
icons : 'crossreference,anchor,link,update',
icons : 'crossreference,crossreference-anchor,crossreference-link,crossreference-update',
hidpi : true,
init : function(editor) {

Expand Down Expand Up @@ -233,19 +233,19 @@ CKEDITOR.plugins.add('crossreference', {
editor.addMenuItem(updateMenuItemName, {
label : editor.lang.crossreference.updateCrossReferences,
command : updateCmdName,
icon: this.path + 'icons/update.png',
icon: 'crossreference-update',
group : 'crossreferenceGroup'
});
editor.addMenuItem(setAnchorMenuItemName, {
label : editor.lang.crossreference.setCrossReferenceAnchor,
command : anchorDialogCmdName,
icon: this.path + 'icons/anchor.png',
icon: 'crossreference-anchor',
group : 'crossreferenceGroup'
});
editor.addMenuItem(setLinkMenuItemName, {
label : editor.lang.crossreference.setCrossReferenceLink,
command : linkDialogCmdName,
icon: this.path + 'icons/link.png',
icon: 'crossreference-link',
group : 'crossreferenceGroup'
});
}
Expand Down

0 comments on commit 00f00c6

Please sign in to comment.