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

Dynamic attributes addition at run time to the editor #1814

Closed
mahendrushivam opened this issue Aug 29, 2021 · 2 comments
Closed

Dynamic attributes addition at run time to the editor #1814

mahendrushivam opened this issue Aug 29, 2021 · 2 comments
Labels
Type: Feature The issue or pullrequest is a new feature

Comments

@mahendrushivam
Copy link

I am trying to build a query builder using tiptap as vase wrapper over prossmirror , wanted to know if u can share some example wrt the adding dynamic span entries to the editor when a user selects something from the popper menu , and a way of using ur wrapper around this to create dynamic html attributes entries.

@mahendrushivam mahendrushivam added Type: Feature The issue or pullrequest is a new feature v2 labels Aug 29, 2021
@hanspagel
Copy link
Contributor

Would you mind to elaborate what you try to achieve? I don’t really understand what you need.

Registering new attributes is changing the schema and is basically the same request as #1044.

But maybe reading this is all you need: https://www.tiptap.dev/guide/custom-extensions#attributes

@hanspagel hanspagel removed the v2 label Sep 28, 2021
@philippkuehn
Copy link
Contributor

Out of scope for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature The issue or pullrequest is a new feature
Projects
None yet
Development

No branches or pull requests

3 participants