Skip to content

renderHtml with nested tags and each tag with class/style #1896

Discussion options

You must be logged in to vote

of course you can

renderHTML() {
  return [
    'div',
    { class: 'my-class-1' },
    [
      'div',
      { class: 'my-class-2' },
      0,
    ],
  ]
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kevinmelo
Comment options

@kevinmelo
Comment options

Answer selected by kevinmelo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants