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
We have added an extension to Vizy to allow for id attributes on HTML elements per the comment here: "The way around this - while a little more work - is to create an extension for Tiptap that adds this allowed attribute to the Paragraph node."
This works for us when saving content manually in Craft, but not when importing content with id attributes on HTML elements through Feed Me. I believe the Feed Me integration just doesn't know about that custom extension and so isn't preserving those id attributes. Is there a way to account for this in the plugin?
Steps to reproduce
Add a Vizy extension, specifically one that is extending tiptap in our case
Import content through Feed Me that depends on that extension
Craft CMS version
Craft Pro 4.8.0
Plugin version
2.1.15
Multi-site?
Yes
Additional context
No response
The text was updated successfully, but these errors were encountered:
Good point, we should probably be incorporating things into the Feed Me editor instance.
Just wanted to confirm how you're registering your extensions though. Unless you're using Nodes::EVENT_REGISTER_NODE to register a custom node, the extension will only be a JS-class, which is used by the editor. We would need to have the same extension behaviour created and applied in PHP which would introduce a new event to register extensions.
Got it, that makes sense. It is just a JS-class. I can resolve this for my situation outside of the Feed Me feed. It's a one-time feed and then content updates can resume in the entry itself where the Vizy/Tiptap extension works as expected. Thanks!
Describe the bug
We have added an extension to Vizy to allow for id attributes on HTML elements per the comment here: "The way around this - while a little more work - is to create an extension for Tiptap that adds this allowed attribute to the Paragraph node."
This works for us when saving content manually in Craft, but not when importing content with id attributes on HTML elements through Feed Me. I believe the Feed Me integration just doesn't know about that custom extension and so isn't preserving those id attributes. Is there a way to account for this in the plugin?
Steps to reproduce
Craft CMS version
Craft Pro 4.8.0
Plugin version
2.1.15
Multi-site?
Yes
Additional context
No response
The text was updated successfully, but these errors were encountered: