Closed olhapi closed 2 years ago
Description
In the docs I can find some usePlateEventId method. But how can I use it and where from it should be imported?
I'm trying to replicate this solution and can't get current focused editor: https://github.com/udecode/plate/discussions/945#discussioncomment-1202008
Tried to search the codebase, but found nothing useful, except docs.
Steps
Sandbox
https://codesandbox.io/s/plate-playground-v1-2mh1c
Expectation
Environment
You can use useEventEditorSelectors.focus()
useEventEditorSelectors.focus()
@zbeyens thanks, that helped a lot! Have a nice day 😊
Description
In the docs I can find some usePlateEventId method. But how can I use it and where from it should be imported?
I'm trying to replicate this solution and can't get current focused editor: https://github.com/udecode/plate/discussions/945#discussioncomment-1202008
Tried to search the codebase, but found nothing useful, except docs.
Steps
Sandbox
https://codesandbox.io/s/plate-playground-v1-2mh1c
Expectation
Environment
Funding