Skip to content
Snippets Groups Projects
Commit 1ddd7e39 authored by robban64's avatar robban64
Browse files

fix: tinymce toolbar style

parent c1f8ca30
No related branches found
No related tags found
No related merge requests found
Pipeline #45275 passed with warnings
...@@ -59,6 +59,7 @@ const TextComponentEdit = ({ component }: ImageComponentProps) => { ...@@ -59,6 +59,7 @@ const TextComponentEdit = ({ component }: ImageComponentProps) => {
verify_html: false, verify_html: false,
branding: false, branding: false,
entity_encoding: 'raw', entity_encoding: 'raw',
toolbar_mode: 'sliding',
icons: 'material', icons: 'material',
font_formats: font_formats:
'Arial=arial,helvetica,sans-serif;Calibri=calibri;\ 'Arial=arial,helvetica,sans-serif;Calibri=calibri;\
...@@ -70,9 +71,10 @@ const TextComponentEdit = ({ component }: ImageComponentProps) => { ...@@ -70,9 +71,10 @@ const TextComponentEdit = ({ component }: ImageComponentProps) => {
content_style: 'body {font-size: 24pt; font-family: Calibri;}', content_style: 'body {font-size: 24pt; font-family: Calibri;}',
plugins: ['advlist autolink lists link charmap anchor visualblocks code paste help wordcount'], plugins: ['advlist autolink lists link charmap anchor visualblocks code paste help wordcount'],
toolbar: toolbar:
'fontsizeselect | bold italic backcolor | help | \ 'fontsizeselect | bold italic underline backcolor | \
fontselect | formatselect | undo redo | \ fontselect | formatselect | \
alignleft aligncenter alignright alignjustify bullist numlist outdent indent | removeformat | code', alignleft aligncenter alignright alignjustify bullist numlist outdent indent |\
undo redo | code removeformat | help',
}} }}
onEditorChange={(a, e) => handleSaveText(a)} onEditorChange={(a, e) => handleSaveText(a)}
/> />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment