-
Notifications
You must be signed in to change notification settings - Fork 2
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
Adding to custom nodes #16
Comments
Chiming in here to answer my own question (@amirhhashemi it may still be worth it to add to the documentation): The plugin works fine in the sense that it adds the However, the actual custom component implementation must utilize this (duh, in retrospect 🤦♀️): So in my AlertComponent, I added
|
Hey @amirhhashemi thanks so much for making this.
For some reason, this isn't working on my custom components. For instance, I have this
Alert
node:My actual alert component uses
<NodeViewContent />
for the rendering.I also made sure to include
alert
it when initializing the plugin:Despite this, the text direction does not apply. I'm sure I'm missing something in the implementation.
Could you please shed a bit of light on how to implement the plugin in custom components?
Thanks!
Yuval
The text was updated successfully, but these errors were encountered: