Please sign in to comment.
MDL-55012 Atto: no style attrs on paste
Specifically on paste - we don't need all the random style attributes from content on the clipboard. When you copy from a webpage - the browser inlines all the styles from the page so that the pasted content will look like the place it was copied from. But this is never what you want - you want the content on paste, but with no special styling.
- Loading branch information...
Showing with 92 additions and 26 deletions.
- +30 −8 lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-debug.js
- +2 −2 lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-min.js
- +30 −8 lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor.js
- +30 −8 lib/editor/atto/yui/src/editor/js/clean.js
Oops, something went wrong.