mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 20:26:32 +01:00
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:
parent
46a24596b8
commit
b9bca41b53
@ -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 |
@ -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 |
@ -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 ===
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user