Skip to content

How to get HTML of the editor with Grapes JS attributes #3467

Answered by artf
Agobin asked this question in Q&A
Discussion options

You must be logged in to vote

component.toHTML allows you to pass attributes option as a function in order to add dynamically custom attributes (in this way you're able to attach model properties).

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@assadnazar
Comment options

@artf
Comment options

artf May 22, 2021
Maintainer

@assadnazar
Comment options

@artf
Comment options

artf May 22, 2021
Maintainer

@Agobin
Comment options

Answer selected by Agobin
Comment options

You must be logged in to vote
1 reply
@artf
Comment options

artf May 22, 2021
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants