commit: b21133ee126715ad92c95ae1893d1e7d7a86614e
parent fc652523aa39fec0e3e00645d7eec83bfd36af17
Author: Henry Jameson <me@hjkos.com>
Date: Thu, 14 Nov 2024 17:46:27 +0200
make more components uneditable from GUI
Diffstat:
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git 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
@@ -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
@@ -1,6 +1,7 @@
export default {
name: 'UserCard',
selector: '.user-card',
+ notEditable: true,
validInnerComponents: [
'Text',
'Link',