Merge branch 'MDL-49693-28' of git://github.com/merrill-oakland/moodle into MOODLE_28_STABLE
Conflicts: lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-min.js
This commit is contained in:
+4
-5
@@ -674,16 +674,15 @@ EditorTextArea.prototype = {
|
||||
// Clear it first.
|
||||
this.editor.setHTML('');
|
||||
|
||||
// Copy text to editable div.
|
||||
this.editor.append(this.textarea.get('value'));
|
||||
|
||||
// Clean it.
|
||||
this.cleanEditorHTML();
|
||||
// Copy cleaned HTML to editable div.
|
||||
this.editor.append(this._cleanHTML(this.textarea.get('value')));
|
||||
|
||||
// Insert a paragraph in the empty contenteditable div.
|
||||
if (this.editor.getHTML() === '') {
|
||||
this.editor.setHTML(this._getEmptyContent());
|
||||
}
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+4
-5
@@ -669,16 +669,15 @@ EditorTextArea.prototype = {
|
||||
// Clear it first.
|
||||
this.editor.setHTML('');
|
||||
|
||||
// Copy text to editable div.
|
||||
this.editor.append(this.textarea.get('value'));
|
||||
|
||||
// Clean it.
|
||||
this.cleanEditorHTML();
|
||||
// Copy cleaned HTML to editable div.
|
||||
this.editor.append(this._cleanHTML(this.textarea.get('value')));
|
||||
|
||||
// Insert a paragraph in the empty contenteditable div.
|
||||
if (this.editor.getHTML() === '') {
|
||||
this.editor.setHTML(this._getEmptyContent());
|
||||
}
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
+4
-5
@@ -64,16 +64,15 @@ EditorTextArea.prototype = {
|
||||
// Clear it first.
|
||||
this.editor.setHTML('');
|
||||
|
||||
// Copy text to editable div.
|
||||
this.editor.append(this.textarea.get('value'));
|
||||
|
||||
// Clean it.
|
||||
this.cleanEditorHTML();
|
||||
// Copy cleaned HTML to editable div.
|
||||
this.editor.append(this._cleanHTML(this.textarea.get('value')));
|
||||
|
||||
// Insert a paragraph in the empty contenteditable div.
|
||||
if (this.editor.getHTML() === '') {
|
||||
this.editor.setHTML(this._getEmptyContent());
|
||||
}
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user