I need to do something when text, wrapped with my own blot, changed.
From parchment documentation i got that method update
will called when blot changes.
I try to use it in code, but this method does't called when text, wrapped with my blot, changes.
May be I use this method incorrect? Or I should use another method?
You should use text-change event: