Add RTE keyboard navigation in editing (#9980)

Add Keyboard navigation in editing
This commit is contained in:
Florian Duros
2023-02-01 13:12:12 +01:00
committed by GitHub
parent 8161da1054
commit afda774471
9 changed files with 585 additions and 48 deletions

View File

@@ -52,7 +52,7 @@ export default function EditWysiwygComposer({
className,
...props
}: EditWysiwygComposerProps): JSX.Element {
const defaultContextValue = useRef(getDefaultContextValue());
const defaultContextValue = useRef(getDefaultContextValue({ editorStateTransfer }));
const initialContent = useInitialContent(editorStateTransfer);
const isReady = !editorStateTransfer || initialContent !== undefined;