To use Retina there is nothing more than I have written. You use hidpi property and have correct folder structure with 2x icons. These icons will be loaded on display which supports Retina.
The Plugin SDK document told me to use the 'icons' dictionary item to plugins.add.
I have absolutely no idea what you are talking about (what is icon dictionary?). Perhaps if you would have shown it in code, it would be more understandable.
About icons. I'm not sure if this is what you had problem with but:
When using below, icon name has to be the same as button name and starting with lower case.
CKEDITOR.plugins.add( pluginName, {
icons: 'buttonName',
Another way to add icon to editor is (in this case name of the icon is what you imagine):
editor.ui.addButton && editor.ui.addButton( 'ButonName', {
icon: this.path + 'images/icon.png'
I have told you about some code example. I don't think however that it is necessarry because icons are not related to retina support in this case and I would like to keep this ticket clean.
- Formally document hidpi development - missing and we have this confirmed
- Support hidpi with addButton icon specification - it is not related. Correct icon gets loaded on proper display.
- Document addButton better
- Fix the Plugin SDK document to say how custom icons can be referenced (i.e. via addButton)
I believe it is documented properly. If not, please open new ticket for it.