You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
slate-react 0.101.0 reverted #5542 but must have introduced yet another problem as we still face a problem with ReactEditor.focus, so might be a problem introduced by #5527
Steps
useEffect(()=>{editor.children=valueeditor.onChange()ReactEditor.focus(editor)// this line now causes the editor to blank out!! if removed, its working but editor doesnt get initial focus},[value,editor])...<Slateeditor={editor}initialValue={[]}>
Expectation ReactEditor.focus works as before, i.e. I can focus editor and it doesnt blank out
Environment
Slate-react 0.101.0 and onwards
The text was updated successfully, but these errors were encountered:
Description
slate-react 0.101.0 reverted #5542 but must have introduced yet another problem as we still face a problem with
ReactEditor.focus
, so might be a problem introduced by #5527Steps
Expectation
ReactEditor.focus
works as before, i.e. I can focus editor and it doesnt blank outEnvironment
The text was updated successfully, but these errors were encountered: