Merge branch 'MDL-82860-main' of https://github.com/meirzamoodle/moodle
This commit is contained in:
Vendored
+4
@@ -220,6 +220,10 @@ Y.namespace('M.atto_link').Button = Y.Base.create('button', Y.M.editor_atto.Edit
|
||||
this._hasTextToDisplay = true;
|
||||
this._hasPlainTextSelected = true;
|
||||
this._content.one(SELECTORS.URLTEXT).set('value', textToDisplay);
|
||||
} else {
|
||||
// Set as default.
|
||||
this._hasTextToDisplay = false;
|
||||
this._hasPlainTextSelected = false;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+4
@@ -220,6 +220,10 @@ Y.namespace('M.atto_link').Button = Y.Base.create('button', Y.M.editor_atto.Edit
|
||||
this._hasTextToDisplay = true;
|
||||
this._hasPlainTextSelected = true;
|
||||
this._content.one(SELECTORS.URLTEXT).set('value', textToDisplay);
|
||||
} else {
|
||||
// Set as default.
|
||||
this._hasTextToDisplay = false;
|
||||
this._hasPlainTextSelected = false;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -218,6 +218,10 @@ Y.namespace('M.atto_link').Button = Y.Base.create('button', Y.M.editor_atto.Edit
|
||||
this._hasTextToDisplay = true;
|
||||
this._hasPlainTextSelected = true;
|
||||
this._content.one(SELECTORS.URLTEXT).set('value', textToDisplay);
|
||||
} else {
|
||||
// Set as default.
|
||||
this._hasTextToDisplay = false;
|
||||
this._hasPlainTextSelected = false;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user