refac
This commit is contained in:
@@ -437,7 +437,6 @@
|
|||||||
if (!editor || !editor.view) return;
|
if (!editor || !editor.view) return;
|
||||||
text = text.replaceAll('\n\n', '\n');
|
text = text.replaceAll('\n\n', '\n');
|
||||||
|
|
||||||
);
|
|
||||||
if (text === '') {
|
if (text === '') {
|
||||||
editor.commands.clearContent();
|
editor.commands.clearContent();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user