Skip to content

plugin-component and node attributes #168

Description

@bitboxer

I am trying to add a custom element to our carta setup. I have a plugin that adds a prefix to a line and a transformer that transforms that item to a special kind of list that looks like this:

<li data-item-id="12345">List Item</li>

And I now want to add a custom renderer using the plugin-component thing. But sadly it looks like it wraps the li into a div and I have no way to access the data attribute in the custom component. Or am I mistaken?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions