1
0

fix(editor): check for empty content

This commit is contained in:
kolaente
2023-11-03 12:22:38 +01:00
parent e02a106c64
commit ba766a29af
3 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,3 @@
export function isEditorContentEmpty(content: string): boolean {
return content === '' || content === '<p></p>'
}