From 0955094f1548dfbc99e323680ca3891494acadb3 Mon Sep 17 00:00:00 2001 From: "antonio.fortunato" Date: Sat, 23 Nov 2024 19:34:39 +0100 Subject: [PATCH] Editor: - Quill upgrade to v2.0.2 - import offcial Quill style and apply only specific style overrides - Proper support to custom Toolbar through modules property - Add Custom Toolbar doc --- apps/showcase/doc/editor/BasicDoc.vue | 2 +- apps/showcase/doc/editor/CustomToolbarDoc.vue | 70 ++ apps/showcase/doc/editor/ReadOnlyDoc.vue | 2 +- apps/showcase/doc/editor/TemplateDoc.vue | 2 +- apps/showcase/package.json | 4 +- apps/showcase/pages/editor/index.vue | 6 + packages/primevue/src/editor/Editor.vue | 4 +- .../primevue/src/editor/style/EditorStyle.js | 938 +----------------- .../src/presets/material/editor/index.js | 2 +- pnpm-lock.yaml | 10 +- 10 files changed, 123 insertions(+), 917 deletions(-) create mode 100644 apps/showcase/doc/editor/CustomToolbarDoc.vue diff --git a/apps/showcase/doc/editor/BasicDoc.vue b/apps/showcase/doc/editor/BasicDoc.vue index 22377d35e2..55787aba79 100644 --- a/apps/showcase/doc/editor/BasicDoc.vue +++ b/apps/showcase/doc/editor/BasicDoc.vue @@ -5,7 +5,7 @@
- + diff --git a/apps/showcase/doc/editor/ReadOnlyDoc.vue b/apps/showcase/doc/editor/ReadOnlyDoc.vue index 641befeaca..ca7e57da95 100644 --- a/apps/showcase/doc/editor/ReadOnlyDoc.vue +++ b/apps/showcase/doc/editor/ReadOnlyDoc.vue @@ -5,7 +5,7 @@
- +