diff --git a/src/frontend/src/components/editors/NotesEditor.tsx b/src/frontend/src/components/editors/NotesEditor.tsx index 32e60f2994..c92a90fc3f 100644 --- a/src/frontend/src/components/editors/NotesEditor.tsx +++ b/src/frontend/src/components/editors/NotesEditor.tsx @@ -254,9 +254,10 @@ export default function NotesEditor({ selector: ({ editor: e }) => e?.isActive('table') ?? false }); - // Sync editor editable state when permissions change + // Sync editor editable state when permissions change. + // Pass false for emitUpdate to avoid triggering onUpdate (which sets isDirty). useEffect(() => { - editor?.setEditable(canEdit && isEditing); + editor?.setEditable(canEdit && isEditing, false); }, [editor, canEdit, isEditing]); const hasNotes = useMemo(() => {