From 5455aa896b9289d96d4d20a36964a3b068752680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 4 Aug 2023 13:02:52 +0300 Subject: [PATCH] Editor unstyled mode updates --- components/lib/editor/BaseEditor.vue | 16 +---------- components/lib/editor/Editor.vue | 40 ++++++++++++++-------------- 2 files changed, 21 insertions(+), 35 deletions(-) diff --git a/components/lib/editor/BaseEditor.vue b/components/lib/editor/BaseEditor.vue index 10991f8e3..698202e39 100644 --- a/components/lib/editor/BaseEditor.vue +++ b/components/lib/editor/BaseEditor.vue @@ -953,24 +953,10 @@ const styles = ` const classes = { root: 'p-editor-container', toolbar: 'p-editor-toolbar', - formats: 'ql-formats', - header: 'ql-header', - font: 'ql-font', - bold: 'ql-bold', - italic: 'ql-italic', - underline: 'ql-underline', - color: 'ql-color', - background: 'ql-background', - list: 'ql-list', - select: 'ql-align', - link: 'ql-link', - image: 'ql-image', - codeBlock: 'ql-code-block', - clean: 'ql-clean', content: 'p-editor-content' }; -const { load: loadStyle } = useStyle(styles, { name: 'editor', manual: true }); +const { load: loadStyle } = useStyle(styles, { name: 'editor' }); export default { name: 'BaseEditor', diff --git a/components/lib/editor/Editor.vue b/components/lib/editor/Editor.vue index fba45e3a1..39dbcc749 100755 --- a/components/lib/editor/Editor.vue +++ b/components/lib/editor/Editor.vue @@ -2,44 +2,44 @@
- - - - - - - + + + + - - - + + + - - - - - - - - + + + + - - + +