However, if the html property is not empty (i.e an edit form), when enter is pressed, the caret returns to the beginning of the text and stays there (causing the editor to write backwards as a side effect).
I am not sure why this part is needed as the editor seems to be working fine otherwise
The didUpdateAttrs method does this:
However, if the html property is not empty (i.e an edit form), when enter is pressed, the caret returns to the beginning of the text and stays there (causing the editor to write backwards as a side effect).
I am not sure why this part is needed as the editor seems to be working fine otherwise