You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the great tutorial.
However, with newer versions of slate-react, pressing the toolbar buttons no longer seems to work:
The following error occurs:
Error: Invariant failed: As of Slate 0.42.0, value object are no longer schema-aware, and the value.change() method is no longer available. Use the editor.change() method on the new Editor controller instead.
The text was updated successfully, but these errors were encountered:
II managed to fix it locally with the following changes. However, the code that you checked in seems to run into other problems with newer versions as well, so I'll simply document my changes. Maybe it is helpful for someone ;-)
Thanks for the great tutorial.
However, with newer versions of slate-react, pressing the toolbar buttons no longer seems to work:
The following error occurs:
Error: Invariant failed: As of Slate 0.42.0, value object are no longer schema-aware, and the
value.change()
method is no longer available. Use theeditor.change()
method on the newEditor
controller instead.The text was updated successfully, but these errors were encountered: