@syncfusion/ej2-richtexteditor 20.1.57 → 20.1.60

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.
@@ -614,6 +614,19 @@ const closeTableDialog = 'closeTableDialog';
614
614
  * @deprecated
615
615
  */
616
616
  const bindCssClass = 'closeTableDialog';
617
+ /**
618
+ * @hidden
619
+ * @deprecated
620
+ */
621
+ const blockInlineEmptyNodes = `address:empty, article:empty, aside:empty, blockquote:empty,
622
+ details:empty, dd:empty, div:empty, dl:empty, dt:empty, fieldset:empty, footer:empty,form:empty, h1:empty,
623
+ h2:empty, h3:empty, h4:empty, h5:empty, h6:empty, header:empty, hgroup:empty, hr:empty, li:empty, main:empty, nav:empty,
624
+ noscript:empty, output:empty, p:empty, pre:empty, section:empty, td:empty, th:empty,
625
+ a:empty, abbr:empty, acronym:empty, b:empty, bdi:empty, bdo:empty, big:empty, button:empty,
626
+ canvas:empty, cite:empty, code:empty, data:empty, datalist:empty, del:empty, dfn:empty, em:empty, font:empty, i:empty, iframe:empty,
627
+ ins:empty, kbd:empty, label:empty, map:empty, mark:empty, meter:empty, noscript:empty, object:empty, output:empty, picture:empty, progress:empty,
628
+ q:empty, ruby:empty, s:empty, samp:empty, script:empty, select:empty, slot:empty, small:empty, span:empty, strong:empty, strike:empty, sub:empty, sup:empty, svg:empty,
629
+ template:empty, textarea:empty, time:empty, u:empty, tt:empty, var:empty, wbr:empty`;
617
630
 
618
631
  /**
619
632
  * Rich Text Editor classes defined here.
@@ -2538,6 +2551,10 @@ function updateTextNode(value, rteObj) {
2538
2551
  let previousParent;
2539
2552
  let insertElem;
2540
2553
  while (tempNode.firstChild) {
2554
+ const emptyElem = tempNode.querySelectorAll(blockInlineEmptyNodes);
2555
+ for (let i = 0; i < emptyElem.length; i++) {
2556
+ emptyElem[i].innerHTML = '<br>';
2557
+ }
2541
2558
  if (rteObj.enterKey !== 'BR' && ((tempNode.firstChild.nodeName === '#text' &&
2542
2559
  (tempNode.firstChild.textContent.indexOf('\n') < 0 || tempNode.firstChild.textContent.trim() !== '')) ||
2543
2560
  inlineNode.indexOf(tempNode.firstChild.nodeName.toLocaleLowerCase()) >= 0)) {
@@ -4533,9 +4550,7 @@ class Toolbar$2 {
4533
4550
  * @deprecated
4534
4551
  */
4535
4552
  refreshToolbarOverflow() {
4536
- if (!this.parent.inlineMode.enable) {
4537
- this.baseToolbar.toolbarObj.refreshOverflow();
4538
- }
4553
+ this.baseToolbar.toolbarObj.refreshOverflow();
4539
4554
  }
4540
4555
  isToolbarDestroyed() {
4541
4556
  return this.baseToolbar.toolbarObj && !this.baseToolbar.toolbarObj.isDestroyed;
@@ -4716,7 +4731,9 @@ class Toolbar$2 {
4716
4731
  }
4717
4732
  }
4718
4733
  onRefresh() {
4719
- this.refreshToolbarOverflow();
4734
+ if (!this.parent.inlineMode.enable) {
4735
+ this.refreshToolbarOverflow();
4736
+ }
4720
4737
  this.parent.setContentHeight('', true);
4721
4738
  }
