Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slate-code and syntax highlighting #53

Open
tommhuth opened this issue Oct 7, 2019 · 0 comments
Open

slate-code and syntax highlighting #53

tommhuth opened this issue Oct 7, 2019 · 0 comments

Comments

@tommhuth
Copy link

tommhuth commented Oct 7, 2019

I'm following the example for slate-code but no highlighting occurs, and the following warnings are reported in the console:

As of [email protected], the `leaves` property of Text nodes has been removed. Instead, each text node contains a string of text and a unique set of marks and leaves are unnecessary.
As of [email protected] the `decoration.mark` property has been changed to `decoration.type` and `decoration.data` directly. 

Can't find anything in the docs restricting the plugin to a specific version of Slate, or am I missing something? I guess the API for Slate is still subject to sudden changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant