diff --git a/packages/prosess-vedtak/src/components/FritekstRedigering/FritekstEditor.tsx b/packages/prosess-vedtak/src/components/FritekstRedigering/FritekstEditor.tsx index b6937140b8..7b92273bd2 100644 --- a/packages/prosess-vedtak/src/components/FritekstRedigering/FritekstEditor.tsx +++ b/packages/prosess-vedtak/src/components/FritekstRedigering/FritekstEditor.tsx @@ -87,7 +87,7 @@ const FritekstEditor = ({ }; useEffect(() => { - if (redigerbartInnholdKlart && !editor.harEditor() && !readOnly) { + if (redigerbartInnholdKlart && !readOnly) { lastEditor(); } }, [redigerbartInnholdKlart, readOnly]); diff --git a/packages/prosess-vedtak/src/components/FritekstRedigering/FritekstRedigering.tsx b/packages/prosess-vedtak/src/components/FritekstRedigering/FritekstRedigering.tsx index 5fdf8c9e61..4752a70d8d 100644 --- a/packages/prosess-vedtak/src/components/FritekstRedigering/FritekstRedigering.tsx +++ b/packages/prosess-vedtak/src/components/FritekstRedigering/FritekstRedigering.tsx @@ -188,22 +188,24 @@ const FritekstRedigering = ({
- + {visRedigering && ( + + )}