From 3c55de3fe7d71ca0cbc330cf125769f622809ec7 Mon Sep 17 00:00:00 2001 From: Emmy Leke Date: Wed, 26 Jun 2024 14:34:37 +0100 Subject: [PATCH] Add record block layout options (wrap, no wrap) --- .../components/ModuleFields/Editor/String.vue | 3 +- .../components/ModuleFields/Editor/Url.vue | 3 +- .../src/components/PageBlocks/RecordBase.vue | 57 ++++++++++++++++- .../PageBlocks/RecordConfigurator.vue | 33 ++++++++++ .../components/PageBlocks/RecordEditor.vue | 57 ++++++++++++++++- client/web/compose/src/mixins/recordLayout.js | 63 +++++++++++++++++++ lib/js/src/compose/types/page-block/record.ts | 4 +- locale/en/corteza-webapp-compose/block.yaml | 5 ++ 8 files changed, 217 insertions(+), 8 deletions(-) create mode 100644 client/web/compose/src/mixins/recordLayout.js diff --git a/client/web/compose/src/components/ModuleFields/Editor/String.vue b/client/web/compose/src/components/ModuleFields/Editor/String.vue index 70ed5f17a0..16279cf6d1 100644 --- a/client/web/compose/src/components/ModuleFields/Editor/String.vue +++ b/client/web/compose/src/components/ModuleFields/Editor/String.vue @@ -17,7 +17,7 @@ > {{ label }} @@ -26,6 +26,7 @@ +
+