diff --git a/frontend/src/features/workspace/OutlinerBlock.tsx b/frontend/src/features/workspace/OutlinerBlock.tsx index 21e2f19..9a22cd0 100644 --- a/frontend/src/features/workspace/OutlinerBlock.tsx +++ b/frontend/src/features/workspace/OutlinerBlock.tsx @@ -645,7 +645,7 @@ export const OutlinerBlock: React.FC = ({ // Formatting shortcuts (Ctrl/Cmd+B, Ctrl/Cmd+I, Ctrl/Cmd+K) - not in code blocks const isMod = (e.ctrlKey || e.metaKey) && !e.altKey; - if (isMod && block.type !== 'code' && ['b', 'i', 'k'].includes(e.key.toLowerCase())) { + if (isMod && canEdit && block.type !== 'code' && ['b', 'i', 'k'].includes(e.key.toLowerCase())) { e.preventDefault(); e.stopPropagation();