summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsun2008-12-26 02:39:16 (GMT)
committer sun2008-12-26 02:39:16 (GMT)
commit8942000ad11ac21a072b0df3f8a7cd557ff1d277 (patch)
treedd1411bd1d05a82117bc68a3abbd68eb7f6fcab8
parent02732f80756b01764e173033478150f7ad06f451 (diff)
#348317 by sun: Fixed TinyMCE's extended_valid_elements for advlink plugin.
-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 b7e9288..f3651a2 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -6,6 +6,7 @@ Wysiwyg x.x-x.x, xxxx-xx-xx
Wysiwyg 6.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.
#342864 by davexoxide, sun: Added YUI editor support.
#343217 by sun: Fixed improperly capitalized library script name for nicEdit.
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,