Problem:
I add custom icon to bueditor, place icon on
sites\default\files\bueditor-icons

all running well, but if i replace the icon with the same name, the icon won't change on editing node.

Reproduce:
- Copy default editor
- Change editor path to %FILES/bueditor-icons
- copy all default icon there
- take a look at icon, eg: bold (bold.png)
- replace bold.png file with other picure
- Refresh and edit the button bold, the icon has a new look here
- Save configuration
- use editor, and here the new look bold button not replaced, still the old one

Comments

dooug’s picture

I had experienced the same issue.

I found a work-around solution by changing the name of bold.png (or in my case changed paragraph.png to paragraph1.png) and then re-select that icon on the settings for the bold button icon. This doesn't fix the bug but gets the correct icon to show up.

ufku’s picture

Status: Active » Fixed

Committed a patch that checks icon sizes besides the names to create the unique sprite name.
Note that sprites are created on editor save. You won't see the new sprite until you save your editor or if the new icon has the same name and size as the old one.

itz_andr3’s picture

I've checked the solution on local, and it's worked, my icon change on save configuration.

Please move to dev, i'm affraid i might forgot :)

Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.