#348317 by sun: Fixed TinyMCE's extended_valid_elements for advlink plugin.
authorsun
Fri, 26 Dec 2008 02:39:39 +0000 (02:39 +0000)
committersun
Fri, 26 Dec 2008 02:39:39 +0000 (02:39 +0000)
CHANGELOG.txt
editors/tinymce.inc

index 1ce9f06..4fed47a 100644 (file)
@@ -6,6 +6,7 @@ Wysiwyg x.x-x.x, xxxx-xx-xx
 
 Wysiwyg 5.x-x.x, xxxx-xx-xx
 ---------------------------
+#348317 by sun: Fixed TinyMCE's extended_valid_elements for advlink plugin.
 #348986 by sun: Added CSS class for toggle link container.
 #283823 by sun: Fixed list of dependencies in README.txt.
 #342864 by davexoxide, sun: Added YUI editor support.
index df69f72..98eb085 100644 (file)
@@ -387,7 +387,7 @@ function wysiwyg_tinymce_plugins($editor) {
     'advlink' => array(
       'path' => $editor['library path'] .'/plugins/advlink',
       'extensions' => array('advlink' => t('Advanced link')),
-      'extended_valid_elements' => array('a[name|href|target|title|onclick]'),
+      'extended_valid_elements' => array('a[name|href|target|title|class|onfocus|onblur|onclick|ondlbclick|onmousedown|onmouseup|onmouseover|onmouseout|onkeypress|onkeydown|onkeyup|id|style|rel]'),
       'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink',
       'internal' => TRUE,
       'load' => TRUE,