From 51f8d4dfa0159e2009a8b200bd77cd65122040ec Mon Sep 17 00:00:00 2001
From: robertSt7
Date: Wed, 4 Dec 2024 11:40:43 +0100
Subject: [PATCH 1/2] Task: add quill
---
composer.json | 1 +
config/bundles.php | 4 ++--
templates/snippets/standard-teaser.html.twig | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/composer.json b/composer.json
index cacd4583..fb1d2d4f 100644
--- a/composer.json
+++ b/composer.json
@@ -28,6 +28,7 @@
"pimcore/ecommerce-framework-bundle": "*",
"pimcore/web-to-print-bundle": "*",
"pimcore/newsletter-bundle": "*",
+ "pimcore/quill-bundle": "*",
"symfony/runtime": "^6.2",
"symfony/intl": "^6.2",
"symfony/dotenv": "^6.2",
diff --git a/config/bundles.php b/config/bundles.php
index 244c326a..f5dc9a11 100644
--- a/config/bundles.php
+++ b/config/bundles.php
@@ -20,7 +20,7 @@
use Pimcore\Bundle\CustomReportsBundle\PimcoreCustomReportsBundle;
use Pimcore\Bundle\ApplicationLoggerBundle\PimcoreApplicationLoggerBundle;
use Pimcore\Bundle\PersonalizationBundle\PimcorePersonalizationBundle;
-use Pimcore\Bundle\TinymceBundle\PimcoreTinymceBundle;
+use Pimcore\Bundle\QuillBundle\PimcoreQuillBundle;
use Pimcore\Bundle\GenericExecutionEngineBundle\PimcoreGenericExecutionEngineBundle;
return [
@@ -40,7 +40,7 @@
PimcoreGoogleMarketingBundle::class => ['all' => true],
PimcoreApplicationLoggerBundle::class => ['all' => true],
PimcoreWebToPrintBundle::class => ['all' => true],
- PimcoreTinymceBundle::class => ['all' => true],
+ PimcoreQuillBundle::class => ['all' => true],
PimcoreStaticRoutesBundle::class => ['all' => true],
PimcoreNewsletterBundle::class => ['all' => true],
PimcoreWordExportBundle::class => ['all' => true],
diff --git a/templates/snippets/standard-teaser.html.twig b/templates/snippets/standard-teaser.html.twig
index 14b9c768..de3840d4 100644
--- a/templates/snippets/standard-teaser.html.twig
+++ b/templates/snippets/standard-teaser.html.twig
@@ -27,6 +27,7 @@
pimcore_wysiwyg('text' ~ suffix, {
height: 100,
enterMode: 2,
+ theme: "bubble"
})
}}
From 25f34f681a4094ce7490082a659d7dfdedb43e39 Mon Sep 17 00:00:00 2001
From: robertSt7 <104770750+robertSt7@users.noreply.github.com>
Date: Wed, 4 Dec 2024 12:08:02 +0100
Subject: [PATCH 2/2] Update templates/snippets/standard-teaser.html.twig
Co-authored-by: Sebastian Blank
---
templates/snippets/standard-teaser.html.twig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/snippets/standard-teaser.html.twig b/templates/snippets/standard-teaser.html.twig
index de3840d4..31e97a1e 100644
--- a/templates/snippets/standard-teaser.html.twig
+++ b/templates/snippets/standard-teaser.html.twig
@@ -24,7 +24,7 @@
{{ pimcore_input('title' ~ suffix) }}
{{
- pimcore_wysiwyg('text' ~ suffix, {
+ pimcore_wysiwyg('text' ~ suffix, {
height: 100,
enterMode: 2,
theme: "bubble"