Getting " ⏎ " this symbol as an output on controller when editor is blank #845
Answered
by
dungngminh
vishnureji
asked this question in
Mobile
-
when I was printing the controller's output, I was getting the" ⏎ " symbol when the editor was blank.
how to remove this.? I need to check whether the controller is blank or not. |
Beta Was this translation helpful? Give feedback.
Answered by
dungngminh
Jun 18, 2022
Replies: 1 comment
-
You can check the document is empty or not, using method if (_quillController.document.isEmpty()) {
// foo function bla..bla...
return;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
singerdmx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can check the document is empty or not, using method
isEmpty
ofDocument
.Example: