Editor unstyled mode updates

This commit is contained in:
Tuğçe Küçükoğlu 2023-08-04 13:02:52 +03:00
parent 2040e2e09b
commit 5455aa896b
2 changed files with 21 additions and 35 deletions

View file

@ -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',