x1ongzhu hace 6 años
padre
commit
8ab40832fb
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/main/vue/src/components/RichText.vue

+ 2 - 2
src/main/vue/src/components/RichText.vue

@@ -1,6 +1,6 @@
 <template>
     <div v-if="disabled" v-html="content" class="preview"></div>
-    <textarea v-else v-model="content" ref="editor" @load="load"></textarea>
+    <textarea v-else v-model="content" ref="editor" @load="load" style="width: 800px"></textarea>
 </template>
 <script>
     import axios from 'axios';
@@ -61,7 +61,7 @@
                     menubar: false,
                     branding: false,
                     statusbar: false,
-                    height: 300,
+                    height: 400,
                     toolbar: 'undo redo | styleselect bold italic strikethrough forecolor backcolor  | image media link blockquote visualblocks insert | formatselect | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | preview fullscreen code help',
                     plugins: [
                         'advlist autolink lists link image charmap print preview anchor textcolor',