Skip to content

How to best read editor value inside of a callback? #2990

Answered by zbeyens
maclockard asked this question in Q&A
Discussion options

You must be logged in to vote

editor.children refers to the same value:

const editor = useEditorRef()
const value = editor.children

Replies: 1 comment 2 replies

Comment options

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

@zbeyens
Comment options

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