diff --git a/src/components/tinymce/config.js b/src/components/tinymce/config.js index c9ae848..71130c8 100644 --- a/src/components/tinymce/config.js +++ b/src/components/tinymce/config.js @@ -1,8 +1,8 @@ /* eslint-disable max-len */ export const plugins = [ - 'advlist anchor autolink autosave code codesample directionality emoticons fullscreen hr image imagetools insertdatetime link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace spellchecker tabfocus table template textpattern visualblocks visualchars wordcount' + 'autoresize advlist anchor autolink autosave code codesample directionality emoticons fullscreen hr image imagetools insertdatetime link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace spellchecker tabfocus table template textpattern visualblocks visualchars wordcount' ] export const toolbar = [ - 'code searchreplace bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote removeformat subscript superscript codesample hr bullist numlist link image charmap preview anchor pagebreak insertdatetime media table emoticons forecolor backcolor fullscreen' + ' bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote removeformat subscript superscript hr bullist numlist link image charmap preview pagebreak insertdatetime media table emoticons forecolor backcolor fullscreen fontsizeselect' ] diff --git a/src/components/tinymce/index.vue b/src/components/tinymce/index.vue index 6cc3fa5..e97b220 100644 --- a/src/components/tinymce/index.vue +++ b/src/components/tinymce/index.vue @@ -40,7 +40,8 @@ export default { content_css : '/tinymce/skins/content/tduck' , plugins, toolbar, - height: 300, + height: 200, + fontsize_formats: "8pt 10pt 12pt 14pt 18pt 24pt 36pt", branding: false, object_resizing: false, end_container_on_empty_block: true, diff --git a/src/views/form/editor.vue b/src/views/form/editor.vue index 31b61f7..6a17b7f 100644 --- a/src/views/form/editor.vue +++ b/src/views/form/editor.vue @@ -48,7 +48,7 @@ - +