sheadawson / silverstripe-shortcodable

Provides a GUI for CMS users to insert Shortcodes into the HTMLEditorField + an API for developers to define Shortcodable DataObjects and Views.
MIT License
48 stars 36 forks source link

Shortcode icon not showing in WYSIWYG editor #44

Open hdpero opened 8 years ago

hdpero commented 8 years ago

When entering a newly created page inside of TinyMce editor shortcode icon doesn't show up, like shown in image: shortcode-icon-not-showing

But you can still click on it and it will open up a Shortcodeable modal windows, and when you exit that window icon shows up. These happens in both Chrome & Firefox browsers. IE, Edge, Opera & Safari hasn't been tested.

When I inspected Request waterfall in Firebug, I saw that Shortcode icon image hasn't been called, like shown in image: shortcode-icon-net-inspect

, but when I clicked on place where Shortcode icon should be (as shown on first image) icon image has been loaded: shortcode-icon-net-inspect-icon-loaded

My guess is somewhere in runtime of TinyMce script Shortcodeable icon image has not been called during initial rendering, but after (sense it shows after clicking on place where is should be).

sheadawson commented 7 years ago

Strange, I don't get this issue. Does this happen for anyone else?