diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-11-21 18:27:15 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-11-21 18:27:15 +0100 |
commit | 873d91d7c39c05f2f2d34c9a8098e3f9e74b79d3 (patch) | |
tree | 24b07af0235467a269fda3efb736b301e2b0e0ee /src/main.js | |
parent | 29469ef10a5f0ea8f42f9c9755a275251d81162c (diff) |
Fix contenteditable handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js index 1c914b5c..0d930898 100644 --- a/src/main.js +++ b/src/main.js @@ -28,6 +28,7 @@ import App from './App' import store from './store' import router from './router' import vuetwemoji from 'vue-twemoji' +import contenteditableDirective from 'vue-contenteditable-directive' sync(store, router) @@ -45,6 +46,7 @@ Vue.prototype.n = n Vue.prototype.OC = OC Vue.prototype.OCA = OCA +Vue.use(contenteditableDirective) Vue.use(vuetwemoji, { baseUrl: OC.linkTo('social', 'img/'), // can set to local folder of emojis. default: https://twemoji.maxcdn.com/ extension: '.svg', // .svg, .png |