Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

TinyMCE Edit Image onmouseover doesn't show up

Go to End

2 Posts   2154 Views


Community Member, 15 Posts

1 June 2011 at 8:55pm

Hi Guys,
There is a lot written about the tinymce and the 'extended_valid_elements'. But whatever I do, if I right click on an image in de editor and choose for 'edit image', there is no OnMouseover or OnMouseoutField. In my config.php I have this

HtmlEditorConfig::get('cms')->setOption('extended_valid_elements', 'img[class|src|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|usemap]');

So it should be enabled.

Anyone has a clue? Thanx in advance.


Community Member, 1 Post

23 July 2012 at 8:32pm


The 'extended_valid_elements' option only specifies what elements and attributes TinyMCE is allowed to include in the output HTML.

If you want to display the dialog box that allows you to specify the onmouseover and onmouseout fields, you need to enable the 'advimage' plugin by calling