Issue #1398560 by markwittens: Fixed TinyMCE removing the longdesc attribute.
authorHenrik Danielsson
Thu, 12 Jan 2012 23:56:45 +0000 (00:56 +0100)
committerHenrik Danielsson
Thu, 12 Jan 2012 23:56:45 +0000 (00:56 +0100)
CHANGELOG.txt
editors/tinymce.inc

index d8b929d..a938db2 100644 (file)
@@ -1,6 +1,7 @@
 
 Wysiwyg 7.x-2.x, xxxx-xx-xx
 ---------------------------
+#1398560 by markwittens: Fixed TinyMCE removing the longdesc attribute.
 #970452 by smk-ka, sun, TwoD, drzraf: Fixed outdated TinyMCE plugin info.
 #1155678 by james.elliott, Jody Lynn, sun: Add Drupal.detachBehaviors support.
 #624018 by smk-ka, quartsize, dagmar, nedjo, rickvug, catch, sun: Added Features support.
index bebc828..4033f8e 100644 (file)
@@ -409,7 +409,7 @@ function wysiwyg_tinymce_plugins($editor) {
     'advimage' => array(
       'path' => $editor['library path'] . '/plugins/advimage',
       'extensions' => array('advimage' => t('Advanced image')),
-      'extended_valid_elements' => array('img[src|alt|title|align|width|height|usemap|hspace|vspace|border|style|class|onmouseover|onmouseout|id|name]'),
+      'extended_valid_elements' => array('img[src|alt|title|align|width|height|usemap|hspace|vspace|border|style|class|onmouseover|onmouseout|id|name|longdesc]'),
       'url' => 'http://www.tinymce.com/wiki.php/Plugin:advimage',
       'internal' => TRUE,
       'load' => TRUE,