From 20380cf2d1fb33fe91c199d1fb55f8b206a3c2fb Mon Sep 17 00:00:00 2001 From: sumaisa-mou Date: Mon, 12 Aug 2024 16:43:07 +0600 Subject: [PATCH] Editor enhancement --- includes/Core/Customizer/ContentTypes.php | 2 +- views/customizer.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/Core/Customizer/ContentTypes.php b/includes/Core/Customizer/ContentTypes.php index 6fad4dcc..7ffc2555 100644 --- a/includes/Core/Customizer/ContentTypes.php +++ b/includes/Core/Customizer/ContentTypes.php @@ -76,7 +76,7 @@ public static function text() { 'borderColor' => '#e5e5e5', 'marginBottom' => '0px', ], - 'twoColumns' => true, + 'twoColumns' => false, 'texts' => [ sprintf( '

%s

', __( 'This is a text block. You can use it to add text to your template.', 'wemail' ) ), sprintf( '

%s

', __( 'This is a text block 2. You can use it to add text to your template.', 'wemail' ) ), diff --git a/views/customizer.html b/views/customizer.html index 93874a8b..74a4a3b3 100644 --- a/views/customizer.html +++ b/views/customizer.html @@ -94,6 +94,7 @@ :data-section-index="sectionIndex" :data-content-index="contentIndex" class="content-wrapper" + @click="editContent(sectionIndex, contentIndex)" >