From b3e3cc55b646fced95ad295673116c25a6e093a8 Mon Sep 17 00:00:00 2001 From: 1ilit <1ilit@proton.me> Date: Sun, 24 Aug 2025 21:28:04 +0400 Subject: [PATCH] disable remaining fields in readonlt --- src/components/EditorHeader/ControlPanel.jsx | 9 ++++++--- .../RelationshipsTab/RelationshipInfo.jsx | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/EditorHeader/ControlPanel.jsx b/src/components/EditorHeader/ControlPanel.jsx index 81a685b..27f7d1e 100644 --- a/src/components/EditorHeader/ControlPanel.jsx +++ b/src/components/EditorHeader/ControlPanel.jsx @@ -1436,6 +1436,7 @@ export default function ControlPanel({ }, table_width: { function: () => setModal(MODAL.TABLE_WIDTH), + disabled: layout.readOnly, }, language: { function: () => setModal(MODAL.LANGUAGE), @@ -1639,7 +1640,7 @@ export default function ControlPanel({