MDL-46387 shifter: missing built changes
This commit is contained in:
+1
-1
@@ -55,9 +55,9 @@ Y.namespace('M.atto_superscript').Button = Y.Base.create('button', Y.M.editor_at
|
||||
initializer: function() {
|
||||
this.addButton({
|
||||
buttonName: 'superscript',
|
||||
inlineFormat: true,
|
||||
callback: this.toggleSuperscript,
|
||||
icon: 'e/superscript',
|
||||
inlineFormat: true,
|
||||
|
||||
// Watch the following tags and add/remove highlighting as appropriate:
|
||||
tags: 'sup'
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
YUI.add("moodle-atto_superscript-button",function(e,t){e.namespace("M.atto_superscript").Button=e.Base.create("button",e.M.editor_atto.EditorPlugin,[],{_subscriptApplier:null,_superscriptApplier:null,initializer:function(){this.addButton({buttonName:"superscript",inlineFormat:!0,callback:this.toggleSuperscript,icon:"e/superscript",tags:"sup"}),this._subscriptApplier=window.rangy.createCssClassApplier("editor-subscript"),this._superscriptApplier=window.rangy.createCssClassApplier("editor-superscript")},toggleSuperscript:function(){this.get("host").changeToCSS("sub","editor-subscript"),this.get("host").changeToCSS("sup","editor-superscript"),this._superscriptApplier.toggleSelection(),this._subscriptApplier.undoToSelection(),this.get("host").changeToTags("editor-superscript","sup"),this.get("host").changeToTags("editor-subscript","sub")}})},"@VERSION@",{requires:["moodle-editor_atto-plugin"]});
|
||||
YUI.add("moodle-atto_superscript-button",function(e,t){e.namespace("M.atto_superscript").Button=e.Base.create("button",e.M.editor_atto.EditorPlugin,[],{_subscriptApplier:null,_superscriptApplier:null,initializer:function(){this.addButton({buttonName:"superscript",callback:this.toggleSuperscript,icon:"e/superscript",inlineFormat:!0,tags:"sup"}),this._subscriptApplier=window.rangy.createCssClassApplier("editor-subscript"),this._superscriptApplier=window.rangy.createCssClassApplier("editor-superscript")},toggleSuperscript:function(){this.get("host").changeToCSS("sub","editor-subscript"),this.get("host").changeToCSS("sup","editor-superscript"),this._superscriptApplier.toggleSelection(),this._subscriptApplier.undoToSelection(),this.get("host").changeToTags("editor-superscript","sup"),this.get("host").changeToTags("editor-subscript","sub")}})},"@VERSION@",{requires:["moodle-editor_atto-plugin"]});
|
||||
|
||||
+1
-1
@@ -55,9 +55,9 @@ Y.namespace('M.atto_superscript').Button = Y.Base.create('button', Y.M.editor_at
|
||||
initializer: function() {
|
||||
this.addButton({
|
||||
buttonName: 'superscript',
|
||||
inlineFormat: true,
|
||||
callback: this.toggleSuperscript,
|
||||
icon: 'e/superscript',
|
||||
inlineFormat: true,
|
||||
|
||||
// Watch the following tags and add/remove highlighting as appropriate:
|
||||
tags: 'sup'
|
||||
|
||||
Reference in New Issue
Block a user