mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Editor unstyled mode updates
This commit is contained in:
parent
2040e2e09b
commit
5455aa896b
2 changed files with 21 additions and 35 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue