Mentions dont show up when I try to use quill.getText() #297
-
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Any chance this behavior can be added, soon? I'd help / do it myself, but I'm a complete quill-rookie. So no idea where to start. I guess it would be cool, if a transform-function could be passed (how to translate these mentions to pure text), by default null. So the current behavior won't change / it is not a breaking change. |
Beta Was this translation helpful? Give feedback.
-
I just checked the editors
But since it's quite easy, I've created my own
Even sexier, you can just override the prototype:
Hope this solution is useful for somebody out there. |
Beta Was this translation helpful? Give feedback.
I just checked the editors
getText()
method and it seams like that's something, mention can't control:But since it's quite easy, I've created my own
getText
-method, respecting mentions:Even sexier, you can just override the prototype: