@syncfusion/ej2-vue-richtexteditor
Advanced tools
Comparing version 16.4.42 to 16.4.44
@@ -5,2 +5,9 @@ # Changelog | ||
### RichTextEditor | ||
#### Bug Fixes | ||
- Pasted URL is not converted to links automatically, that issue has been fixed. | ||
- Image paste as twice in Firefox browser, that issue has been fixed. | ||
## 16.4.40-beta (2018-12-10) | ||
@@ -7,0 +14,0 @@ |
/*! | ||
* filename: ej2-vue-richtexteditor.umd.min.js | ||
* version : 16.4.42 | ||
* version : 16.4.44 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -12,3 +12,3 @@ * Use of this code is subject to the terms of our license. | ||
* filename: ej2-vue-richtexteditor.umd.min.js | ||
* version : 16.4.40 | ||
* version : 16.4.42 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -21,3 +21,3 @@ * Use of this code is subject to the terms of our license. | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-richtexteditor"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-richtexteditor","@syncfusion/ej2-base","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Richtexteditor,e.ej2Base,e.ej2VueBase)}(this,function(e,t,n,o){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},i=["backgroundColor","cssClass","editorMode","enableHtmlEncode","enablePersistence","enableRtl","enableTabKey","enabled","floatingToolbarOffset","fontColor","fontFamily","fontSize","format","formatter","height","htmlAttributes","iframeSettings","inlineMode","insertImageSettings","keyConfig","locale","maxLength","placeholder","quickToolbarSettings","readonly","saveInterval","showCharCount","tableSettings","toolbarSettings","undoRedoSteps","undoRedoTimer","value","valueTemplate","width","actionBegin","actionComplete","blur","change","created","destroyed","focus","resizeStart","resizeStop","resizing","toolbarClick"],c=["value"],a=function(e){function a(){var n=e.call(this)||this;return n.propKeys=i,n.models=c,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.RichTextEditor({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n}return r(a,e),a.prototype.trigger=function(e,t){if("change"===e&&this.models&&0!==this.models.length){var o=this.models.toString().match(/checked|value/)||[],r=o[0];t&&o&&!n.isUndefined(t[r])&&this.$emit("modelchanged",t[r])}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t)},a.prototype.setProperties=function(e,t){var n=this;if(this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&0!==this.models.length){var o=[],r=!1;Object.keys(e).map(function(e){n.models.map(function(t){e!==t||/datasource/i.test(e)||(o.push(e),r=!0)})}),r&&o.map(function(t){n.$emit("update:"+t,e[t])})}},a.prototype.render=function(e){return e("textarea",this.$slots.default)},a.prototype.disableToolbarItem=function(e){return this.ej2Instances.disableToolbarItem(e)},a.prototype.enableToolbarItem=function(e){return this.ej2Instances.enableToolbarItem(e)},a.prototype.executeCommand=function(e,t){return this.ej2Instances.executeCommand(e,t)},a.prototype.focusIn=function(){return this.ej2Instances.focusIn()},a.prototype.focusOut=function(){return this.ej2Instances.focusOut()},a.prototype.getContent=function(){return this.ej2Instances.getContent()},a.prototype.getHtml=function(){return this.ej2Instances.getHtml()},a.prototype.getID=function(){return this.ej2Instances.getID()},a.prototype.getRange=function(){return this.ej2Instances.getRange()},a.prototype.getSelection=function(){return this.ej2Instances.getSelection()},a.prototype.getText=function(){return this.ej2Instances.getText()},a.prototype.invokeChangeEvent=function(){return this.ej2Instances.invokeChangeEvent()},a.prototype.onCopy=function(){return this.ej2Instances.onCopy()},a.prototype.onCut=function(){return this.ej2Instances.onCut()},a.prototype.onPaste=function(e){return this.ej2Instances.onPaste(e)},a.prototype.preventDefaultResize=function(e){return this.ej2Instances.preventDefaultResize(e)},a.prototype.print=function(){return this.ej2Instances.print()},a.prototype.refresh=function(){return this.ej2Instances.refresh()},a.prototype.removeToolbarItem=function(e){return this.ej2Instances.removeToolbarItem(e)},a.prototype.selectAll=function(){return this.ej2Instances.selectAll()},a.prototype.selectRange=function(e){return this.ej2Instances.selectRange(e)},a.prototype.setContentHeight=function(e,t){return this.ej2Instances.setContentHeight(e,t)},a.prototype.setEnable=function(){return this.ej2Instances.setEnable()},a.prototype.setPlaceHolder=function(){return this.ej2Instances.setPlaceHolder()},a.prototype.setReadOnly=function(e){return this.ej2Instances.setReadOnly(e)},a.prototype.showFullScreen=function(){return this.ej2Instances.showFullScreen()},a.prototype.showSourceCode=function(){return this.ej2Instances.showSourceCode()},a.prototype.updateValue=function(e){return this.ej2Instances.updateValue(e)},a=s([o.EJComponentDecorator({props:i,model:{event:"modelchanged"}})],a)}(o.ComponentBase),u={name:"ejs-richtexteditor",install:function(e){e.component(u.name,a)}};e.RichTextEditorComponent=a,e.RichTextEditorPlugin=u,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-richtexteditor"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-richtexteditor","@syncfusion/ej2-base","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Richtexteditor,e.ej2Base,e.ej2VueBase)}(this,function(e,t,n,o){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},i=["backgroundColor","cssClass","editorMode","enableHtmlEncode","enablePersistence","enableRtl","enableTabKey","enabled","floatingToolbarOffset","fontColor","fontFamily","fontSize","format","formatter","height","htmlAttributes","iframeSettings","inlineMode","insertImageSettings","keyConfig","locale","maxLength","placeholder","quickToolbarSettings","readonly","saveInterval","showCharCount","tableSettings","toolbarSettings","undoRedoSteps","undoRedoTimer","value","valueTemplate","width","actionBegin","actionComplete","blur","change","created","destroyed","focus","resizeStart","resizeStop","resizing","toolbarClick"],c=["value"],a=function(e){function a(){var n=e.call(this)||this;return n.propKeys=i,n.models=c,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.RichTextEditor({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n}return r(a,e),a.prototype.trigger=function(e,t){if(("change"===e||"input"===e)&&this.models&&0!==this.models.length){var o=this.models.toString().match(/checked|value/)||[],r=o[0];t&&o&&!n.isUndefined(t[r])&&this.$emit("modelchanged",t[r])}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t)},a.prototype.setProperties=function(e,t){var n=this;if(this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&0!==this.models.length){var o=[],r=!1;Object.keys(e).map(function(e){n.models.map(function(t){e!==t||/datasource/i.test(e)||(o.push(e),r=!0)})}),r&&o.map(function(t){n.$emit("update:"+t,e[t])})}},a.prototype.render=function(e){return e("textarea",this.$slots.default)},a.prototype.disableToolbarItem=function(e){return this.ej2Instances.disableToolbarItem(e)},a.prototype.enableToolbarItem=function(e){return this.ej2Instances.enableToolbarItem(e)},a.prototype.executeCommand=function(e,t){return this.ej2Instances.executeCommand(e,t)},a.prototype.focusIn=function(){return this.ej2Instances.focusIn()},a.prototype.focusOut=function(){return this.ej2Instances.focusOut()},a.prototype.getContent=function(){return this.ej2Instances.getContent()},a.prototype.getHtml=function(){return this.ej2Instances.getHtml()},a.prototype.getID=function(){return this.ej2Instances.getID()},a.prototype.getRange=function(){return this.ej2Instances.getRange()},a.prototype.getSelection=function(){return this.ej2Instances.getSelection()},a.prototype.getText=function(){return this.ej2Instances.getText()},a.prototype.invokeChangeEvent=function(){return this.ej2Instances.invokeChangeEvent()},a.prototype.onCopy=function(){return this.ej2Instances.onCopy()},a.prototype.onCut=function(){return this.ej2Instances.onCut()},a.prototype.onPaste=function(e){return this.ej2Instances.onPaste(e)},a.prototype.preventDefaultResize=function(e){return this.ej2Instances.preventDefaultResize(e)},a.prototype.print=function(){return this.ej2Instances.print()},a.prototype.refresh=function(){return this.ej2Instances.refresh()},a.prototype.removeToolbarItem=function(e){return this.ej2Instances.removeToolbarItem(e)},a.prototype.selectAll=function(){return this.ej2Instances.selectAll()},a.prototype.selectRange=function(e){return this.ej2Instances.selectRange(e)},a.prototype.setContentHeight=function(e,t){return this.ej2Instances.setContentHeight(e,t)},a.prototype.setEnable=function(){return this.ej2Instances.setEnable()},a.prototype.setPlaceHolder=function(){return this.ej2Instances.setPlaceHolder()},a.prototype.setReadOnly=function(e){return this.ej2Instances.setReadOnly(e)},a.prototype.showFullScreen=function(){return this.ej2Instances.showFullScreen()},a.prototype.showSourceCode=function(){return this.ej2Instances.showSourceCode()},a.prototype.updateValue=function(e){return this.ej2Instances.updateValue(e)},a=s([o.EJComponentDecorator({props:i,model:{event:"modelchanged"}})],a)}(o.ComponentBase),u={name:"ejs-richtexteditor",install:function(e){e.component(u.name,a)}};e.RichTextEditorComponent=a,e.RichTextEditorPlugin=u,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ej2-vue-richtexteditor.umd.min.js.map |
@@ -36,3 +36,3 @@ import { RichTextEditor } from '@syncfusion/ej2-richtexteditor'; | ||
trigger(eventName, eventProp) { | ||
if (eventName === 'change' && this.models && (this.models.length !== 0)) { | ||
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) { | ||
let key = this.models.toString().match(/checked|value/) || []; | ||
@@ -39,0 +39,0 @@ let propKey = key[0]; |
@@ -51,3 +51,3 @@ import { RichTextEditor } from '@syncfusion/ej2-richtexteditor'; | ||
RichTextEditorComponent.prototype.trigger = function (eventName, eventProp) { | ||
if (eventName === 'change' && this.models && (this.models.length !== 0)) { | ||
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) { | ||
var key = this.models.toString().match(/checked|value/) || []; | ||
@@ -54,0 +54,0 @@ var propKey = key[0]; |
{ | ||
"name": "@syncfusion/ej2-vue-richtexteditor", | ||
"version": "16.4.42", | ||
"version": "16.4.44", | ||
"description": "Essential JS 2 RichTextEditor component for Vue", | ||
@@ -32,3 +32,3 @@ "author": "Syncfusion Inc.", | ||
"@syncfusion/ej2-vue-base": "~16.4.42", | ||
"@syncfusion/ej2-richtexteditor": "16.4.42" | ||
"@syncfusion/ej2-richtexteditor": "16.4.44" | ||
}, | ||
@@ -35,0 +35,0 @@ "devDependencies": { |
@@ -50,3 +50,3 @@ var __extends = (this && this.__extends) || (function () { | ||
RichTextEditorComponent.prototype.trigger = function (eventName, eventProp) { | ||
if (eventName === 'change' && this.models && (this.models.length !== 0)) { | ||
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) { | ||
var key = this.models.toString().match(/checked|value/) || []; | ||
@@ -53,0 +53,0 @@ var propKey = key[0]; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1636897
+ Added@syncfusion/ej2-richtexteditor@16.4.44(transitive)
- Removed@syncfusion/ej2-richtexteditor@16.4.42(transitive)