@licium/vue-editor 3.2.12 → 3.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * TOAST UI Editor : Vue Wrapper
3
- * @version 3.2.12 | Thu Jan 08 2026
3
+ * @version 3.2.14 | Sat Jan 10 2026
4
4
  * @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -77,7 +77,7 @@ var optionsMixin = {
77
77
  for (var _i = 0; _i < arguments.length; _i++) {
78
78
  args[_i] = arguments[_i];
79
79
  }
80
- _this.$emit.apply(_this, __spreadArray([event], args));
80
+ _this.$emit.apply(_this, __spreadArray([event], args, false));
81
81
  };
82
82
  });
83
83
  var options = __assign(__assign({}, this.options), { initialEditType: this.initialEditType, initialValue: this.initialValue, height: this.height, previewStyle: this.previewStyle, events: eventOptions });
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see toastui-vue-editor.js.LICENSE.txt */
2
- !function(){"use strict";var t={n:function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,{a:i}),i},d:function(e,i){for(var r in i)t.o(i,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:i[r]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{Editor:function(){return p},Viewer:function(){return g}});var i=function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"toastuiEditor"})};i._withStripped=!0;var r=function(){return r=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},r.apply(this,arguments)};function n(t,e,i){if(i||2===arguments.length)for(var r,n=0,o=e.length;n<o;n++)!r&&n in e||(r||(r=Array.prototype.slice.call(e,0,n)),r[n]=e[n]);return t.concat(r||Array.prototype.slice.call(e))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var o=require("@licium/editor"),s=t.n(o),a=["load","change","caretChange","focus","blur","keydown","keyup","beforePreviewRender","beforeConvertWysiwygToMarkdown"],u={initialEditType:"markdown",initialValue:"",height:"300px",previewStyle:"vertical"},l={data:function(){var t=this,e={};a.forEach((function(i){e[i]=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t.$emit.apply(t,n([i],e))}}));var i=r(r({},this.options),{initialEditType:this.initialEditType,initialValue:this.initialValue,height:this.height,previewStyle:this.previewStyle,events:e});return Object.keys(u).forEach((function(t){i[t]||(i[t]=u[t])})),{editor:null,computedOptions:i}},methods:{invoke:function(t){for(var e,i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];var n=null;return this.editor[t]&&(n=(e=this.editor)[t].apply(e,i)),n}},destroyed:function(){var t=this;a.forEach((function(e){t.editor.off(e)})),this.editor.destroy()}};function c(t,e,i,r,n,o,s,a){var u,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=i,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=u):n&&(u=a?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(t,e){return u.call(e),c(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,u):[u]}return{exports:t,options:l}}var d=c({name:"ToastuiEditor",mixins:[l],props:{previewStyle:{type:String},height:{type:String},initialEditType:{type:String},initialValue:{type:String},options:{type:Object}},watch:{previewStyle:function(t){this.editor.changePreviewStyle(t)},height:function(t){this.editor.height(t)}},mounted:function(){var t=r(r({},this.computedOptions),{el:this.$refs.toastuiEditor});this.editor=new(s())(t)},methods:{getRootElement:function(){return this.$refs.toastuiEditor}}},i,[],!1,null,null,null);d.options.__file="src/Editor.vue";var p=d.exports,f=function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"toastuiEditorViewer"})};f._withStripped=!0;var h=require("@licium/editor/dist/toastui-editor-viewer"),v=t.n(h),y=c({name:"ToastuiEditorViewer",mixins:[l],props:{height:{type:String},initialValue:{type:String},options:{type:Object}},mounted:function(){var t=r(r({},this.computedOptions),{el:this.$refs.toastuiEditorViewer});this.editor=new(v())(t)},methods:{getRootElement:function(){return this.$refs.toastuiEditorViewer}}},f,[],!1,null,null,null);y.options.__file="src/Viewer.vue";var g=y.exports;module.exports=e}();
2
+ !function(){"use strict";var t={n:function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,{a:i}),i},d:function(e,i){for(var r in i)t.o(i,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:i[r]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{Editor:function(){return p},Viewer:function(){return g}});var i=function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"toastuiEditor"})};i._withStripped=!0;var r=function(){return r=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},r.apply(this,arguments)};function n(t,e,i){if(i||2===arguments.length)for(var r,n=0,o=e.length;n<o;n++)!r&&n in e||(r||(r=Array.prototype.slice.call(e,0,n)),r[n]=e[n]);return t.concat(r||Array.prototype.slice.call(e))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var o=require("@licium/editor"),s=t.n(o),a=["load","change","caretChange","focus","blur","keydown","keyup","beforePreviewRender","beforeConvertWysiwygToMarkdown"],u={initialEditType:"markdown",initialValue:"",height:"300px",previewStyle:"vertical"},l={data:function(){var t=this,e={};a.forEach((function(i){e[i]=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t.$emit.apply(t,n([i],e,!1))}}));var i=r(r({},this.options),{initialEditType:this.initialEditType,initialValue:this.initialValue,height:this.height,previewStyle:this.previewStyle,events:e});return Object.keys(u).forEach((function(t){i[t]||(i[t]=u[t])})),{editor:null,computedOptions:i}},methods:{invoke:function(t){for(var e,i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];var n=null;return this.editor[t]&&(n=(e=this.editor)[t].apply(e,i)),n}},destroyed:function(){var t=this;a.forEach((function(e){t.editor.off(e)})),this.editor.destroy()}};function c(t,e,i,r,n,o,s,a){var u,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=i,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=u):n&&(u=a?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(t,e){return u.call(e),c(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,u):[u]}return{exports:t,options:l}}var d=c({name:"ToastuiEditor",mixins:[l],props:{previewStyle:{type:String},height:{type:String},initialEditType:{type:String},initialValue:{type:String},options:{type:Object}},watch:{previewStyle:function(t){this.editor.changePreviewStyle(t)},height:function(t){this.editor.height(t)}},mounted:function(){var t=r(r({},this.computedOptions),{el:this.$refs.toastuiEditor});this.editor=new(s())(t)},methods:{getRootElement:function(){return this.$refs.toastuiEditor}}},i,[],!1,null,null,null);d.options.__file="src/Editor.vue";var p=d.exports,f=function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"toastuiEditorViewer"})};f._withStripped=!0;var h=require("@licium/editor/dist/toastui-editor-viewer"),v=t.n(h),y=c({name:"ToastuiEditorViewer",mixins:[l],props:{height:{type:String},initialValue:{type:String},options:{type:Object}},mounted:function(){var t=r(r({},this.computedOptions),{el:this.$refs.toastuiEditorViewer});this.editor=new(v())(t)},methods:{getRootElement:function(){return this.$refs.toastuiEditorViewer}}},f,[],!1,null,null,null);y.options.__file="src/Viewer.vue";var g=y.exports;module.exports=e}();
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * TOAST UI Editor : Vue Wrapper
3
- * @version 3.2.12 | Thu Jan 08 2026
3
+ * @version 3.2.14 | Sat Jan 10 2026
4
4
  * @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@licium/vue-editor",
3
- "version": "3.2.12",
3
+ "version": "3.2.14",
4
4
  "description": "TOAST UI Editor for Vue",
5
5
  "main": "dist/toastui-vue-editor.js",
6
6
  "module": "dist/esm/index.js",
@@ -34,7 +34,7 @@
34
34
  "vue": "^2.5.0"
35
35
  },
36
36
  "dependencies": {
37
- "@licium/editor": "^3.2.12"
37
+ "@licium/editor": "^3.2.14"
38
38
  },
39
- "gitHead": "70d40b5d9ffef8353490af0bec8c13a869c48989"
39
+ "gitHead": "474aa76d6fcc3523669c320a45286ac0cfe51a91"
40
40
  }