MDL-23646: Tinymce wrap plugin fixes.

Added info to upgrade.txt
Removed wrap plugins from the tinymce plugin list.
Fix trailing comma in wrap plugin javascript.
Removed non functioning "!" handling.
Fixed icons for wrap plugin.
This commit is contained in:
Damyon Wiese 2013-07-09 13:02:04 +08:00
parent 46a24596b8
commit b9bca41b53
5 changed files with 5 additions and 3 deletions

View File

@ -158,7 +158,7 @@ class tinymce_texteditor extends texteditor {
'plugins' => 'lists,table,style,layer,advhr,advlink,emotions,inlinepopups,' .
'searchreplace,paste,directionality,fullscreen,nonbreaking,contextmenu,' .
'insertdatetime,save,iespell,preview,print,noneditable,visualchars,' .
'xhtmlxtras,template,pagebreak,wrap',
'xhtmlxtras,template,pagebreak',
'gecko_spellcheck' => true,
'theme_advanced_font_sizes' => "1,2,3,4,5,6,7",
'theme_advanced_layout_manager' => "SimpleLayout",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 B

View File

@ -46,7 +46,7 @@
return '</td>' +
'<td style="position: relative" class="' + this.groupEndClass + '">' + separator + '</td>' +
'<td style="position: relative" class="' + this.groupStartClass + ' ' + this.wrapClass + '">' + separator + '</td>';
},
}
});
@ -60,7 +60,7 @@
* @return mixed - false or the new control
*/
createControl : function(name, cc) {
if (name === "wrap" || name === "!") {
if (name === "wrap") {
return new tinymce.ui.Wrap();
}
return false;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 B

View File

@ -5,6 +5,8 @@ information provided here is intended especially for developers.
=== 2.6 ===
* added a new plugin to toggle the 2nd and 3rd toolbars
* added a new plugin to wrap the toolbars on small screens.
This plugin will be automatically added to existing toolbars by replacing the middle occurrence of | with "wrap".
=== 2.5 ===