fix(editor): check for empty content
This commit is contained in:
3
src/helpers/editorContentEmpty.ts
Normal file
3
src/helpers/editorContentEmpty.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export function isEditorContentEmpty(content: string): boolean {
|
||||
return content === '' || content === '<p></p>'
|
||||
}
|
Reference in New Issue
Block a user