Skip to content

Commit

Permalink
Not all paste options need backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
nmielnik committed Apr 7, 2015
1 parent 5c9c318 commit a25d6a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 2 additions & 4 deletions dist/js/medium-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -3248,10 +3248,8 @@ function MediumEditor(elements, options) {
this.options.paste,
// Backwards compatability
{
forcePlainText: this.options.forcePlainText,
cleanPastedHtml: this.options.cleanPastedHtml,
cleanAttrs: this.options.cleanAttrs,
cleanTags: this.options.cleanTags,
forcePlainText: this.options.forcePlainText, // deprecated
cleanPastedHtml: this.options.cleanPastedHtml, // deprecated
disableReturn: this.options.disableReturn,
targetBlank: this.options.targetBlank,
contentWindow: this.options.contentWindow,
Expand Down

0 comments on commit a25d6a3

Please sign in to comment.