Skip to content

Commit

Permalink
Keep styling when pasting from Word by default
Browse files Browse the repository at this point in the history
Fixes #63
  • Loading branch information
jbalsas committed Nov 13, 2014
1 parent d92c8a4 commit ae13208
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ui/yui/src/adapter/yui.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ YUI.add('alloy-editor', function(Y) {
editor.config.extraPlugins = this.get('extraPlugins');
editor.config.placeholderClass = this.get('placeholderClass');

editor.config.pasteFromWordRemoveStyles = false;
editor.config.pasteFromWordRemoveFontStyles = false;

Y.mix(editor.config, config);

this._editor = editor;
Expand Down

0 comments on commit ae13208

Please sign in to comment.