How to access editor DOM in react ? #1151
-
I copied and refactor a little bit from the official site's playground. I found that the behaviour is somewhat not as users' expectation when I hit Is there any best practice for me to access the DOM or do something else to implement the behaviour I talked above? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I think if you just want to prevent some keymap of editor when focusing input widget, have you tried |
Beta Was this translation helpful? Give feedback.
Okay, I got it. Here's how you can get edtior's state and view: