move withInlineVoid to core #495
Closed
lukesmurray
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The code in this file is useful even outside of using the plugins.
https://github.com/udecode/slate-plugins/blob/next/packages/slate-plugins/src/common/plugins/inline-void/withInlineVoid.ts
Without it the inlineTypes and voidTypes properties on the plugin interface don't do much.
Also would be helpful to add some sort of comment to inlineTypes and voidTypes to indicate that you need to use withInlineVoid in order to get them to work.
Beta Was this translation helpful? Give feedback.
All reactions