mirror of
https://github.com/codex-team/editor.js
synced 2024-06-10 18:03:25 +02:00
Fixed auto parsing of URLs within plain texts
This commit is contained in:
parent
2d0fd268b3
commit
7757fba782
|
@ -239,7 +239,6 @@ export default class Paste extends Module {
|
|||
if (!dataToInsert[0].isBlock) {
|
||||
this.processInlinePaste(dataToInsert.pop());
|
||||
} else {
|
||||
console.log(`single block`);
|
||||
this.processSingleBlock(dataToInsert.pop());
|
||||
}
|
||||
|
||||
|
@ -599,7 +598,6 @@ export default class Paste extends Module {
|
|||
const content = $.make('div');
|
||||
|
||||
content.textContent = text;
|
||||
console.log(content);
|
||||
|
||||
const event = this.composePasteEvent('tag', {
|
||||
data: content,
|
||||
|
|
Loading…
Reference in a new issue