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

how to add attribute like author info to all dom input? #2204

Closed
hakonleung opened this issue Jul 26, 2018 · 2 comments
Closed

how to add attribute like author info to all dom input? #2204

hakonleung opened this issue Jul 26, 2018 · 2 comments

Comments

@hakonleung
Copy link

I have wrote a cooperation editor based on quilljs.
Now I need to add author attribute when I type in editor div, how can i achieve it?
I type a 'a', text-change event`s argument delta like:
{
insert: 'a',
attribute:{
author: someVariable
}
}

@benbro
Copy link
Contributor

benbro commented Jul 26, 2018

Starting point:
#1049

@benbro benbro closed this as completed Aug 1, 2018
@hakonleung
Copy link
Author

thx @benbro, i have made it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants