-
How to get the content from code block element? |
Beta Was this translation helpful? Give feedback.
Answered by
12joan
Nov 10, 2023
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wenyongqd
-
Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
codeBlock.children.map(getNodeString).join('\n')
should work.