4722
4739
  /**
@@ -6910,6 +6927,21 @@ class Formatter {
6910
6927
  || self.contentModule.getPanel() === range.commonAncestorContainer)) {
6911
6928
  return;
6912
6929
  }
6930
+ if (!isNullOrUndefined(args) && self.maxLength !== -1 && !isNullOrUndefined(args.item.command)) {
6931
+ let currentInsertContentLength = 0;
6932
+ if (args.item.command === 'Links') {
6933
+ currentInsertContentLength = value.text.length === 0 ? value.url.length : value.text.length;
6934
+ }
6935
+ if (args.item.command === 'Images' || args.item.command === 'Table' || args.item.command === 'Files') {
6936
+ currentInsertContentLength = 1;
6937
+ }
6938
+ const currentLength = self.getText().trim().length;
6939
+ const selectionLength = self.getSelection().length;
6940
+ const totalLength = (currentLength - selectionLength) + currentInsertContentLength;
6941
+ if (!(self.maxLength === -1 || totalLength <= self.maxLength)) {
6942
+ return;
6943
+ }
6944
+ }
6913
6945
  if (isNullOrUndefined(args)) {
6914
6946
  const action = event.action;
6915
6947
  if (action !== 'tab' && action !== 'enter' && action !== 'space' && action !== 'escape') {
@@ -10725,6 +10757,29 @@ class Lists {
10725
10757
  parentList.parentElement.insertBefore(startNode.children[1], parentList);
10726
10758
  }
10727
10759
  }
10760
+ this.removeList(range, e);
10761
+ }
10762
+ removeList(range, e) {
10763
+ let startNode = this.parent.domNode.getSelectedNode(range.startContainer, range.startOffset);
10764
+ let endNode = this.parent.domNode.getSelectedNode(range.endContainer, range.endOffset);
10765
+ startNode = startNode.nodeName === 'BR' ? startNode.parentElement : startNode;
10766
+ endNode = endNode.nodeName === 'BR' ? endNode.parentElement : endNode;
10767
+ if (((range.commonAncestorContainer.nodeName === 'OL' || range.commonAncestorContainer.nodeName === 'UL' || range.commonAncestorContainer.nodeName === 'LI') &&
10768
+ isNullOrUndefined(endNode.nextElementSibling) && endNode.textContent.length === range.endOffset &&
10769
+ isNullOrUndefined(startNode.previousElementSibling) && range.startOffset === 0) ||
10770
+ (Browser.userAgent.indexOf('Firefox') != -1 && range.startContainer === range.endContainer && range.startContainer === this.parent.editableElement &&
10771
+ range.startOffset === 0 && range.endOffset === 1)) {
10772
+ if (Browser.userAgent.indexOf('Firefox') != -1) {
10773
+ detach(range.commonAncestorContainer.childNodes[0]);
10774
+ }
10775
+ else if (range.commonAncestorContainer.nodeName === 'LI') {
10776
+ detach(range.commonAncestorContainer.parentElement);
10777
+ }
10778
+ else {
10779
+ detach(range.commonAncestorContainer);
10780
+ }
10781
+ e.event.preventDefault();
10782
+ }
10728
10783
  }
10729
10784
  keyDownHandler(e) {
10730
10785
  if (e.event.which === 13) {
@@ -10749,6 +10804,7 @@ class Lists {
10749
10804
  && (commonAncestor.lastElementChild === closest(endNode, 'li')) && !range.collapsed) {
10750
10805
  detach(commonAncestor);
10751
10806
  }
10807
+ this.removeList(range, e);
10752
10808
  }
10753
10809
  if (e.event.which === 9) {
10754
10810
  const range = this.parent.nodeSelection.getRange(this.parent.currentDocument);
@@ -10964,6 +11020,19 @@ class Lists {
10964
11020
  }
10965
11021
  applyListsHandler(e) {
10966
11022
  let range = this.parent.nodeSelection.getRange(this.parent.currentDocument);
11023
+ if (Browser.userAgent.indexOf('Firefox') != -1 && range.startContainer === range.endContainer && range.startContainer === this.parent.editableElement) {
11024
+ const startChildNodes = range.startContainer.childNodes;
11025
+ let startNode = ((startChildNodes[(range.startOffset > 0) ? (range.startOffset - 1) : range.startOffset]) || range.startContainer);
11026
+ let endNode = (range.endContainer.childNodes[(range.endOffset > 0) ? (range.endOffset - 1) : range.endOffset] || range.endContainer);
11027
+ let lastSelectionNode = endNode.lastChild.nodeName === 'BR' ? (isNullOrUndefined(endNode.lastChild.previousSibling) ? endNode
11028
+ : endNode.lastChild.previousSibling) : endNode.lastChild;
11029
+ while (!isNullOrUndefined(lastSelectionNode) && lastSelectionNode.nodeName !== '#text' && lastSelectionNode.nodeName !== 'IMG' &&
11030
+ lastSelectionNode.nodeName !== 'BR' && lastSelectionNode.nodeName !== 'HR') {
11031
+ lastSelectionNode = lastSelectionNode.lastChild;
11032
+ }
11033
+ this.parent.nodeSelection.setSelectionText(this.parent.currentDocument, startNode, lastSelectionNode, 0, lastSelectionNode.textContent.length);
11034
+ range = this.parent.nodeSelection.getRange(this.parent.currentDocument);
11035
+ }
10967
11036
  if (range.startContainer === range.endContainer && range.startContainer === this.parent.editableElement &&
10968
11037
  range.startOffset === range.endOffset && range.startOffset === 0 &&
10969
11038
  this.parent.editableElement.textContent.length === 0 && (this.parent.editableElement.childNodes[0].nodeName != 'TABLE' &&
@@ -14733,8 +14802,16 @@ class SelectionCommands {
14733
14802
  for (; nodeTraverse && nodeTraverse.parentElement && nodeTraverse.parentElement !== endNode;
14734
14803
  // eslint-disable-next-line
14735
14804
  nodeTraverse = nodeTraverse) {
14736
- if (nodeTraverse.parentElement && nodeTraverse.parentElement.tagName.toLocaleLowerCase()
14737
- === formatNode.tagName.toLocaleLowerCase() &&
14805
+ let nodeTraverseCondition;
14806
+ if (formatNode.nodeName === 'SPAN') {
14807
+ nodeTraverseCondition = nodeTraverse.parentElement.tagName.toLocaleLowerCase()
14808
+ === formatNode.tagName.toLocaleLowerCase() && nodeTraverse.parentElement.getAttribute('style') === formatNodeStyles;
14809
+ }
14810
+ else {
14811
+ nodeTraverseCondition = nodeTraverse.parentElement.tagName.toLocaleLowerCase()
14812
+ === formatNode.tagName.toLocaleLowerCase();
14813
+ }
14814
+ if (nodeTraverse.parentElement && nodeTraverseCondition &&
14738
14815
  (nodeTraverse.parentElement.childElementCount > 1 || range.startOffset > 1)) {
14739
14816
  if (textNode.parentElement && textNode.parentElement.tagName.toLocaleLowerCase()
14740
14817
  === formatNode.tagName.toLocaleLowerCase()) {
@@ -16989,6 +17066,10 @@ const IFRAMEHEADER = `
16989
17066
  body{color:#333;word-wrap:break-word;padding: 8px;box-sizing: border-box;}
16990
17067
  .e-rte-image {border: 0;cursor: pointer;display:
16991
17068
  block;float: none;height: auto;margin: 5px auto;max-width: 100%;position: relative;}
17069
+ .e-rte-image.e-imginline {display: inline-block;float: none;max-width: calc(100% - (2 * 5px));padding: 1px;vertical-align: bottom;}
17070
+ .e-rte-image.e-imgcenter {cursor: pointer;display: block;float: none;margin: 5px auto;max-width: 100%;position: relative;}
17071
+ .e-rte-image.e-imgright { float: right; margin: 0 auto;margin-left: 5px;text-align: right;}
17072
+ .e-rte-image.e-imgleft {float: left;margin: 0 auto;margin-right: 5px;text-align: left;}
16992
17073
  .e-img-caption { display: inline-block; float: none; margin: 5px auto; max-width: 100%;position: relative;}
16993
17074
  .e-img-caption.e-caption-inline {display: inline-block;float: none;
16994
17075
  margin: 5px auto;margin-left: 5px;margin-right: 5px;max-width: calc(100% - (2 * 5px));
@@ -17451,7 +17532,17 @@ class HtmlEditor {
17451
17532
  e.args.keyCode === 13) {
17452
17533
  this.spaceLink(e.args);
17453
17534
  if (this.parent.editorMode === 'HTML' && !this.parent.readonly) {
17454
- this.parent.notify(enterHandler, { args: e.args });
17535
+ const currentLength = this.parent.getText().trim().length;
17536
+ const selectionLength = this.parent.getSelection().length;
17537
+ const totalLength = (currentLength - selectionLength) + 1;
17538
+ if (!(this.parent.maxLength === -1 || totalLength <= this.parent.maxLength) &&
17539
+ e.args.keyCode === 13) {
17540
+ e.args.preventDefault();
17541
+ return;
17542
+ }
17543
+ else {
17544
+ this.parent.notify(enterHandler, { args: e.args });
17545
+ }
17455
17546
  }
17456
17547
  }
17457
17548
  if (e.args.action === 'space') {
@@ -21503,6 +21594,9 @@ class Image {
21503
21594
  if (target.nodeName === 'IMG') {
21504
21595
  this.imgEle = target;
21505
21596
  }
21597
+ if (target.nodeName !== '#document') {
21598
+ this.parent.currentTarget = e.target;
21599
+ }
21506
21600
  if (!isNullOrUndefined(this.dialogObj) && ((
21507
21601
  // eslint-disable-next-line
21508
21602
  !closest(target, '[id=' + "'" + this.dialogObj.element.id + "'" + ']') && this.parent.toolbarSettings.enable && this.parent.getToolbarElement() &&
@@ -21520,12 +21614,12 @@ class Image {
21520
21614
  }
21521
21615
  /* eslint-enable */
21522
21616
  }
21523
- if (e.target.tagName !== 'IMG' && this.imgResizeDiv && !(this.quickToolObj &&
21617
+ if (!(this.parent.iframeSettings.enable && this.parent.currentTarget.nodeName === 'IMG') && e.target.tagName !== 'IMG' && this.imgResizeDiv && !(this.quickToolObj &&
21524
21618
  this.quickToolObj.imageQTBar && this.quickToolObj.imageQTBar.element.contains(e.target)) &&
21525
21619
  this.contentModule.getEditPanel().contains(this.imgResizeDiv)) {
21526
21620
  this.cancelResizeAction();
21527
21621
  }
21528
- if (this.contentModule.getEditPanel().querySelector('.e-img-resize')) {
21622
+ if (this.contentModule.getEditPanel().querySelector('.e-img-resize') && !(this.parent.iframeSettings.enable && this.parent.currentTarget.nodeName === 'IMG')) {
21529
21623
  if (target.tagName !== 'IMG') {
21530
21624
  this.removeResizeEle();
21531
21625
  }
@@ -25131,6 +25225,35 @@ let RichTextEditor = class RichTextEditor extends Component {
25131
25225
  this.formatter.saveData();
25132
25226
  }
25133
25227
  }
25228
+ if (this.maxLength !== -1 && !isNullOrUndefined(tool.command)) {
25229
+ let currentInsertContentLength = 0;
25230
+ if (tool.command === 'Links') {
25231
+ currentInsertContentLength = value.text.length === 0 ?
25232
+ value.url.length : value.text.length;
25233
+ }
25234
+ if (tool.command === 'Images' || tool.command === 'Table' || tool.command === 'Files') {
25235
+ currentInsertContentLength = 1;
25236
+ }
25237
+ if (tool.command === 'InsertHTML') {
25238
+ if (!isNullOrUndefined(value)) {
25239
+ let tempElem = this.createElement('div');
25240
+ tempElem.innerHTML = value;
25241
+ currentInsertContentLength = tempElem.textContent.length;
25242
+ }
25243
+ else if (!isNullOrUndefined(tool.value) && (tool.value === '<hr/>' || tool.value === '<br/>')) {
25244
+ currentInsertContentLength = 1;
25245
+ }
25246
+ }
25247
+ if (tool.command === 'InsertText') {
25248
+ currentInsertContentLength = value.length;
25249
+ }
25250
+ const currentLength = this.getText().trim().length;
25251
+ const selectionLength = this.getSelection().length;
25252
+ const totalLength = (currentLength - selectionLength) + currentInsertContentLength;
25253
+ if (!(this.maxLength === -1 || totalLength <= this.maxLength)) {
25254
+ return;
25255
+ }
25256
+ }
25134
25257
  this.formatter.editorManager.execCommand(tool.command, tool.subCommand ? tool.subCommand : (value ? value : tool.value), null, null, (value ? value : tool.value), (value ? value : tool.value));
25135
25258
  if (option && option.undo) {
25136
25259
  this.formatter.saveData();
@@ -25267,7 +25390,7 @@ let RichTextEditor = class RichTextEditor extends Component {
25267
25390
  range.endContainer;
25268
25391
  let closestLI = closest(endNode, 'LI');
25269
25392
  if (!isNullOrUndefined(closestLI) && endNode.textContent.length === range.endOffset &&
25270
- !range.collapsed) {
25393
+ !range.collapsed && isNullOrUndefined(endNode.nextElementSibling)) {
25271
25394
  closestLI.textContent = closestLI.textContent.trim();
25272
25395
  currentEndOffset = closestLI.textContent.length - 1;
25273
25396
  let currentLastElem = closestLI;
@@ -25363,6 +25486,17 @@ let RichTextEditor = class RichTextEditor extends Component {
25363
25486
  this.autoResize();
25364
25487
  }
25365
25488
  keyUp(e) {
25489
+ if (this.editorMode === "HTML") {
25490
+ const range = this.getRange();
25491
+ if (Browser.userAgent.indexOf('Firefox') != -1 && range.startContainer.nodeName === '#text' &&
25492
+ range.startContainer.parentElement === this.inputElement && this.enterKey !== 'BR') {
25493
+ const range = this.getRange();
25494
+ const tempElem = this.createElement(this.enterKey);
25495
+ range.startContainer.parentElement.insertBefore(tempElem, range.startContainer);
25496
+ tempElem.appendChild(range.startContainer);
25497
+ this.formatter.editorManager.nodeSelection.setSelectionText(this.contentModule.getDocument(), tempElem.childNodes[0], tempElem.childNodes[0], tempElem.childNodes[0].textContent.length, tempElem.childNodes[0].textContent.length);
25498
+ }
25499
+ }
25366
25500
  this.notify(keyUp, { member: 'keyup', args: e });
25367
25501
  if (e.code === 'KeyX' && e.which === 88 && e.keyCode === 88 && e.ctrlKey && (this.inputElement.innerHTML === '' ||
25368
25502
  this.inputElement.innerHTML === '<br>')) {
@@ -25514,7 +25648,7 @@ let RichTextEditor = class RichTextEditor extends Component {
25514
25648
  requestType: 'Paste'
25515
25649
  };
25516
25650
  this.trigger(actionBegin, evenArgs, (pasteArgs) => {
25517
- const currentLength = this.getText().trim().length;
25651
+ const currentLength = this.inputElement.textContent.length;
25518
25652
  const selectionLength = this.getSelection().length;
25519
25653
  const pastedContentLength = (isNullOrUndefined(e) || isNullOrUndefined(e.clipboardData))
25520
25654
  ? 0 : e.clipboardData.getData('text/plain').length;
@@ -26874,6 +27008,7 @@ let RichTextEditor = class RichTextEditor extends Component {
26874
27008
  }
26875
27009
  onIframeMouseDown(e) {
26876
27010
  this.isBlur = false;
27011
+ this.currentTarget = e.target;
26877
27012
  this.notify(iframeMouseDown, e);
26878
27013
  }
26879
27014
  editorKeyDown(e) {
@@ -27200,5 +27335,5 @@ RichTextEditor = __decorate$1([
27200
27335
  * Rich Text Editor component exported items
27201
27336
  */
27202
27337
 
27203
- export { Toolbar$2 as Toolbar, KeyboardEvents$1 as KeyboardEvents, BaseToolbar, BaseQuickToolbar, QuickToolbar, Count, ColorPickerInput, MarkdownToolbarStatus, ExecCommandCallBack, ToolbarAction, MarkdownEditor, HtmlEditor, PasteCleanup, Resize, DropDownButtons, FileManager$1 as FileManager, FullScreen, setAttributes, HtmlToolbarStatus, XhtmlValidation, HTMLFormatter, Formatter, MarkdownFormatter, ContentRender, Render, ToolbarRenderer, Link, Image, ViewSource, Table, DialogRenderer, IframeContentRender, MarkdownRender, PopupRenderer, RichTextEditor, RenderType, ToolbarType, DialogType, executeGroup, created, destroyed, load, initialLoad, contentChanged, initialEnd, iframeMouseDown, destroy, toolbarClick, toolbarRefresh, refreshBegin, toolbarUpdated, bindOnEnd, renderColorPicker, htmlToolbarClick, markdownToolbarClick, destroyColorPicker, modelChanged, keyUp, keyDown, mouseUp, toolbarCreated, toolbarRenderComplete, enableFullScreen, disableFullScreen, dropDownSelect, beforeDropDownItemRender, execCommandCallBack, imageToolbarAction, linkToolbarAction, windowResize, resizeStart, onResize, resizeStop, undo, redo, insertLink, unLink, editLink, openLink, actionBegin, actionComplete, updatedToolbarStatus, actionSuccess, updateToolbarItem, insertImage, insertCompleted, imageLeft, imageRight, imageCenter, imageBreak, imageInline, imageLink, imageAlt, imageDelete, imageCaption, imageSize, sourceCode, updateSource, toolbarOpen, beforeDropDownOpen, selectionSave, selectionRestore, expandPopupClick, count, contentFocus, contentBlur, mouseDown, sourceCodeMouseDown, editAreaClick, scroll, contentscroll, colorPickerChanged, tableColorPickerChanged, focusChange, selectAll$1 as selectAll, selectRange, getSelectedHtml, renderInlineToolbar, paste, imgModule, rtlMode, createTable, docClick, tableToolbarAction, checkUndo, readOnlyMode, pasteClean, enterHandler, beforeDialogOpen, clearDialogObj, dialogOpen, beforeDialogClose, dialogClose, beforeQuickToolbarOpen, quickToolbarOpen, quickToolbarClose, popupHide, imageSelected, imageUploading, imageUploadSuccess, imageUploadFailed, imageRemoving, afterImageDelete, drop, xhtmlValidation, beforeImageUpload, resizeInitialized, renderFileManager, beforeImageDrop, dynamicModule, beforePasteCleanup, afterPasteCleanup, updateTbItemsStatus, showLinkDialog, closeLinkDialog, showImageDialog, closeImageDialog, showTableDialog, closeTableDialog, bindCssClass, CLS_RTE, CLS_RTL, CLS_CONTENT, CLS_DISABLED, CLS_SCRIPT_SHEET, CLS_STYLE_SHEET, CLS_TOOLBAR, CLS_TB_FIXED, CLS_TB_FLOAT, CLS_TB_ABS_FLOAT, CLS_INLINE, CLS_TB_INLINE, CLS_RTE_EXPAND_TB, CLS_FULL_SCREEN, CLS_QUICK_TB, CLS_POP, CLS_TB_STATIC, CLS_QUICK_POP, CLS_QUICK_DROPDOWN, CLS_IMAGE_POP, CLS_INLINE_POP, CLS_INLINE_DROPDOWN, CLS_DROPDOWN_POPUP, CLS_DROPDOWN_ICONS, CLS_DROPDOWN_ITEMS, CLS_DROPDOWN_BTN, CLS_RTE_CONTENT, CLS_TB_ITEM, CLS_TB_EXTENDED, CLS_TB_WRAP, CLS_POPUP, CLS_SEPARATOR, CLS_MINIMIZE, CLS_MAXIMIZE, CLS_BACK, CLS_SHOW, CLS_HIDE, CLS_VISIBLE, CLS_FOCUS, CLS_RM_WHITE_SPACE, CLS_IMGRIGHT, CLS_IMGLEFT, CLS_IMGCENTER, CLS_IMGBREAK, CLS_CAPTION, CLS_RTE_CAPTION, CLS_CAPINLINE, CLS_IMGINLINE, CLS_COUNT, CLS_WARNING, CLS_ERROR, CLS_ICONS, CLS_ACTIVE, CLS_EXPAND_OPEN, CLS_RTE_ELEMENTS, CLS_TB_BTN, CLS_HR_SEPARATOR, CLS_TB_IOS_FIX, CLS_LIST_PRIMARY_CONTENT, CLS_NUMBERFORMATLIST_TB_BTN, CLS_BULLETFORMATLIST_TB_BTN, CLS_FORMATS_TB_BTN, CLS_FONT_NAME_TB_BTN, CLS_FONT_SIZE_TB_BTN, CLS_ALIGN_TB_BTN, CLS_FONT_COLOR_TARGET, CLS_BACKGROUND_COLOR_TARGET, CLS_COLOR_CONTENT, CLS_FONT_COLOR_DROPDOWN, CLS_BACKGROUND_COLOR_DROPDOWN, CLS_COLOR_PALETTE, CLS_FONT_COLOR_PICKER, CLS_BACKGROUND_COLOR_PICKER, CLS_RTE_READONLY, CLS_TABLE_SEL, CLS_TB_DASH_BOR, CLS_TB_ALT_BOR, CLS_TB_COL_RES, CLS_TB_ROW_RES, CLS_TB_BOX_RES, CLS_RTE_HIDDEN, CLS_RTE_PASTE_KEEP_FORMAT, CLS_RTE_PASTE_REMOVE_FORMAT, CLS_RTE_PASTE_PLAIN_FORMAT, CLS_RTE_PASTE_OK, CLS_RTE_PASTE_CANCEL, CLS_RTE_DIALOG_MIN_HEIGHT, CLS_RTE_RES_HANDLE, CLS_RTE_RES_EAST, CLS_RTE_IMAGE, CLS_RESIZE, CLS_IMG_FOCUS, CLS_RTE_DRAG_IMAGE, CLS_RTE_UPLOAD_POPUP, CLS_POPUP_OPEN, CLS_IMG_RESIZE, CLS_DROPAREA, CLS_IMG_INNER, CLS_UPLOAD_FILES, CLS_RTE_DIALOG_UPLOAD, CLS_RTE_RES_CNT, CLS_CUSTOM_TILE, CLS_NOCOLOR_ITEM, CLS_TABLE, CLS_TABLE_BORDER, CLS_RTE_TABLE_RESIZE, CLS_RTE_FIXED_TB_EXPAND, CLS_RTE_TB_ENABLED, getIndex, hasClass, getDropDownValue, isIDevice, getFormattedFontSize, pageYOffset, getTooltipText, setToolbarStatus, getCollection, getTBarItemsIndex, updateUndoRedoStatus, dispatchEvent, parseHtml, getTextNodesUnder, toObjectLowerCase, getEditValue, updateTextNode, getDefaultValue, isEditableValueEmpty, decode, sanitizeHelper, convertToBlob, getLocaleFontFormat, updateDropDownFontFormatLocale, ServiceLocator, RendererFactory, EditorManager, IMAGE, TABLE, LINK, INSERT_ROW, INSERT_COLUMN, DELETEROW, DELETECOLUMN, REMOVETABLE, TABLEHEADER, TABLE_VERTICAL_ALIGN, TABLE_MERGE, TABLE_VERTICAL_SPLIT, TABLE_HORIZONTAL_SPLIT, TABLE_MOVE, ALIGNMENT_TYPE, INDENT_TYPE, DEFAULT_TAG, BLOCK_TAGS, IGNORE_BLOCK_TAGS, TABLE_BLOCK_TAGS, SELECTION_TYPE, INSERTHTML_TYPE, INSERT_TEXT_TYPE, CLEAR_TYPE, SELF_CLOSING_TAGS, CLASS_IMAGE_RIGHT, CLASS_IMAGE_LEFT, CLASS_IMAGE_CENTER, CLASS_IMAGE_BREAK, CLASS_CAPTION, CLASS_RTE_CAPTION, CLASS_CAPTION_INLINE, CLASS_IMAGE_INLINE, Lists, markerClassName, DOMNode, Alignments, Indents, Formats, LinkCommand, InsertMethods, InsertTextExec, InsertHtmlExec, InsertHtml, IsFormatted, MsWordPaste, NodeCutter, ImageCommand, SelectionCommands, SelectionBasedExec, ClearFormatExec, UndoRedoManager, TableCommand, statusCollection, ToolbarStatus, NodeSelection, MarkdownParser, LISTS_COMMAND, selectionCommand, LINK_COMMAND, CLEAR_COMMAND, MD_TABLE, ClearFormat, MDLists, MDFormats, MarkdownSelection, UndoRedoCommands, MDSelectionFormats, MDLink, MDTable, markdownFormatTags, markdownSelectionTags, markdownListsTags, htmlKeyConfig, markdownKeyConfig, pasteCleanupGroupingTags, listConversionFilters, selfClosingTags, KEY_DOWN, ACTION, FORMAT_TYPE, KEY_DOWN_HANDLER, LIST_TYPE, KEY_UP_HANDLER, KEY_UP, MODEL_CHANGED_PLUGIN, MODEL_CHANGED, MS_WORD_CLEANUP_PLUGIN, MS_WORD_CLEANUP, ON_BEGIN, SPACE_ACTION };
27338
+ export { Toolbar$2 as Toolbar, KeyboardEvents$1 as KeyboardEvents, BaseToolbar, BaseQuickToolbar, QuickToolbar, Count, ColorPickerInput, MarkdownToolbarStatus, ExecCommandCallBack, ToolbarAction, MarkdownEditor, HtmlEditor, PasteCleanup, Resize, DropDownButtons, FileManager$1 as FileManager, FullScreen, setAttributes, HtmlToolbarStatus, XhtmlValidation, HTMLFormatter, Formatter, MarkdownFormatter, ContentRender, Render, ToolbarRenderer, Link, Image, ViewSource, Table, DialogRenderer, IframeContentRender, MarkdownRender, PopupRenderer, RichTextEditor, RenderType, ToolbarType, DialogType, executeGroup, created, destroyed, load, initialLoad, contentChanged, initialEnd, iframeMouseDown, destroy, toolbarClick, toolbarRefresh, refreshBegin, toolbarUpdated, bindOnEnd, renderColorPicker, htmlToolbarClick, markdownToolbarClick, destroyColorPicker, modelChanged, keyUp, keyDown, mouseUp, toolbarCreated, toolbarRenderComplete, enableFullScreen, disableFullScreen, dropDownSelect, beforeDropDownItemRender, execCommandCallBack, imageToolbarAction, linkToolbarAction, windowResize, resizeStart, onResize, resizeStop, undo, redo, insertLink, unLink, editLink, openLink, actionBegin, actionComplete, updatedToolbarStatus, actionSuccess, updateToolbarItem, insertImage, insertCompleted, imageLeft, imageRight, imageCenter, imageBreak, imageInline, imageLink, imageAlt, imageDelete, imageCaption, imageSize, sourceCode, updateSource, toolbarOpen, beforeDropDownOpen, selectionSave, selectionRestore, expandPopupClick, count, contentFocus, contentBlur, mouseDown, sourceCodeMouseDown, editAreaClick, scroll, contentscroll, colorPickerChanged, tableColorPickerChanged, focusChange, selectAll$1 as selectAll, selectRange, getSelectedHtml, renderInlineToolbar, paste, imgModule, rtlMode, createTable, docClick, tableToolbarAction, checkUndo, readOnlyMode, pasteClean, enterHandler, beforeDialogOpen, clearDialogObj, dialogOpen, beforeDialogClose, dialogClose, beforeQuickToolbarOpen, quickToolbarOpen, quickToolbarClose, popupHide, imageSelected, imageUploading, imageUploadSuccess, imageUploadFailed, imageRemoving, afterImageDelete, drop, xhtmlValidation, beforeImageUpload, resizeInitialized, renderFileManager, beforeImageDrop, dynamicModule, beforePasteCleanup, afterPasteCleanup, updateTbItemsStatus, showLinkDialog, closeLinkDialog, showImageDialog, closeImageDialog, showTableDialog, closeTableDialog, bindCssClass, blockInlineEmptyNodes, CLS_RTE, CLS_RTL, CLS_CONTENT, CLS_DISABLED, CLS_SCRIPT_SHEET, CLS_STYLE_SHEET, CLS_TOOLBAR, CLS_TB_FIXED, CLS_TB_FLOAT, CLS_TB_ABS_FLOAT, CLS_INLINE, CLS_TB_INLINE, CLS_RTE_EXPAND_TB, CLS_FULL_SCREEN, CLS_QUICK_TB, CLS_POP, CLS_TB_STATIC, CLS_QUICK_POP, CLS_QUICK_DROPDOWN, CLS_IMAGE_POP, CLS_INLINE_POP, CLS_INLINE_DROPDOWN, CLS_DROPDOWN_POPUP, CLS_DROPDOWN_ICONS, CLS_DROPDOWN_ITEMS, CLS_DROPDOWN_BTN, CLS_RTE_CONTENT, CLS_TB_ITEM, CLS_TB_EXTENDED, CLS_TB_WRAP, CLS_POPUP, CLS_SEPARATOR, CLS_MINIMIZE, CLS_MAXIMIZE, CLS_BACK, CLS_SHOW, CLS_HIDE, CLS_VISIBLE, CLS_FOCUS, CLS_RM_WHITE_SPACE, CLS_IMGRIGHT, CLS_IMGLEFT, CLS_IMGCENTER, CLS_IMGBREAK, CLS_CAPTION, CLS_RTE_CAPTION, CLS_CAPINLINE, CLS_IMGINLINE, CLS_COUNT, CLS_WARNING, CLS_ERROR, CLS_ICONS, CLS_ACTIVE, CLS_EXPAND_OPEN, CLS_RTE_ELEMENTS, CLS_TB_BTN, CLS_HR_SEPARATOR, CLS_TB_IOS_FIX, CLS_LIST_PRIMARY_CONTENT, CLS_NUMBERFORMATLIST_TB_BTN, CLS_BULLETFORMATLIST_TB_BTN, CLS_FORMATS_TB_BTN, CLS_FONT_NAME_TB_BTN, CLS_FONT_SIZE_TB_BTN, CLS_ALIGN_TB_BTN, CLS_FONT_COLOR_TARGET, CLS_BACKGROUND_COLOR_TARGET, CLS_COLOR_CONTENT, CLS_FONT_COLOR_DROPDOWN, CLS_BACKGROUND_COLOR_DROPDOWN, CLS_COLOR_PALETTE, CLS_FONT_COLOR_PICKER, CLS_BACKGROUND_COLOR_PICKER, CLS_RTE_READONLY, CLS_TABLE_SEL, CLS_TB_DASH_BOR, CLS_TB_ALT_BOR, CLS_TB_COL_RES, CLS_TB_ROW_RES, CLS_TB_BOX_RES, CLS_RTE_HIDDEN, CLS_RTE_PASTE_KEEP_FORMAT, CLS_RTE_PASTE_REMOVE_FORMAT, CLS_RTE_PASTE_PLAIN_FORMAT, CLS_RTE_PASTE_OK, CLS_RTE_PASTE_CANCEL, CLS_RTE_DIALOG_MIN_HEIGHT, CLS_RTE_RES_HANDLE, CLS_RTE_RES_EAST, CLS_RTE_IMAGE, CLS_RESIZE, CLS_IMG_FOCUS, CLS_RTE_DRAG_IMAGE, CLS_RTE_UPLOAD_POPUP, CLS_POPUP_OPEN, CLS_IMG_RESIZE, CLS_DROPAREA, CLS_IMG_INNER, CLS_UPLOAD_FILES, CLS_RTE_DIALOG_UPLOAD, CLS_RTE_RES_CNT, CLS_CUSTOM_TILE, CLS_NOCOLOR_ITEM, CLS_TABLE, CLS_TABLE_BORDER, CLS_RTE_TABLE_RESIZE, CLS_RTE_FIXED_TB_EXPAND, CLS_RTE_TB_ENABLED, getIndex, hasClass, getDropDownValue, isIDevice, getFormattedFontSize, pageYOffset, getTooltipText, setToolbarStatus, getCollection, getTBarItemsIndex, updateUndoRedoStatus, dispatchEvent, parseHtml, getTextNodesUnder, toObjectLowerCase, getEditValue, updateTextNode, getDefaultValue, isEditableValueEmpty, decode, sanitizeHelper, convertToBlob, getLocaleFontFormat, updateDropDownFontFormatLocale, ServiceLocator, RendererFactory, EditorManager, IMAGE, TABLE, LINK, INSERT_ROW, INSERT_COLUMN, DELETEROW, DELETECOLUMN, REMOVETABLE, TABLEHEADER, TABLE_VERTICAL_ALIGN, TABLE_MERGE, TABLE_VERTICAL_SPLIT, TABLE_HORIZONTAL_SPLIT, TABLE_MOVE, ALIGNMENT_TYPE, INDENT_TYPE, DEFAULT_TAG, BLOCK_TAGS, IGNORE_BLOCK_TAGS, TABLE_BLOCK_TAGS, SELECTION_TYPE, INSERTHTML_TYPE, INSERT_TEXT_TYPE, CLEAR_TYPE, SELF_CLOSING_TAGS, CLASS_IMAGE_RIGHT, CLASS_IMAGE_LEFT, CLASS_IMAGE_CENTER, CLASS_IMAGE_BREAK, CLASS_CAPTION, CLASS_RTE_CAPTION, CLASS_CAPTION_INLINE, CLASS_IMAGE_INLINE, Lists, markerClassName, DOMNode, Alignments, Indents, Formats, LinkCommand, InsertMethods, InsertTextExec, InsertHtmlExec, InsertHtml, IsFormatted, MsWordPaste, NodeCutter, ImageCommand, SelectionCommands, SelectionBasedExec, ClearFormatExec, UndoRedoManager, TableCommand, statusCollection, ToolbarStatus, NodeSelection, MarkdownParser, LISTS_COMMAND, selectionCommand, LINK_COMMAND, CLEAR_COMMAND, MD_TABLE, ClearFormat, MDLists, MDFormats, MarkdownSelection, UndoRedoCommands, MDSelectionFormats, MDLink, MDTable, markdownFormatTags, markdownSelectionTags, markdownListsTags, htmlKeyConfig, markdownKeyConfig, pasteCleanupGroupingTags, listConversionFilters, selfClosingTags, KEY_DOWN, ACTION, FORMAT_TYPE, KEY_DOWN_HANDLER, LIST_TYPE, KEY_UP_HANDLER, KEY_UP, MODEL_CHANGED_PLUGIN, MODEL_CHANGED, MS_WORD_CLEANUP_PLUGIN, MS_WORD_CLEANUP, ON_BEGIN, SPACE_ACTION };
27204
27339
  //# sourceMappingURL=ej2-richtexteditor.es2015.js.map