We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72ebe18 commit 2d94352Copy full SHA for 2d94352
src/editor.js
@@ -1440,7 +1440,7 @@ export class OdooEditor extends EventTarget {
1440
_onPaste(ev) {
1441
ev.preventDefault();
1442
const pastedText = (ev.originalEvent || ev).clipboardData.getData('text/plain');
1443
- this._insertText(pastedText.replace(/\n+/g, '<br/>'));
+ this._insertText(pastedText);
1444
this.historyStep();
1445
}
1446
0 commit comments