How can I customize the toPlainText() method? #1665
Closed
maelchiotti
started this conversation in
General
Replies: 1 comment
-
You can create your own toPlainText, get the delta, and convert it to text to fit your needs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am only using flutter-quill to allow the user to add checklists in the text field. I would like to customize the value of the
toPlainText()
method to insert a ✅ or a ⬜ in front of each lines if it is a checklist (and depending on its checked state).So, this:
Would return this:
Instead of just the current return value:
Beta Was this translation helpful? Give feedback.
All reactions