Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Commit 82d3a0e

Browse files
committed
Don't parse pasted content in textarea mode (fixes #180)
1 parent 78cbb84 commit 82d3a0e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/editor.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,6 @@
168168
that.parse(that.composer.element);
169169
}, keepScrollPosition);
170170
});
171-
172-
this.observe("paste:textarea", function() {
173-
var value = this.textarea.getValue(),
174-
newValue;
175-
newValue = this.parse(value);
176-
this.textarea.setValue(newValue);
177-
});
178171
}
179172
});
180173
})(wysihtml5);

0 commit comments

Comments
 (0)