WANG 6 tahun lalu
induk
melakukan
b421e1f00b
1 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 2 3
      src/components/ckeditor.vue

+ 2 - 3
src/components/ckeditor.vue

@@ -16,7 +16,7 @@ let inc = 0;
 export default {
   data() {
     return {
-      divStyle: null
+      divStyle: ""
     };
   },
   props: {
@@ -59,8 +59,7 @@ export default {
     }
   },
   mounted() {
-    this.divStyle = "width:" + this.width + ";";
-    this.divStyle = this.divStyle + "margin-top:-15px;";
+    this.divStyle = this.divStyle + "width:" + this.width + ";";
 
     let config = {
       language: this.language,