Opened 8 years ago
Closed 8 years ago
#16395 closed Bug (invalid)
minified build missing widgetcommon/icons folder thus showing blank toolbar buttons
Reported by: | andy stevko | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Steps to reproduce
- download both full and minified builds for this configuration
http://ckeditor.com/builder/0439a96a750795048b8796566a7b1932
- display app with editor & toolbar using full build.
- display app with editor & toolbar using minified build.
- compare toolbar icons displayed
Expected result
Identical toolbar buttons & icon displayed
Actual result
Full build showed entire toolbar. Minified build showed same buttons but with two missing icons. dev tools identified 404 responses from .../ckeditor-min/plugins/widgetcommon/icons/widgetcommonBox.png .../ckeditor-min/plugins/widgetcommon/icons/widgetcommonQuotebox.png
Identified folder from full download as missing from minified download .../ckeditor-min/plugins/widgetcommon/icons
Other details (browser, OS, CKEditor version, installed plugins)
latest version of ckeditor downloaded 10/20/2016 inline editor recent chrome and firefox browsers
Attachments (1)
Change History (2)
Changed 8 years ago by
Attachment: | ckeditor-missing-icons.png added |
---|
comment:1 Changed 8 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
There is a problem with this custom plugin.
If you use icons property, the icon name should be same as plugin name. If icon names are different, you should use addButton
method:
editor.ui.addButton && editor.ui.addButton( 'ButtonName', { label: 'Button Label', command: commandName, toolbar: 'insert,10' icon: this.path + 'icons/widgetcommonQuotebox.png' } ); It can also be used with widgets - please see image2 for example: https://github.com/ckeditor/ckeditor-dev/blob/master/plugins/image2/plugin.js#L92-L96
screen shot of minified toolbar with missing icons