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 get node-view-content inner content #1637

Closed
adou2236 opened this issue Jul 26, 2021 · 1 comment
Closed

how to get node-view-content inner content #1637

adou2236 opened this issue Jul 26, 2021 · 1 comment
Labels
Type: Bug The issue or pullrequest is related to a bug

Comments

@adou2236
Copy link

adou2236 commented Jul 26, 2021

when i use editor.getHtml() , my custom-node is return a <custom-node></custom-node>,how can i get it's inner doms

@adou2236 adou2236 added Type: Bug The issue or pullrequest is related to a bug v2 labels Jul 26, 2021
@philippkuehn
Copy link
Contributor

Yeah, that is expected. You can use editor.view.dom.innerHTML instead.

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

No branches or pull requests

2 participants