summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--editors/tinymce.inc2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 1ce9f06..4fed47a 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -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.
diff --git a/editors/tinymce.inc b/editors/tinymce.inc
index df69f72..98eb085 100644
--- a/editors/tinymce.inc
+++ b/editors/tinymce.inc
@@ -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,