diff --git a/dist/VueDocumentEditor.common.js b/dist/VueDocumentEditor.common.js index 340d38e..23ef7cc 100644 --- a/dist/VueDocumentEditor.common.js +++ b/dist/VueDocumentEditor.common.js @@ -1596,7 +1596,7 @@ if (typeof window !== 'undefined') { // Indicate to webpack that this file can be concatenated /* harmony default export */ var setPublicPath = (null); -;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=214528ab&scoped=true& +;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=fabae3b4&scoped=true& var render = function render() { var _vm = this, _c = _vm._self._c; @@ -1625,8 +1625,7 @@ var render = function render() { }, on: { "input": _vm.input, - "keyup": _vm.process_current_text_style, - "keydown": _vm.keydown + "keyup": _vm.process_current_text_style } }, _vm._l(_vm.pages, function (page, page_idx) { return _c('div', { @@ -1889,7 +1888,8 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, const page_elt = this.$refs[page.uuid][0]; // set raw HTML content - if (!this.content[page.content_idx]) page_elt.innerHTML = "

";else if (typeof this.content[page.content_idx] == "string") page_elt.innerHTML = "
" + this.content[page.content_idx] + "
"; + if (!this.content[page.content_idx]) page_elt.innerHTML = "

"; // ensure empty pages are filled with at least

, otherwise editing fails on Chrome + else if (typeof this.content[page.content_idx] == "string") page_elt.innerHTML = "
" + this.content[page.content_idx] + "
"; // (else content is a component that is set in Vue.js