Commit 94b665fa authored by sun's avatar sun

#321086 by sun: Fixed (old-style) Teaser break plugin breaks TinyMCE 3.

parent 325352d7
......@@ -6,6 +6,11 @@ Wysiwyg x.x-x.x, xxxx-xx-xx
Wysiwyg 6.x-x.x, xxxx-xx-xx
---------------------------
Wysiwyg 6.x-0.4, 2008-10-14
---------------------------
#321086 by sun: Fixed (old-style) Teaser break plugin breaks TinyMCE 3.
#316507 by sun: Code clean-up; editor settings should be cloned for init, too.
#282717 by sun: Fixed FCKeditor default settings while FCKeditor maintainers get
up and running.
......
......@@ -8,13 +8,16 @@
function wysiwyg_editor_wysiwyg_plugin($editor, $version) {
switch ($editor) {
case 'tinymce':
return array(
'wysiwyg' => array(
'path' => drupal_get_path('module', 'wysiwyg_editor') .'/plugins/break',
'buttons' => array('break' => t('Teaser break')),
'url' => 'http://drupal.org/project/wysiwyg',
),
);
if ($version < 3) {
return array(
'wysiwyg' => array(
'path' => drupal_get_path('module', 'wysiwyg_editor') .'/plugins/break/editor_plugin.js',
'buttons' => array('break' => t('Teaser break')),
'url' => 'http://drupal.org/project/wysiwyg',
),
);
}
break;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment