@syncfusion/ej2-richtexteditor
Advanced tools
Comparing version 16.3.21 to 16.3.22
@@ -5,2 +5,10 @@ # Changelog | ||
### RichTextEditor | ||
#### Bug Fixes | ||
- The fontColor, backgroundColor properties default value is not an active state in ColorPicker which has been fixed. | ||
- ITextAreaElement interface issue in TypeScript 3.0.0 has been fixed. | ||
## 16.3.17 (2018-09-12) | ||
@@ -7,0 +15,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 16.3.21 | ||
* version : 16.3.22 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"name": "@syncfusion/ej2-richtexteditor", | ||
"version": "16.3.21", | ||
"version": "16.3.22", | ||
"description": "Essential JS 2 RichTextEditor component", | ||
@@ -14,3 +14,3 @@ "author": "Syncfusion Inc.", | ||
"@syncfusion/ej2-popups": "~16.3.21", | ||
"@syncfusion/ej2-splitbuttons": "~16.3.21" | ||
"@syncfusion/ej2-splitbuttons": "~16.3.22" | ||
}, | ||
@@ -17,0 +17,0 @@ "devDependencies": { |
@@ -20,3 +20,3 @@ import { MarkdownSelection } from '../../markdown-parser/plugin/markdown-selection'; | ||
export interface ITextAreaElement extends HTMLTextAreaElement { | ||
selectionDirection?: string; | ||
selectionDirection: string; | ||
} |
@@ -104,3 +104,4 @@ // tslint:disable | ||
'insertRowAfter': 'Insert Row After', | ||
'deleteRow': 'Delete Row' | ||
'deleteRow': 'Delete Row', | ||
'tableEditHeader': 'Edit Table' | ||
}; | ||
@@ -107,0 +108,0 @@ export var toolsLocale = { |
@@ -305,3 +305,5 @@ import { EventHandler, detach, isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
}; | ||
this.selection.restore(); | ||
if (proxy.parent.editorMode === 'HTML') { | ||
this.selection.restore(); | ||
} | ||
if (proxy.parent.formatter.getUndoRedoStack().length === 0) { | ||
@@ -308,0 +310,0 @@ proxy.parent.formatter.saveData(); |
@@ -358,3 +358,3 @@ import { detach, closest, Browser } from '@syncfusion/ej2-base'; | ||
this.curTable = (target.nodeName === 'TD' || target.nodeName === 'TH') ? | ||
target.closest('table') : target; | ||
closest(target, 'table') : target; | ||
this.removeResizeEle(); | ||
@@ -768,4 +768,5 @@ this.tableResizeEleCreation(this.curTable, e); | ||
var cancel = this.l10n.getConstant('dialogCancel'); | ||
var editHeader = this.l10n.getConstant('tableEditHeader'); | ||
this.editdlgObj.setProperties({ | ||
height: 'initial', width: '290px', content: editContent, | ||
height: 'initial', width: '290px', content: editContent, header: editHeader, | ||
buttons: [{ | ||
@@ -772,0 +773,0 @@ click: this.applyProperties.bind(this, args), |
@@ -163,3 +163,2 @@ import { addClass, Browser, removeClass, EventHandler } from '@syncfusion/ej2-base'; | ||
ToolbarRenderer.prototype.paletteSelection = function (dropDownArgs, currentElement) { | ||
var _this = this; | ||
var ele = dropDownArgs.element.querySelector('.e-control.e-colorpicker'); | ||
@@ -170,3 +169,3 @@ var colorbox = [].slice.call(selectAll('.e-tile', ele.parentElement)); | ||
(colorbox.filter(function (colorbox) { | ||
if (colorbox.getAttribute('aria-label') === _this.colorPicker.getValue(style, 'hex')) { | ||
if (colorbox.style.backgroundColor === style) { | ||
addClass([colorbox], 'e-selected'); | ||
@@ -299,5 +298,7 @@ } | ||
enableRtl: this.parent.enableRtl, | ||
value: (!this.parent.inlineMode.enable && !this.parent.quickToolbarSettings.enable) ? | ||
((item === 'backgroundcolor') ? proxy.parent.backgroundColor.default : proxy.parent.fontColor.default) : null, | ||
inline: true, | ||
created: function () { | ||
var value = (item === 'backgroundcolor') ? proxy.parent.backgroundColor.default : proxy.parent.fontColor.default; | ||
_this.colorPicker.setProperties({ value: value }); | ||
}, | ||
mode: ((item === 'backgroundcolor') ? proxy.parent.backgroundColor.mode : proxy.parent.fontColor.mode), | ||
@@ -304,0 +305,0 @@ modeSwitcher: ((item === 'backgroundcolor') ? proxy.parent.backgroundColor.modeSwitcher : proxy.parent.fontColor.modeSwitcher), |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
8017271
65285