MDL-47002 atto: Improve paste behaviour to ensure propper cleanup
authorEric Merrill <merrill@oakland.edu>
Wed, 18 Mar 2015 04:08:34 +0000 (00:08 -0400)
committerEric Merrill <merrill@oakland.edu>
Wed, 18 Mar 2015 13:27:44 +0000 (09:27 -0400)
commita7fdadc94cfe97faf95ecbfb0be7a9651546bbe0
treea19815c886665973dac254acca1a9b8789c73f8e
parent06122e46fd16891787a08e9e3125465bea83eaf5
MDL-47002 atto: Improve paste behaviour to ensure propper cleanup

Old code failed to clean the editor div which resulted in
undesirable code being being left in the div for editing. To properly
handel incoming code, we should try to intercept and clean before the
paste, or clean the entire editable div.
lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-debug.js
lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-min.js
lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor.js
lib/editor/atto/yui/src/editor/js/clean.js
lib/editor/atto/yui/src/editor/js/editor.js