21489 Posts in 5783 Topics by 2622 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 926 Views |
-
TinyMCE Edit Image onmouseover doesn't show up

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 thisHtmlEditorConfig::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.
-
Re: TinyMCE Edit Image onmouseover doesn't show up

23 July 2012 at 8:32pm
Hi
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
HtmlEditorConfig::get('cms')->enablePlugins('advimage');
| 926 Views | ||
|
Page:
1
|
Go to Top |

