From b21133ee126715ad92c95ae1893d1e7d7a86614e Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 14 Nov 2024 17:46:27 +0200 Subject: [PATCH] make more components uneditable from GUI --- src/components/attachment/attachment.style.js | 1 + src/components/rich_content/rich_content.style.js | 1 + src/components/user_card/user_card.style.js | 1 + 3 files changed, 3 insertions(+) diff --git a/src/components/attachment/attachment.style.js b/src/components/attachment/attachment.style.js index 5fb4701c..fde8a50a 100644 --- a/src/components/attachment/attachment.style.js +++ b/src/components/attachment/attachment.style.js @@ -1,6 +1,7 @@ export default { name: 'Attachment', selector: '.Attachment', + notEditable: true, validInnerComponents: [ 'Border', 'ButtonUnstyled', diff --git a/src/components/rich_content/rich_content.style.js b/src/components/rich_content/rich_content.style.js index c8314000..d9cd17ae 100644 --- a/src/components/rich_content/rich_content.style.js +++ b/src/components/rich_content/rich_content.style.js @@ -1,6 +1,7 @@ export default { name: 'RichContent', selector: '.RichContent', + notEditable: true, validInnerComponents: [ 'Text', 'FunText', diff --git a/src/components/user_card/user_card.style.js b/src/components/user_card/user_card.style.js index dff0315b..3d5bb298 100644 --- a/src/components/user_card/user_card.style.js +++ b/src/components/user_card/user_card.style.js @@ -1,6 +1,7 @@ export default { name: 'UserCard', selector: '.user-card', + notEditable: true, validInnerComponents: [ 'Text', 'Link',