@syncfusion/ej2-vue-richtexteditor
Advanced tools
Comparing version 17.1.49 to 17.2.28-beta
@@ -7,4 +7,21 @@ # Changelog | ||
#### New Features | ||
- **Paste from Microsoft Word** | ||
- This feature allows users to paste clean-formatted HTML markup by removing all unnecessary elements, styles, and attributes from text while copying and pasting it from Microsoft Word. | ||
#### Breaking Changes | ||
- Changed the default value of the API property `allowedStyleProps` from `null` to `['background', 'background-color', 'border', 'border-bottom', 'border-left', 'border-radius', 'border-right', 'border-style', 'border-top', 'border-width', 'clear', 'color', 'cursor', 'direction', 'display', 'float', 'font', 'font-family', 'font-size', 'font-weight', 'font-style','height', 'left', 'line-height', 'margin', 'margin-top', 'margin-left', 'margin-right', 'margin-bottom', 'max-height', 'max-width', 'min-height', 'min-width', 'overflow', 'overflow-x', 'overflow-y', 'padding', 'padding-bottom', 'padding-left', 'padding-right', 'padding-top', 'position', 'right', 'table-layout', 'text-align', 'text-decoration', 'text-indent', 'top', 'vertical-align', 'visibility', 'white-space', 'width']`. | ||
#### Bug Fixes | ||
- #238872 - Issue with cursor position when enabled list with empty editor that issue has been resolved. | ||
## 17.1.49 (2019-05-29) | ||
### RichTextEditor | ||
#### Bug Fixes | ||
- #235461 - Thrown the console error while rendering the RichTextEditor within a table element and pressing the tab key from edit area that issue has been resolved. | ||
@@ -47,2 +64,4 @@ | ||
- Insert image functionality of `RichTextEditor` is not working when render with `File Upload`, that issue has been fixed. | ||
- #237729 - Pickers mode throws script error when selecting the color in table's quick toolbar, that issue has been fixed. | ||
- #237729 - Color picker value doesn't set as RGBA(alpha) value in content editor, that issue has been fixed. | ||
@@ -58,2 +77,5 @@ ## 17.1.32-beta (2019-03-13) | ||
-`Undo` and `Redo` icon visible in preview mode issue has been fixed | ||
#### New Features | ||
@@ -60,0 +82,0 @@ |
/*! | ||
* filename: ej2-vue-richtexteditor.umd.min.js | ||
* version : 17.1.49 | ||
* version : 17.2.28-beta | ||
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved. | ||
@@ -10,3 +10,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 s=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)}}(),r=function(e,t,n,o){var s,r=arguments.length,i=r<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--)(s=e[c])&&(i=(r<3?s(i):r>3?s(t,n,i):s(t,n))||i);return r>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","pasteCleanupSettings","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.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return s(a,e),a.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},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/)||[],s=o[0];t&&o&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(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=r([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 s=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)}}(),r=function(e,t,n,o){var s,r=arguments.length,i=r<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 a=e.length-1;a>=0;a--)(s=e[a])&&(i=(r<3?s(i):r>3?s(t,n,i):s(t,n))||i);return r>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","pasteCleanupSettings","placeholder","quickToolbarSettings","readonly","saveInterval","showCharCount","tableSettings","toolbarSettings","undoRedoSteps","undoRedoTimer","value","valueTemplate","width","actionBegin","actionComplete","beforeDialogOpen","beforeQuickToolbarOpen","beforeSanitizeHtml","blur","change","created","destroyed","dialogClose","dialogOpen","focus","quickToolbarClose","quickToolbarOpen","resizeStart","resizeStop","resizing","toolbarClick","toolbarStatusUpdate"],a=["value"],c=function(e){function c(){var n=e.call(this)||this;return n.propKeys=i,n.models=a,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.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return s(c,e),c.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},c.prototype.trigger=function(e,t,o){if(("change"===e||"input"===e)&&this.models&&0!==this.models.length){var s=this.models.toString().match(/checked|value/)||[],r=s[0];t&&s&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},c.prototype.render=function(e){return e("textarea",this.$slots.default)},c.prototype.disableToolbarItem=function(e,t){return this.ej2Instances.disableToolbarItem(e,t)},c.prototype.enableToolbarItem=function(e,t){return this.ej2Instances.enableToolbarItem(e,t)},c.prototype.executeCommand=function(e,t){return this.ej2Instances.executeCommand(e,t)},c.prototype.focusIn=function(){return this.ej2Instances.focusIn()},c.prototype.focusOut=function(){return this.ej2Instances.focusOut()},c.prototype.getContent=function(){return this.ej2Instances.getContent()},c.prototype.getHtml=function(){return this.ej2Instances.getHtml()},c.prototype.getID=function(){return this.ej2Instances.getID()},c.prototype.getRange=function(){return this.ej2Instances.getRange()},c.prototype.getSelection=function(){return this.ej2Instances.getSelection()},c.prototype.getText=function(){return this.ej2Instances.getText()},c.prototype.invokeChangeEvent=function(){return this.ej2Instances.invokeChangeEvent()},c.prototype.onCopy=function(){return this.ej2Instances.onCopy()},c.prototype.onCut=function(){return this.ej2Instances.onCut()},c.prototype.onPaste=function(e){return this.ej2Instances.onPaste(e)},c.prototype.preventDefaultResize=function(e){return this.ej2Instances.preventDefaultResize(e)},c.prototype.print=function(){return this.ej2Instances.print()},c.prototype.refresh=function(){return this.ej2Instances.refresh()},c.prototype.removeToolbarItem=function(e){return this.ej2Instances.removeToolbarItem(e)},c.prototype.sanitizeHtml=function(e){return this.ej2Instances.sanitizeHtml(e)},c.prototype.selectAll=function(){return this.ej2Instances.selectAll()},c.prototype.selectRange=function(e){return this.ej2Instances.selectRange(e)},c.prototype.setContentHeight=function(e,t){return this.ej2Instances.setContentHeight(e,t)},c.prototype.setEnable=function(){return this.ej2Instances.setEnable()},c.prototype.setPlaceHolder=function(){return this.ej2Instances.setPlaceHolder()},c.prototype.setReadOnly=function(e){return this.ej2Instances.setReadOnly(e)},c.prototype.showFullScreen=function(){return this.ej2Instances.showFullScreen()},c.prototype.showSourceCode=function(){return this.ej2Instances.showSourceCode()},c.prototype.updateValue=function(e){return this.ej2Instances.updateValue(e)},c=r([o.EJComponentDecorator({props:i,model:{event:"modelchanged"}})],c)}(o.ComponentBase),u={name:"ejs-richtexteditor",install:function(e){e.component(u.name,c)}};e.RichTextEditorComponent=c,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 |
@@ -11,3 +11,3 @@ import { RichTextEditor } from '@syncfusion/ej2-richtexteditor'; | ||
}; | ||
const properties = ['backgroundColor', 'cssClass', 'editorMode', 'enableHtmlEncode', 'enablePersistence', 'enableRtl', 'enableTabKey', 'enabled', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'blur', 'change', 'created', 'destroyed', 'focus', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick']; | ||
const properties = ['backgroundColor', 'cssClass', 'editorMode', 'enableHtmlEncode', 'enablePersistence', 'enableRtl', 'enableTabKey', 'enabled', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'beforeDialogOpen', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'focus', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate']; | ||
const modelProps = ['value']; | ||
@@ -50,3 +50,3 @@ /** | ||
} | ||
trigger(eventName, eventProp) { | ||
trigger(eventName, eventProp, successHandler) { | ||
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) { | ||
@@ -61,3 +61,3 @@ let key = this.models.toString().match(/checked|value/) || []; | ||
if (this.ej2Instances && this.ej2Instances._trigger) { | ||
this.ej2Instances._trigger(eventName, eventProp); | ||
this.ej2Instances._trigger(eventName, eventProp, successHandler); | ||
} | ||
@@ -68,7 +68,7 @@ } | ||
} | ||
disableToolbarItem(items) { | ||
return this.ej2Instances.disableToolbarItem(items); | ||
disableToolbarItem(items, muteToolbarUpdate) { | ||
return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate); | ||
} | ||
enableToolbarItem(items) { | ||
return this.ej2Instances.enableToolbarItem(items); | ||
enableToolbarItem(items, muteToolbarUpdate) { | ||
return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate); | ||
} | ||
@@ -126,2 +126,5 @@ executeCommand(commandName, value) { | ||
} | ||
sanitizeHtml(value) { | ||
return this.ej2Instances.sanitizeHtml(value); | ||
} | ||
selectAll() { | ||
@@ -128,0 +131,0 @@ return this.ej2Instances.selectAll(); |
@@ -24,3 +24,3 @@ import { RichTextEditor } from '@syncfusion/ej2-richtexteditor'; | ||
}; | ||
var properties = ['backgroundColor', 'cssClass', 'editorMode', 'enableHtmlEncode', 'enablePersistence', 'enableRtl', 'enableTabKey', 'enabled', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'blur', 'change', 'created', 'destroyed', 'focus', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick']; | ||
var properties = ['backgroundColor', 'cssClass', 'editorMode', 'enableHtmlEncode', 'enablePersistence', 'enableRtl', 'enableTabKey', 'enabled', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'beforeDialogOpen', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'focus', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate']; | ||
var modelProps = ['value']; | ||
@@ -66,3 +66,3 @@ /** | ||
}; | ||
RichTextEditorComponent.prototype.trigger = function (eventName, eventProp) { | ||
RichTextEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) { | ||
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) { | ||
@@ -77,3 +77,3 @@ var key = this.models.toString().match(/checked|value/) || []; | ||
if (this.ej2Instances && this.ej2Instances._trigger) { | ||
this.ej2Instances._trigger(eventName, eventProp); | ||
this.ej2Instances._trigger(eventName, eventProp, successHandler); | ||
} | ||
@@ -84,7 +84,7 @@ }; | ||
}; | ||
RichTextEditorComponent.prototype.disableToolbarItem = function (items) { | ||
return this.ej2Instances.disableToolbarItem(items); | ||
RichTextEditorComponent.prototype.disableToolbarItem = function (items, muteToolbarUpdate) { | ||
return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate); | ||
}; | ||
RichTextEditorComponent.prototype.enableToolbarItem = function (items) { | ||
return this.ej2Instances.enableToolbarItem(items); | ||
RichTextEditorComponent.prototype.enableToolbarItem = function (items, muteToolbarUpdate) { | ||
return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate); | ||
}; | ||
@@ -142,2 +142,5 @@ RichTextEditorComponent.prototype.executeCommand = function (commandName, value) { | ||
}; | ||
RichTextEditorComponent.prototype.sanitizeHtml = function (value) { | ||
return this.ej2Instances.sanitizeHtml(value); | ||
}; | ||
RichTextEditorComponent.prototype.selectAll = function () { | ||
@@ -144,0 +147,0 @@ return this.ej2Instances.selectAll(); |
{ | ||
"_from": "@syncfusion/ej2-vue-richtexteditor@*", | ||
"_id": "@syncfusion/ej2-vue-richtexteditor@17.1.48", | ||
"_id": "@syncfusion/ej2-vue-richtexteditor@17.1.38", | ||
"_inBundle": false, | ||
"_integrity": "sha512-nkKMHYsIK9Rl7b06dxSzYvAJPKgWaYx6RW5dawEMo4x4GzRE9ebZ7yD50SJh4hhFpbhuSSs5jTlfc/47cfMtUg==", | ||
"_integrity": "sha512-UrhuICfDOstLS1mIiIxt6jgUYFvXh5PgudBLZn1IHzVdLsRw6U1GbtBxrWVvhQjVQzkNOMa0gPHNNFqg1UZUEg==", | ||
"_location": "/@syncfusion/ej2-vue-richtexteditor", | ||
@@ -22,4 +22,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-richtexteditor/-/ej2-vue-richtexteditor-17.1.48.tgz", | ||
"_shasum": "c51170688a9bf82a1d99843e88f137b9f8e687c8", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-richtexteditor/-/ej2-vue-richtexteditor-17.1.38.tgz", | ||
"_shasum": "6e1544bdf5a979441c077a9ce0b418b318af0a82", | ||
"_spec": "@syncfusion/ej2-vue-richtexteditor@*", | ||
@@ -35,5 +35,5 @@ "_where": "/jenkins/workspace/ation_hotfix_16.4.0.42_Vol4-CJVRBFC7Z7RSISPRJNEMNQSRMCB6XTG67IJD6R2DVNXFIKQEITTQ/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~17.1.49", | ||
"@syncfusion/ej2-richtexteditor": "17.1.49", | ||
"@syncfusion/ej2-vue-base": "~17.1.49" | ||
"@syncfusion/ej2-base": "~17.2.28-beta", | ||
"@syncfusion/ej2-richtexteditor": "17.2.28-beta", | ||
"@syncfusion/ej2-vue-base": "~17.2.28-beta" | ||
}, | ||
@@ -67,4 +67,4 @@ "deprecated": false, | ||
}, | ||
"version": "17.1.49", | ||
"version": "17.2.28-beta", | ||
"sideEffects": false | ||
} |
@@ -24,7 +24,7 @@ import { ComponentBase } from '@syncfusion/ej2-vue-base'; | ||
[key: string]: Object; | ||
}): void; | ||
}, successHandler?: Function): void; | ||
render(createElement: any): any; | ||
disableToolbarItem(items: string | string[]): void; | ||
enableToolbarItem(items: string | string[]): void; | ||
executeCommand(commandName: Object, value?: string | Object): void; | ||
disableToolbarItem(items: string | string[], muteToolbarUpdate?: boolean): void; | ||
enableToolbarItem(items: string | string[], muteToolbarUpdate?: boolean): void; | ||
executeCommand(commandName: Object, value?: string | Object | Object | Object): void; | ||
focusIn(): void; | ||
@@ -46,2 +46,3 @@ focusOut(): void; | ||
removeToolbarItem(items: string | string[]): void; | ||
sanitizeHtml(value: string): string; | ||
selectAll(): void; | ||
@@ -48,0 +49,0 @@ selectRange(range: Object): void; |
@@ -23,3 +23,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import { RichTextEditor } from '@syncfusion/ej2-richtexteditor'; | ||
export var properties = ['backgroundColor', 'cssClass', 'editorMode', 'enableHtmlEncode', 'enablePersistence', 'enableRtl', 'enableTabKey', 'enabled', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'blur', 'change', 'created', 'destroyed', 'focus', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick']; | ||
export var properties = ['backgroundColor', 'cssClass', 'editorMode', 'enableHtmlEncode', 'enablePersistence', 'enableRtl', 'enableTabKey', 'enabled', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'beforeDialogOpen', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'focus', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate']; | ||
export var modelProps = ['value']; | ||
@@ -65,3 +65,3 @@ /** | ||
}; | ||
RichTextEditorComponent.prototype.trigger = function (eventName, eventProp) { | ||
RichTextEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) { | ||
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) { | ||
@@ -76,3 +76,3 @@ var key = this.models.toString().match(/checked|value/) || []; | ||
if (this.ej2Instances && this.ej2Instances._trigger) { | ||
this.ej2Instances._trigger(eventName, eventProp); | ||
this.ej2Instances._trigger(eventName, eventProp, successHandler); | ||
} | ||
@@ -83,7 +83,7 @@ }; | ||
}; | ||
RichTextEditorComponent.prototype.disableToolbarItem = function (items) { | ||
return this.ej2Instances.disableToolbarItem(items); | ||
RichTextEditorComponent.prototype.disableToolbarItem = function (items, muteToolbarUpdate) { | ||
return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate); | ||
}; | ||
RichTextEditorComponent.prototype.enableToolbarItem = function (items) { | ||
return this.ej2Instances.enableToolbarItem(items); | ||
RichTextEditorComponent.prototype.enableToolbarItem = function (items, muteToolbarUpdate) { | ||
return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate); | ||
}; | ||
@@ -141,2 +141,5 @@ RichTextEditorComponent.prototype.executeCommand = function (commandName, value) { | ||
}; | ||
RichTextEditorComponent.prototype.sanitizeHtml = function (value) { | ||
return this.ej2Instances.sanitizeHtml(value); | ||
}; | ||
RichTextEditorComponent.prototype.selectAll = function () { | ||
@@ -143,0 +146,0 @@ return this.ej2Instances.selectAll(); |
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
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
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
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
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
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
2114944
36865
2
+ Added@syncfusion/ej2-base@17.2.49(transitive)
+ Added@syncfusion/ej2-buttons@17.2.47(transitive)
+ Added@syncfusion/ej2-data@17.2.47(transitive)
+ Added@syncfusion/ej2-icons@17.2.47(transitive)
+ Added@syncfusion/ej2-inputs@17.2.52(transitive)
+ Added@syncfusion/ej2-lists@17.2.47(transitive)
+ Added@syncfusion/ej2-navigations@17.2.49(transitive)
+ Added@syncfusion/ej2-popups@17.2.47(transitive)
+ Added@syncfusion/ej2-richtexteditor@17.2.28-beta(transitive)
+ Added@syncfusion/ej2-splitbuttons@17.2.47(transitive)
+ Added@syncfusion/ej2-vue-base@17.2.47(transitive)
+ Addedvue@2.5.21(transitive)
- Removed@syncfusion/ej2-base@17.1.49(transitive)
- Removed@syncfusion/ej2-buttons@17.1.50(transitive)
- Removed@syncfusion/ej2-data@17.1.51(transitive)
- Removed@syncfusion/ej2-icons@17.1.47(transitive)
- Removed@syncfusion/ej2-inputs@17.1.50(transitive)
- Removed@syncfusion/ej2-lists@17.1.47(transitive)
- Removed@syncfusion/ej2-navigations@17.1.49(transitive)
- Removed@syncfusion/ej2-popups@17.1.50(transitive)
- Removed@syncfusion/ej2-richtexteditor@17.1.49(transitive)
- Removed@syncfusion/ej2-splitbuttons@17.1.51(transitive)
- Removed@syncfusion/ej2-vue-base@17.1.51(transitive)
- Removedvue@2.6.10(transitive)