diff --git a/packages/client/components/RetroReflectPhase/PhaseItemEditor.tsx b/packages/client/components/RetroReflectPhase/PhaseItemEditor.tsx index 62e41f4a96f..32d3f122856 100644 --- a/packages/client/components/RetroReflectPhase/PhaseItemEditor.tsx +++ b/packages/client/components/RetroReflectPhase/PhaseItemEditor.tsx @@ -123,6 +123,7 @@ const PhaseItemEditor = (props: Props) => { JSON.stringify({type: 'doc', content: [{type: 'paragraph'}]}), { atmosphere, + placeholder: 'My reflection… (press enter to add)', teamId, readOnly: !!readOnly, onEnter: handleSubmit @@ -187,7 +188,7 @@ const PhaseItemEditor = (props: Props) => { if (!editor) return null return ( <> - + { {cardsInFlightRef.current.map((card) => { return ( -
-
+
+
{disableAnonymity && ( diff --git a/packages/client/hooks/useTipTapReflectionEditor.ts b/packages/client/hooks/useTipTapReflectionEditor.ts index c49cb9a9f6c..cdad9e9ba5c 100644 --- a/packages/client/hooks/useTipTapReflectionEditor.ts +++ b/packages/client/hooks/useTipTapReflectionEditor.ts @@ -32,8 +32,8 @@ export const useTipTapReflectionEditor = ( ) => { const {atmosphere, teamId, readOnly, placeholder, onEnter} = options const [linkState, setLinkState] = useState(null) - const placeholderRef = useRef(placeholder) const [contentJSON] = useState(() => JSON.parse(content)) + const placeholderRef = useRef(placeholder) placeholderRef.current = placeholder const editor = useEditor( {