diff --git a/client/js/app.js b/client/app.js
similarity index 98%
rename from client/js/app.js
rename to client/app.js
index 6a34f9d8..ad2ac32e 100644
--- a/client/js/app.js
+++ b/client/app.js
@@ -137,7 +137,7 @@ let bootstrap = () => {
// Load Icons
// ====================================
- import(/* webpackChunkName: "icons" */ '../svg/icons.svg').then(icons => {
+ import(/* webpackChunkName: "icons" */ './svg/icons.svg').then(icons => {
document.body.insertAdjacentHTML('beforeend', icons)
})
}
diff --git a/client/js/components/editor-code.vue b/client/components/editor-code.vue
similarity index 95%
rename from client/js/components/editor-code.vue
rename to client/components/editor-code.vue
index cb6a6ae7..382bf6d2 100644
--- a/client/js/components/editor-code.vue
+++ b/client/components/editor-code.vue
@@ -62,9 +62,10 @@
.editor-code-main
.editor-code-editor
.editor-code-editor-title Editor
- codemirror(ref='cm', v-model='code', :options='cmOptions', @ready="onCmReady")
+ codemirror(ref='cm', v-model='code', :options='cmOptions', @ready='onCmReady', @input='onCmInput')
.editor-code-preview
.editor-code-preview-title Preview
+ .editor-code-preview-content(v-html='previewHTML')
v-speed-dial(v-model='fabInsertMenu', :open-on-hover='true', direction='top', transition='slide-y-reverse-transition', :fixed='true', :right='!isMobile', :left='isMobile', :bottom='true')
v-btn(color='blue', fab, dark, v-model='fabInsertMenu', slot='activator')
v-icon add_circle
@@ -87,6 +88,8 @@
diff --git a/client/js/components/editor-modal-access.vue b/client/components/editor-modal-access.vue
similarity index 100%
rename from client/js/components/editor-modal-access.vue
rename to client/components/editor-modal-access.vue
diff --git a/client/js/components/editor-modal-properties.vue b/client/components/editor-modal-properties.vue
similarity index 100%
rename from client/js/components/editor-modal-properties.vue
rename to client/components/editor-modal-properties.vue
diff --git a/client/js/components/editor.vue b/client/components/editor.vue
similarity index 100%
rename from client/js/components/editor.vue
rename to client/components/editor.vue
diff --git a/client/js/components/login.vue b/client/components/login.vue
similarity index 99%
rename from client/js/components/login.vue
rename to client/components/login.vue
index 71f38a70..468eadec 100644
--- a/client/js/components/login.vue
+++ b/client/components/login.vue
@@ -199,7 +199,7 @@ export default {