Fixed auto parsing of URLs within plain texts

This commit is contained in:
Carl Omondi 2022-06-20 15:20:35 -05:00
parent 2d0fd268b3
commit 7757fba782

View file

@ -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,