@syncfusion/ej2-richtexteditor 23.2.7-52849 → 24.1.41-569421
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/.eslintrc.json +260 -0
- package/CHANGELOG.md +203 -1
- package/dist/ej2-richtexteditor.umd.min.js +1 -1
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +9873 -7941
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +9967 -8034
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/package.json +13 -13
- package/src/common/config.d.ts +7 -0
- package/src/common/config.js +12 -1
- package/src/common/constant.d.ts +6 -0
- package/src/common/constant.js +6 -0
- package/src/common/interface.d.ts +12 -0
- package/src/common/types.d.ts +6 -0
- package/src/common/util.d.ts +6 -0
- package/src/common/util.js +61 -20
- package/src/editor-manager/base/constant.d.ts +6 -0
- package/src/editor-manager/base/constant.js +6 -0
- package/src/editor-manager/base/editor-manager.d.ts +5 -0
- package/src/editor-manager/base/editor-manager.js +59 -0
- package/src/editor-manager/base/interface.d.ts +8 -0
- package/src/editor-manager/plugin/audio.js +13 -3
- package/src/editor-manager/plugin/dom-node.d.ts +5 -1
- package/src/editor-manager/plugin/dom-node.js +169 -28
- package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -0
- package/src/editor-manager/plugin/format-painter-actions.js +19 -1
- package/src/editor-manager/plugin/formats.d.ts +1 -0
- package/src/editor-manager/plugin/formats.js +38 -3
- package/src/editor-manager/plugin/image.js +38 -15
- package/src/editor-manager/plugin/indents.js +1 -1
- package/src/editor-manager/plugin/inserthtml.d.ts +1 -0
- package/src/editor-manager/plugin/inserthtml.js +83 -20
- package/src/editor-manager/plugin/link.js +8 -3
- package/src/editor-manager/plugin/lists.js +159 -70
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +3 -0
- package/src/editor-manager/plugin/ms-word-clean-up.js +215 -85
- package/src/editor-manager/plugin/nodecutter.js +5 -2
- package/src/editor-manager/plugin/selection-commands.d.ts +2 -0
- package/src/editor-manager/plugin/selection-commands.js +248 -4
- package/src/editor-manager/plugin/table.d.ts +4 -1
- package/src/editor-manager/plugin/table.js +95 -49
- package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
- package/src/editor-manager/plugin/toolbar-status.js +20 -10
- package/src/editor-manager/plugin/undo.d.ts +1 -0
- package/src/editor-manager/plugin/undo.js +21 -1
- package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +4 -3
- package/src/rich-text-editor/actions/base-quick-toolbar.js +61 -14
- package/src/rich-text-editor/actions/base-toolbar.js +33 -34
- package/src/rich-text-editor/actions/color-picker.d.ts +1 -0
- package/src/rich-text-editor/actions/color-picker.js +13 -3
- package/src/rich-text-editor/actions/count.js +1 -1
- package/src/rich-text-editor/actions/dropdown-buttons.d.ts +1 -0
- package/src/rich-text-editor/actions/dropdown-buttons.js +11 -5
- package/src/rich-text-editor/actions/emoji-picker.js +16 -7
- package/src/rich-text-editor/actions/enter-key.js +10 -5
- package/src/rich-text-editor/actions/file-manager.js +1 -1
- package/src/rich-text-editor/actions/format-painter.js +5 -2
- package/src/rich-text-editor/actions/full-screen.js +5 -4
- package/src/rich-text-editor/actions/html-editor.d.ts +2 -0
- package/src/rich-text-editor/actions/html-editor.js +124 -17
- package/src/rich-text-editor/actions/keyboard.js +3 -1
- package/src/rich-text-editor/actions/markdown-editor.js +3 -1
- package/src/rich-text-editor/actions/paste-clean-up.d.ts +5 -0
- package/src/rich-text-editor/actions/paste-clean-up.js +156 -28
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +8 -0
- package/src/rich-text-editor/actions/quick-toolbar.js +59 -12
- package/src/rich-text-editor/actions/resize.js +2 -1
- package/src/rich-text-editor/actions/toolbar-action.js +1 -1
- package/src/rich-text-editor/actions/toolbar.d.ts +3 -3
- package/src/rich-text-editor/actions/toolbar.js +35 -96
- package/src/rich-text-editor/base/classes.d.ts +5 -5
- package/src/rich-text-editor/base/classes.js +5 -5
- package/src/rich-text-editor/base/constant.d.ts +46 -1
- package/src/rich-text-editor/base/constant.js +215 -1
- package/src/rich-text-editor/base/interface.d.ts +47 -3
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +3 -3
- package/src/rich-text-editor/base/rich-text-editor.d.ts +16 -4
- package/src/rich-text-editor/base/rich-text-editor.js +184 -97
- package/src/rich-text-editor/base/util.js +22 -4
- package/src/rich-text-editor/formatter/formatter.js +16 -4
- package/src/rich-text-editor/models/default-locale.js +31 -25
- package/src/rich-text-editor/models/items.js +3 -3
- package/src/rich-text-editor/models/toolbar-settings-model.d.ts +1 -1
- package/src/rich-text-editor/models/toolbar-settings.d.ts +1 -1
- package/src/rich-text-editor/models/toolbar-settings.js +1 -1
- package/src/rich-text-editor/renderer/audio-module.d.ts +1 -0
- package/src/rich-text-editor/renderer/audio-module.js +22 -4
- package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -0
- package/src/rich-text-editor/renderer/dialog-renderer.js +22 -2
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +2 -1
- package/src/rich-text-editor/renderer/image-module.d.ts +9 -1
- package/src/rich-text-editor/renderer/image-module.js +248 -213
- package/src/rich-text-editor/renderer/link-module.js +53 -24
- package/src/rich-text-editor/renderer/table-module.d.ts +10 -1
- package/src/rich-text-editor/renderer/table-module.js +343 -168
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +3 -6
- package/src/rich-text-editor/renderer/toolbar-renderer.js +106 -101
- package/src/rich-text-editor/renderer/video-module.d.ts +3 -0
- package/src/rich-text-editor/renderer/video-module.js +82 -41
- package/src/rich-text-editor/renderer/view-source.d.ts +1 -0
- package/src/rich-text-editor/renderer/view-source.js +15 -5
- package/src/selection/selection.js +3 -0
- package/styles/bootstrap-dark.css +353 -103
- package/styles/bootstrap.css +357 -112
- package/styles/bootstrap4.css +338 -96
- package/styles/bootstrap5-dark.css +344 -97
- package/styles/bootstrap5.css +344 -97
- package/styles/fabric-dark.css +332 -90
- package/styles/fabric.css +333 -91
- package/styles/fluent-dark.css +360 -98
- package/styles/fluent.css +360 -98
- package/styles/highcontrast-light.css +332 -90
- package/styles/highcontrast.css +336 -91
- package/styles/material-dark.css +339 -92
- package/styles/material.css +339 -92
- package/styles/material3-dark.css +348 -100
- package/styles/material3.css +348 -100
- package/styles/rich-text-editor/_bds-definition.scss +279 -0
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +17 -13
- package/styles/rich-text-editor/_bootstrap-definition.scss +22 -19
- package/styles/rich-text-editor/_bootstrap4-definition.scss +11 -7
- package/styles/rich-text-editor/_bootstrap5-definition.scss +8 -4
- package/styles/rich-text-editor/_fabric-dark-definition.scss +6 -2
- package/styles/rich-text-editor/_fabric-definition.scss +7 -3
- package/styles/rich-text-editor/_fluent-definition.scss +14 -10
- package/styles/rich-text-editor/_fusionnew-definition.scss +7 -3
- package/styles/rich-text-editor/_highcontrast-definition.scss +7 -3
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +6 -2
- package/styles/rich-text-editor/_layout.scss +211 -34
- package/styles/rich-text-editor/_material-dark-definition.scss +6 -2
- package/styles/rich-text-editor/_material-definition.scss +6 -2
- package/styles/rich-text-editor/_material3-definition.scss +16 -12
- package/styles/rich-text-editor/_tailwind-definition.scss +23 -19
- package/styles/rich-text-editor/_theme.scss +113 -24
- package/styles/rich-text-editor/bootstrap-dark.css +353 -103
- package/styles/rich-text-editor/bootstrap.css +357 -112
- package/styles/rich-text-editor/bootstrap4.css +338 -96
- package/styles/rich-text-editor/bootstrap5-dark.css +344 -97
- package/styles/rich-text-editor/bootstrap5.css +344 -97
- package/styles/rich-text-editor/fabric-dark.css +332 -90
- package/styles/rich-text-editor/fabric.css +333 -91
- package/styles/rich-text-editor/fluent-dark.css +360 -98
- package/styles/rich-text-editor/fluent.css +360 -98
- package/styles/rich-text-editor/highcontrast-light.css +332 -90
- package/styles/rich-text-editor/highcontrast.css +336 -91
- package/styles/rich-text-editor/icons/_bds.scss +348 -0
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +4 -4
- package/styles/rich-text-editor/icons/_bootstrap.scss +4 -4
- package/styles/rich-text-editor/icons/_bootstrap4.scss +4 -4
- package/styles/rich-text-editor/icons/_bootstrap5.scss +4 -4
- package/styles/rich-text-editor/icons/_fabric-dark.scss +4 -4
- package/styles/rich-text-editor/icons/_fabric.scss +4 -4
- package/styles/rich-text-editor/icons/_fluent.scss +4 -4
- package/styles/rich-text-editor/icons/_fusionnew.scss +3 -3
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +4 -4
- package/styles/rich-text-editor/icons/_highcontrast.scss +4 -4
- package/styles/rich-text-editor/icons/_material-dark.scss +4 -4
- package/styles/rich-text-editor/icons/_material.scss +4 -4
- package/styles/rich-text-editor/icons/_material3.scss +4 -4
- package/styles/rich-text-editor/icons/_tailwind.scss +4 -4
- package/styles/rich-text-editor/material-dark.css +339 -92
- package/styles/rich-text-editor/material.css +339 -92
- package/styles/rich-text-editor/material3-dark.css +348 -100
- package/styles/rich-text-editor/material3.css +348 -100
- package/styles/rich-text-editor/tailwind-dark.css +383 -113
- package/styles/rich-text-editor/tailwind.css +383 -113
- package/styles/tailwind-dark.css +383 -113
- package/styles/tailwind.css +383 -113
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -41
- package/.github/PULL_REQUEST_TEMPLATE/Feature.md +0 -27
|
@@ -52,6 +52,13 @@ var Toolbar = /** @class */ (function () {
|
|
|
52
52
|
case 'escape':
|
|
53
53
|
this.parent.contentModule.getEditPanel().focus();
|
|
54
54
|
break;
|
|
55
|
+
case 'enter':
|
|
56
|
+
if (e.target.classList.contains('e-hor-nav')) {
|
|
57
|
+
this.adjustContentHeight(e.target, true);
|
|
58
|
+
}
|
|
59
|
+
if (!isNullOrUndefined(e.target) && (e.target.classList.contains("e-rte-fontcolor-dropdown") || e.target.classList.contains("e-rte-backgroundcolor-dropdown"))) {
|
|
60
|
+
this.parent.notify(events.showColorPicker, { toolbarClick: e.target.classList.contains("e-rte-fontcolor-dropdown") ? "fontcolor" : "backgroundcolor" });
|
|
61
|
+
}
|
|
55
62
|
}
|
|
56
63
|
};
|
|
57
64
|
Toolbar.prototype.createToolbarElement = function () {
|
|
@@ -60,7 +67,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
60
67
|
return;
|
|
61
68
|
}
|
|
62
69
|
else {
|
|
63
|
-
if (
|
|
70
|
+
if (!this.parent.inlineMode.enable) {
|
|
64
71
|
this.tbWrapper = this.parent.createElement('div', {
|
|
65
72
|
id: this.parent.getID() + '_toolbar_wrapper',
|
|
66
73
|
innerHTML: this.tbElement.outerHTML,
|
|
@@ -107,7 +114,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
107
114
|
items: this.parent.toolbarSettings.items,
|
|
108
115
|
mode: tBarMode,
|
|
109
116
|
target: ele,
|
|
110
|
-
cssClass: this.parent.
|
|
117
|
+
cssClass: this.parent.getCssClass()
|
|
111
118
|
});
|
|
112
119
|
if (this.parent.toolbarSettings.type === ToolbarType.Expand) {
|
|
113
120
|
addClass([ele], ['e-rte-tb-mobile']);
|
|
@@ -143,72 +150,14 @@ var Toolbar = /** @class */ (function () {
|
|
|
143
150
|
}
|
|
144
151
|
};
|
|
145
152
|
Toolbar.prototype.toggleFloatClass = function (e) {
|
|
146
|
-
var topValue;
|
|
147
|
-
var isBody = false;
|
|
148
|
-
var isFloat = false;
|
|
149
|
-
var scrollParent;
|
|
150
153
|
var floatOffset = this.parent.floatingToolbarOffset;
|
|
151
|
-
if (
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
else if (e && e.target !== document) {
|
|
155
|
-
scrollParent = e.target;
|
|
156
|
-
}
|
|
157
|
-
else {
|
|
158
|
-
isBody = true;
|
|
159
|
-
scrollParent = document.body;
|
|
160
|
-
}
|
|
161
|
-
var tbHeight = this.getToolbarHeight() + this.getExpandTBarPopHeight();
|
|
162
|
-
if (this.isTransformChild) {
|
|
163
|
-
topValue = 0;
|
|
164
|
-
var scrollParentRelativeTop = 0;
|
|
165
|
-
var trgHeight = this.parent.element.offsetHeight;
|
|
166
|
-
if (isBody) {
|
|
167
|
-
var bodyStyle = window.getComputedStyle(scrollParent);
|
|
168
|
-
scrollParentRelativeTop = parseFloat(bodyStyle.marginTop.split('px')[0]) + parseFloat(bodyStyle.paddingTop.split('px')[0]);
|
|
169
|
-
}
|
|
170
|
-
var targetTop = this.parent.element.getBoundingClientRect().top;
|
|
171
|
-
var scrollParentYOffset = (Browser.isMSPointer && isBody) ? window.pageYOffset : scrollParent.parentElement.scrollTop;
|
|
172
|
-
var scrollParentRect = scrollParent.getBoundingClientRect();
|
|
173
|
-
var scrollParentTop = (!isBody) ? scrollParentRect.top : (scrollParentRect.top + scrollParentYOffset);
|
|
174
|
-
var outOfRange = ((targetTop - ((!isBody) ? scrollParentTop : 0))
|
|
175
|
-
+ trgHeight > tbHeight + floatOffset) ? false : true;
|
|
176
|
-
if (targetTop > (scrollParentTop + floatOffset) || targetTop < -trgHeight || ((targetTop < 0) ? outOfRange : false)) {
|
|
177
|
-
isFloat = false;
|
|
178
|
-
removeClass([this.tbElement], [classes.CLS_TB_ABS_FLOAT]);
|
|
179
|
-
}
|
|
180
|
-
else if (targetTop < (scrollParentTop + floatOffset)) {
|
|
181
|
-
if (targetTop < 0) {
|
|
182
|
-
topValue = (-targetTop) + scrollParentTop;
|
|
183
|
-
}
|
|
184
|
-
else {
|
|
185
|
-
topValue = scrollParentTop - targetTop;
|
|
186
|
-
}
|
|
187
|
-
topValue = (isBody) ? topValue - scrollParentRelativeTop : topValue;
|
|
188
|
-
addClass([this.tbElement], [classes.CLS_TB_ABS_FLOAT]);
|
|
189
|
-
isFloat = true;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
else {
|
|
193
|
-
var parent_1 = this.parent.element.getBoundingClientRect();
|
|
194
|
-
if (window.innerHeight < parent_1.top) {
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
topValue = (e && e.target !== document) ? scrollParent.getBoundingClientRect().top : 0;
|
|
198
|
-
if ((parent_1.bottom < (floatOffset + tbHeight + topValue)) || parent_1.bottom < 0 || parent_1.top > floatOffset + topValue) {
|
|
199
|
-
isFloat = false;
|
|
200
|
-
}
|
|
201
|
-
else if (parent_1.top < floatOffset || parent_1.top < floatOffset + topValue) {
|
|
202
|
-
isFloat = true;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
if (!isFloat) {
|
|
206
|
-
removeClass([this.tbElement], [classes.CLS_TB_FLOAT]);
|
|
207
|
-
setStyleAttribute(this.tbElement, { top: 0 + 'px', width: '100%' });
|
|
154
|
+
if (this.parent.toolbarSettings.enableFloating) {
|
|
155
|
+
addClass([this.tbElement.parentElement], [classes.CLS_TB_FLOAT]);
|
|
156
|
+
setStyleAttribute(this.tbElement.parentElement, { top: (floatOffset) + 'px' });
|
|
208
157
|
}
|
|
209
158
|
else {
|
|
210
|
-
|
|
211
|
-
setStyleAttribute(this.tbElement, {
|
|
159
|
+
removeClass([this.tbElement.parentElement], [classes.CLS_TB_FLOAT]);
|
|
160
|
+
setStyleAttribute(this.tbElement.parentElement, { top: '' });
|
|
212
161
|
}
|
|
213
162
|
};
|
|
214
163
|
Toolbar.prototype.renderToolbar = function () {
|
|
@@ -226,7 +175,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
226
175
|
items: this.parent.toolbarSettings.items,
|
|
227
176
|
mode: this.getToolbarMode(),
|
|
228
177
|
target: this.tbElement,
|
|
229
|
-
cssClass: this.parent.
|
|
178
|
+
cssClass: this.parent.getCssClass()
|
|
230
179
|
});
|
|
231
180
|
if (!this.parent.inlineMode.enable) {
|
|
232
181
|
if (this.parent.toolbarSettings.enableFloating) {
|
|
@@ -256,7 +205,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
256
205
|
});
|
|
257
206
|
this.refreshToolbarOverflow();
|
|
258
207
|
}
|
|
259
|
-
var divEle = this.parent.element.querySelector('.
|
|
208
|
+
var divEle = this.parent.element.querySelector('.' + classes.CLS_RTE_SOURCE_CODE_TXTAREA);
|
|
260
209
|
var iframeEle = this.parent.element.querySelector('.e-source-content');
|
|
261
210
|
if ((!this.parent.iframeSettings.enable && (!isNOU(divEle) && divEle.style.display === 'block')) ||
|
|
262
211
|
(this.parent.iframeSettings.enable && (!isNOU(iframeEle) && iframeEle.style.display === 'block'))) {
|
|
@@ -386,7 +335,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
386
335
|
baseToolbar.toolbarObj.enableItems(item, isEnable);
|
|
387
336
|
}
|
|
388
337
|
}
|
|
389
|
-
if (!select('.
|
|
338
|
+
if (!select('.' + classes.CLS_RTE_SOURCE_CODE_TXTAREA, this.parent.element) && !muteToolbarUpdate) {
|
|
390
339
|
updateUndoRedoStatus(baseToolbar, this.parent.formatter.editorManager.undoRedoManager.getUndoStatus());
|
|
391
340
|
}
|
|
392
341
|
};
|
|
@@ -514,19 +463,6 @@ var Toolbar = /** @class */ (function () {
|
|
|
514
463
|
this.toolbarActionModule.parent = null;
|
|
515
464
|
this.dropDownModule.parent = null;
|
|
516
465
|
};
|
|
517
|
-
Toolbar.prototype.scrollHandler = function (e) {
|
|
518
|
-
if (!this.parent.inlineMode.enable) {
|
|
519
|
-
if (this.parent.toolbarSettings.enableFloating && this.getDOMVisibility(this.tbElement)) {
|
|
520
|
-
this.toggleFloatClass(e.args);
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
};
|
|
524
|
-
Toolbar.prototype.getDOMVisibility = function (el) {
|
|
525
|
-
if (!el.offsetParent && el.offsetWidth === 0 && el.offsetHeight === 0) {
|
|
526
|
-
return false;
|
|
527
|
-
}
|
|
528
|
-
return true;
|
|
529
|
-
};
|
|
530
466
|
Toolbar.prototype.mouseDownHandler = function () {
|
|
531
467
|
if (Browser.isDevice && this.parent.inlineMode.enable && !isIDevice()) {
|
|
532
468
|
this.showFixedTBar();
|
|
@@ -559,25 +495,24 @@ var Toolbar = /** @class */ (function () {
|
|
|
559
495
|
};
|
|
560
496
|
Toolbar.prototype.toolbarClickHandler = function (e) {
|
|
561
497
|
var trg = closest(e.originalEvent.target, '.e-hor-nav');
|
|
498
|
+
this.adjustContentHeight(trg, false);
|
|
499
|
+
};
|
|
500
|
+
Toolbar.prototype.adjustContentHeight = function (trg, isKeyboard) {
|
|
562
501
|
if (trg && this.parent.toolbarSettings.type === ToolbarType.Expand && !isNOU(trg)) {
|
|
563
|
-
var
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
}
|
|
568
|
-
if (!trg.classList.contains('e-nav-active')) {
|
|
569
|
-
removeClass([this.tbElement], [classes.CLS_EXPAND_OPEN]);
|
|
570
|
-
this.parent.setContentHeight('toolbar', false);
|
|
502
|
+
var hasActiveClass = trg.classList.contains('e-nav-active');
|
|
503
|
+
var isExpand = isKeyboard ? (hasActiveClass ? false : true) : (hasActiveClass ? true : false);
|
|
504
|
+
if (isExpand) {
|
|
505
|
+
addClass([this.tbElement], [classes.CLS_EXPAND_OPEN]);
|
|
571
506
|
}
|
|
572
507
|
else {
|
|
573
|
-
|
|
574
|
-
this.parent.setContentHeight('toolbar', true);
|
|
508
|
+
removeClass([this.tbElement], [classes.CLS_EXPAND_OPEN]);
|
|
575
509
|
}
|
|
510
|
+
this.parent.setContentHeight('Toolbar', isExpand);
|
|
576
511
|
}
|
|
577
512
|
else if (Browser.isDevice || this.parent.inlineMode.enable) {
|
|
578
513
|
this.isToolbar = true;
|
|
579
514
|
}
|
|
580
|
-
if (isNOU(trg) && this.parent.toolbarSettings.type === ToolbarType.Expand) {
|
|
515
|
+
if (isNOU(trg) && this.parent.toolbarSettings.type === ToolbarType.Expand && this.parent.toolbarModule.getExpandTBarPopHeight() === 0) {
|
|
581
516
|
removeClass([this.tbElement], [classes.CLS_EXPAND_OPEN]);
|
|
582
517
|
}
|
|
583
518
|
};
|
|
@@ -597,7 +532,6 @@ var Toolbar = /** @class */ (function () {
|
|
|
597
532
|
this.dropDownModule = new DropDownButtons(this.parent, this.locator);
|
|
598
533
|
this.toolbarActionModule = new ToolbarAction(this.parent);
|
|
599
534
|
this.parent.on(events.initialEnd, this.renderToolbar, this);
|
|
600
|
-
this.parent.on(events.scroll, this.scrollHandler, this);
|
|
601
535
|
this.parent.on(events.bindOnEnd, this.toolbarBindEvent, this);
|
|
602
536
|
this.parent.on(events.toolbarUpdated, this.updateToolbarStatus, this);
|
|
603
537
|
this.parent.on(events.modelChanged, this.onPropertyChanged, this);
|
|
@@ -622,7 +556,6 @@ var Toolbar = /** @class */ (function () {
|
|
|
622
556
|
return;
|
|
623
557
|
}
|
|
624
558
|
this.parent.off(events.initialEnd, this.renderToolbar);
|
|
625
|
-
this.parent.off(events.scroll, this.scrollHandler);
|
|
626
559
|
this.parent.off(events.bindOnEnd, this.toolbarBindEvent);
|
|
627
560
|
this.parent.off(events.toolbarUpdated, this.updateToolbarStatus);
|
|
628
561
|
this.parent.off(events.modelChanged, this.onPropertyChanged);
|
|
@@ -657,7 +590,8 @@ var Toolbar = /** @class */ (function () {
|
|
|
657
590
|
if (!this.parent.inlineMode.enable) {
|
|
658
591
|
this.refreshToolbarOverflow();
|
|
659
592
|
}
|
|
660
|
-
this.parent.
|
|
593
|
+
var isExpand = this.parent.element.querySelectorAll('.e-toolbar-extended.e-popup-open').length > 0 ? true : false;
|
|
594
|
+
this.parent.setContentHeight('Refresh', isExpand);
|
|
661
595
|
};
|
|
662
596
|
/**
|
|
663
597
|
* Called internally if any of the property value changed.
|
|
@@ -678,6 +612,11 @@ var Toolbar = /** @class */ (function () {
|
|
|
678
612
|
}
|
|
679
613
|
}
|
|
680
614
|
}
|
|
615
|
+
if (!isNullOrUndefined(e.newProp.toolbarSettings)) {
|
|
616
|
+
if (!isNullOrUndefined(e.newProp.toolbarSettings.enableFloating)) {
|
|
617
|
+
this.toggleFloatClass();
|
|
618
|
+
}
|
|
619
|
+
}
|
|
681
620
|
if (e.module !== this.getModuleName()) {
|
|
682
621
|
return;
|
|
683
622
|
}
|
|
@@ -696,7 +635,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
696
635
|
this.addEventListener();
|
|
697
636
|
this.renderToolbar();
|
|
698
637
|
this.parent.wireScrollElementsEvents();
|
|
699
|
-
if (!select('.
|
|
638
|
+
if (!select('.' + classes.CLS_RTE_SOURCE_CODE_TXTAREA, this.parent.element)) {
|
|
700
639
|
updateUndoRedoStatus(this.baseToolbar, this.parent.formatter.editorManager.undoRedoManager.getUndoStatus());
|
|
701
640
|
}
|
|
702
641
|
this.parent.notify(events.dynamicModule, {});
|
|
@@ -46,11 +46,6 @@ export declare const CLS_TB_FIXED: string;
|
|
|
46
46
|
* @deprecated
|
|
47
47
|
*/
|
|
48
48
|
export declare const CLS_TB_FLOAT: string;
|
|
49
|
-
/**
|
|
50
|
-
* @hidden
|
|
51
|
-
* @deprecated
|
|
52
|
-
*/
|
|
53
|
-
export declare const CLS_TB_ABS_FLOAT: string;
|
|
54
49
|
/**
|
|
55
50
|
* @hidden
|
|
56
51
|
* @deprecated
|
|
@@ -76,6 +71,11 @@ export declare const CLS_FULL_SCREEN: string;
|
|
|
76
71
|
* @deprecated
|
|
77
72
|
*/
|
|
78
73
|
export declare const CLS_QUICK_TB: string;
|
|
74
|
+
/**
|
|
75
|
+
* @hidden
|
|
76
|
+
* @deprecated
|
|
77
|
+
*/
|
|
78
|
+
export declare const CLS_TEXT_QUICK_TB: string;
|
|
79
79
|
/**
|
|
80
80
|
* @hidden
|
|
81
81
|
* @deprecated
|
|
@@ -46,11 +46,6 @@ export var CLS_TB_FIXED = 'e-rte-tb-fixed';
|
|
|
46
46
|
* @deprecated
|
|
47
47
|
*/
|
|
48
48
|
export var CLS_TB_FLOAT = 'e-rte-tb-float';
|
|
49
|
-
/**
|
|
50
|
-
* @hidden
|
|
51
|
-
* @deprecated
|
|
52
|
-
*/
|
|
53
|
-
export var CLS_TB_ABS_FLOAT = 'e-rte-tb-abs-float';
|
|
54
49
|
/**
|
|
55
50
|
* @hidden
|
|
56
51
|
* @deprecated
|
|
@@ -76,6 +71,11 @@ export var CLS_FULL_SCREEN = 'e-rte-full-screen';
|
|
|
76
71
|
* @deprecated
|
|
77
72
|
*/
|
|
78
73
|
export var CLS_QUICK_TB = 'e-rte-quick-toolbar';
|
|
74
|
+
/**
|
|
75
|
+
* @hidden
|
|
76
|
+
* @deprecated
|
|
77
|
+
*/
|
|
78
|
+
export var CLS_TEXT_QUICK_TB = 'e-rte-text-quicktoolbar';
|
|
79
79
|
/**
|
|
80
80
|
* @hidden
|
|
81
81
|
* @deprecated
|
|
@@ -730,12 +730,42 @@ export declare const emojiPicker: string;
|
|
|
730
730
|
* @hidden
|
|
731
731
|
* @deprecated
|
|
732
732
|
*/
|
|
733
|
-
export declare const
|
|
733
|
+
export declare const destroyTooltip: string;
|
|
734
734
|
/**
|
|
735
735
|
* @hidden
|
|
736
736
|
* @deprecated
|
|
737
737
|
*/
|
|
738
738
|
export declare const hidePopup: string;
|
|
739
|
+
/**
|
|
740
|
+
* @hidden
|
|
741
|
+
* @deprecated
|
|
742
|
+
*/
|
|
743
|
+
export declare const cleanupResizeElements: string;
|
|
744
|
+
/**
|
|
745
|
+
* @hidden
|
|
746
|
+
* @deprecated
|
|
747
|
+
*/
|
|
748
|
+
export declare const afterKeyDown: string;
|
|
749
|
+
/**
|
|
750
|
+
* @hidden
|
|
751
|
+
* @deprecated
|
|
752
|
+
*/
|
|
753
|
+
export declare const updateValueOnIdle: string;
|
|
754
|
+
/**
|
|
755
|
+
* @hidden
|
|
756
|
+
* @deprecated
|
|
757
|
+
*/
|
|
758
|
+
export declare const documentClickClosedBy: string;
|
|
759
|
+
/**
|
|
760
|
+
* @hidden
|
|
761
|
+
* @deprecated
|
|
762
|
+
*/
|
|
763
|
+
export declare const showColorPicker: string;
|
|
764
|
+
/**
|
|
765
|
+
* @hidden
|
|
766
|
+
* @deprecated
|
|
767
|
+
*/
|
|
768
|
+
export declare const closeTooltip: string;
|
|
739
769
|
/**
|
|
740
770
|
* @hidden
|
|
741
771
|
* @deprecated
|
|
@@ -746,3 +776,18 @@ export declare const blockEmptyNodes: string;
|
|
|
746
776
|
* @deprecated
|
|
747
777
|
*/
|
|
748
778
|
export declare const inlineEmptyNodes: string;
|
|
779
|
+
/**
|
|
780
|
+
* @hidden
|
|
781
|
+
* @deprecated
|
|
782
|
+
*/
|
|
783
|
+
export declare const supportedUnits: string[];
|
|
784
|
+
/**
|
|
785
|
+
* @hidden
|
|
786
|
+
* @deprecated
|
|
787
|
+
*/
|
|
788
|
+
export declare const conversionFactors: Record<string, Record<string, number>>;
|
|
789
|
+
/**
|
|
790
|
+
* @hidden
|
|
791
|
+
* @deprecated
|
|
792
|
+
*/
|
|
793
|
+
export declare const onHandleFontsizeChange: string;
|
|
@@ -730,12 +730,42 @@ export var emojiPicker = 'emojiPicker';
|
|
|
730
730
|
* @hidden
|
|
731
731
|
* @deprecated
|
|
732
732
|
*/
|
|
733
|
-
export var
|
|
733
|
+
export var destroyTooltip = 'destroyTooltip';
|
|
734
734
|
/**
|
|
735
735
|
* @hidden
|
|
736
736
|
* @deprecated
|
|
737
737
|
*/
|
|
738
738
|
export var hidePopup = 'hidePopup';
|
|
739
|
+
/**
|
|
740
|
+
* @hidden
|
|
741
|
+
* @deprecated
|
|
742
|
+
*/
|
|
743
|
+
export var cleanupResizeElements = 'cleanupResizeElements';
|
|
744
|
+
/**
|
|
745
|
+
* @hidden
|
|
746
|
+
* @deprecated
|
|
747
|
+
*/
|
|
748
|
+
export var afterKeyDown = 'afterKeyDown';
|
|
749
|
+
/**
|
|
750
|
+
* @hidden
|
|
751
|
+
* @deprecated
|
|
752
|
+
*/
|
|
753
|
+
export var updateValueOnIdle = 'updateValueOnIdle';
|
|
754
|
+
/**
|
|
755
|
+
* @hidden
|
|
756
|
+
* @deprecated
|
|
757
|
+
*/
|
|
758
|
+
export var documentClickClosedBy = 'documentClickClosedBy';
|
|
759
|
+
/**
|
|
760
|
+
* @hidden
|
|
761
|
+
* @deprecated
|
|
762
|
+
*/
|
|
763
|
+
export var showColorPicker = 'showColorPicker';
|
|
764
|
+
/**
|
|
765
|
+
* @hidden
|
|
766
|
+
* @deprecated
|
|
767
|
+
*/
|
|
768
|
+
export var closeTooltip = 'closeTooltip';
|
|
739
769
|
/**
|
|
740
770
|
* @hidden
|
|
741
771
|
* @deprecated
|
|
@@ -746,3 +776,187 @@ export var blockEmptyNodes = "address:empty, article:empty, aside:empty, blockqu
|
|
|
746
776
|
* @deprecated
|
|
747
777
|
*/
|
|
748
778
|
export var inlineEmptyNodes = "a:empty, abbr:empty, acronym:empty, b:empty, bdi:empty, bdo:empty, big:empty, button:empty,\ncanvas:empty, cite:empty, code:empty, data:empty, datalist:empty, del:empty, dfn:empty, em:empty, font:empty, i:empty, iframe:empty,\nins:empty, kbd:empty, label:empty, map:empty, mark:empty, meter:empty, noscript:empty, object:empty, output:empty, picture:empty, progress:empty,\nq: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,\ntemplate:empty, textarea:empty, time:empty, u:empty, tt:empty, var:empty, wbr:empty";
|
|
779
|
+
/**
|
|
780
|
+
* @hidden
|
|
781
|
+
* @deprecated
|
|
782
|
+
*/
|
|
783
|
+
export var supportedUnits = ['px', 'em', 'rem', 'pt', 'cm', 'mm', 'in', 'pc', 'vw', 'vh', 'vmin', 'vmax'];
|
|
784
|
+
/**
|
|
785
|
+
* @hidden
|
|
786
|
+
* @deprecated
|
|
787
|
+
*/
|
|
788
|
+
export var conversionFactors = {
|
|
789
|
+
'px': {
|
|
790
|
+
'px': 1,
|
|
791
|
+
'em': 0.0625,
|
|
792
|
+
'rem': 0.0625,
|
|
793
|
+
'pt': 0.75,
|
|
794
|
+
'cm': 0.0264583,
|
|
795
|
+
'mm': 0.0026458,
|
|
796
|
+
'in': 0.0104167,
|
|
797
|
+
'pc': 0.0625,
|
|
798
|
+
'vw': 0.00625,
|
|
799
|
+
'vh': 0.00625,
|
|
800
|
+
'vmin': 0.00625,
|
|
801
|
+
'vmax': 0.00625
|
|
802
|
+
},
|
|
803
|
+
'em': {
|
|
804
|
+
'px': 16,
|
|
805
|
+
'em': 1,
|
|
806
|
+
'rem': 1,
|
|
807
|
+
'pt': 12,
|
|
808
|
+
'cm': 0.423333,
|
|
809
|
+
'mm': 0.0423333,
|
|
810
|
+
'in': 0.166667,
|
|
811
|
+
'pc': 0.0625,
|
|
812
|
+
'vw': 1,
|
|
813
|
+
'vh': 1,
|
|
814
|
+
'vmin': 1,
|
|
815
|
+
'vmax': 1
|
|
816
|
+
},
|
|
817
|
+
'rem': {
|
|
818
|
+
'px': 16,
|
|
819
|
+
'em': 1,
|
|
820
|
+
'rem': 1,
|
|
821
|
+
'pt': 12,
|
|
822
|
+
'cm': 0.423333,
|
|
823
|
+
'mm': 0.0423333,
|
|
824
|
+
'in': 0.166667,
|
|
825
|
+
'pc': 0.0625,
|
|
826
|
+
'vw': 1,
|
|
827
|
+
'vh': 1,
|
|
828
|
+
'vmin': 1,
|
|
829
|
+
'vmax': 1
|
|
830
|
+
},
|
|
831
|
+
'pt': {
|
|
832
|
+
'px': 1.33333,
|
|
833
|
+
'em': 0.0833333,
|
|
834
|
+
'rem': 0.0833333,
|
|
835
|
+
'pt': 1,
|
|
836
|
+
'cm': 0.0352778,
|
|
837
|
+
'mm': 0.0035278,
|
|
838
|
+
'in': 0.0138889,
|
|
839
|
+
'pc': 0.0416667,
|
|
840
|
+
'vw': 0.00416667,
|
|
841
|
+
'vh': 0.00416667,
|
|
842
|
+
'vmin': 0.00416667,
|
|
843
|
+
'vmax': 0.00416667
|
|
844
|
+
},
|
|
845
|
+
'cm': {
|
|
846
|
+
'px': 37.7953,
|
|
847
|
+
'em': 2.3622,
|
|
848
|
+
'rem': 2.3622,
|
|
849
|
+
'pt': 28.3465,
|
|
850
|
+
'cm': 1,
|
|
851
|
+
'mm': 0.1,
|
|
852
|
+
'in': 0.393701,
|
|
853
|
+
'pc': 0.148148,
|
|
854
|
+
'vw': 0.0377953,
|
|
855
|
+
'vh': 0.0377953,
|
|
856
|
+
'vmin': 0.0377953,
|
|
857
|
+
'vmax': 0.0377953
|
|
858
|
+
},
|
|
859
|
+
'mm': {
|
|
860
|
+
'px': 3.77953,
|
|
861
|
+
'em': 0.23622,
|
|
862
|
+
'rem': 0.23622,
|
|
863
|
+
'pt': 2.83465,
|
|
864
|
+
'cm': 10,
|
|
865
|
+
'mm': 1,
|
|
866
|
+
'in': 0.0393701,
|
|
867
|
+
'pc': 0.0148148,
|
|
868
|
+
'vw': 0.00377953,
|
|
869
|
+
'vh': 0.00377953,
|
|
870
|
+
'vmin': 0.00377953,
|
|
871
|
+
'vmax': 0.00377953
|
|
872
|
+
},
|
|
873
|
+
'in': {
|
|
874
|
+
'px': 96,
|
|
875
|
+
'em': 6,
|
|
876
|
+
'rem': 6,
|
|
877
|
+
'pt': 72,
|
|
878
|
+
'cm': 2.54,
|
|
879
|
+
'mm': 25.4,
|
|
880
|
+
'in': 1,
|
|
881
|
+
'pc': 0.375,
|
|
882
|
+
'vw': 0.09375,
|
|
883
|
+
'vh': 0.09375,
|
|
884
|
+
'vmin': 0.09375,
|
|
885
|
+
'vmax': 0.09375
|
|
886
|
+
},
|
|
887
|
+
'pc': {
|
|
888
|
+
'px': 16,
|
|
889
|
+
'em': 1,
|
|
890
|
+
'rem': 1,
|
|
891
|
+
'pt': 12,
|
|
892
|
+
'cm': 0.423333,
|
|
893
|
+
'mm': 0.0423333,
|
|
894
|
+
'in': 0.166667,
|
|
895
|
+
'pc': 1,
|
|
896
|
+
'vw': 0.0625,
|
|
897
|
+
'vh': 0.0625,
|
|
898
|
+
'vmin': 0.0625,
|
|
899
|
+
'vmax': 0.0625
|
|
900
|
+
},
|
|
901
|
+
'vw': {
|
|
902
|
+
'px': 160,
|
|
903
|
+
'em': 10,
|
|
904
|
+
'rem': 10,
|
|
905
|
+
'pt': 120,
|
|
906
|
+
'cm': 4.23333,
|
|
907
|
+
'mm': 0.423333,
|
|
908
|
+
'in': 1.66667,
|
|
909
|
+
'pc': 0.625,
|
|
910
|
+
'vw': 1,
|
|
911
|
+
'vh': 1,
|
|
912
|
+
'vmin': 1,
|
|
913
|
+
'vmax': 1
|
|
914
|
+
},
|
|
915
|
+
'vh': {
|
|
916
|
+
'px': 160,
|
|
917
|
+
'em': 10,
|
|
918
|
+
'rem': 10,
|
|
919
|
+
'pt': 120,
|
|
920
|
+
'cm': 4.23333,
|
|
921
|
+
'mm': 0.423333,
|
|
922
|
+
'in': 1.66667,
|
|
923
|
+
'pc': 0.625,
|
|
924
|
+
'vw': 1,
|
|
925
|
+
'vh': 1,
|
|
926
|
+
'vmin': 1,
|
|
927
|
+
'vmax': 1
|
|
928
|
+
},
|
|
929
|
+
'vmin': {
|
|
930
|
+
'px': 160,
|
|
931
|
+
'em': 10,
|
|
932
|
+
'rem': 10,
|
|
933
|
+
'pt': 120,
|
|
934
|
+
'cm': 4.23333,
|
|
935
|
+
'mm': 0.423333,
|
|
936
|
+
'in': 1.66667,
|
|
937
|
+
'pc': 0.625,
|
|
938
|
+
'vw': 1,
|
|
939
|
+
'vh': 1,
|
|
940
|
+
'vmin': 1,
|
|
941
|
+
'vmax': 1
|
|
942
|
+
},
|
|
943
|
+
'vmax': {
|
|
944
|
+
'px': 160,
|
|
945
|
+
'em': 10,
|
|
946
|
+
'rem': 10,
|
|
947
|
+
'pt': 120,
|
|
948
|
+
'cm': 4.23333,
|
|
949
|
+
'mm': 0.423333,
|
|
950
|
+
'in': 1.66667,
|
|
951
|
+
'pc': 0.625,
|
|
952
|
+
'vw': 1,
|
|
953
|
+
'vh': 1,
|
|
954
|
+
'vmin': 1,
|
|
955
|
+
'vmax': 1
|
|
956
|
+
}
|
|
957
|
+
};
|
|
958
|
+
/**
|
|
959
|
+
* @hidden
|
|
960
|
+
* @deprecated
|
|
961
|
+
*/
|
|
962
|
+
export var onHandleFontsizeChange = 'onHandleFontsizeChange';
|
|
@@ -8,7 +8,7 @@ import { ClickEventArgs } from '@syncfusion/ej2-navigations';
|
|
|
8
8
|
import { BaseToolbar } from '../actions/base-toolbar';
|
|
9
9
|
import { BaseQuickToolbar } from '../actions/base-quick-toolbar';
|
|
10
10
|
import { NodeSelection } from '../../selection/selection';
|
|
11
|
-
import { EditorMode, EnterKey, ShiftEnterKey } from './../../common/types';
|
|
11
|
+
import { ContentHeightSource, EditorMode, EnterKey, ShiftEnterKey } from './../../common/types';
|
|
12
12
|
import { MarkdownSelection } from './../../markdown-parser/plugin/markdown-selection';
|
|
13
13
|
import { ToolbarSettingsModel, IFrameSettingsModel, ImageSettingsModel, AudioSettingsModel, VideoSettingsModel, TableSettingsModel, FormatPainterSettingsModel, EmojiSettingsModel } from '../models/models';
|
|
14
14
|
import { QuickToolbarSettingsModel, InlineModeModel, PasteCleanupSettingsModel, FileManagerSettingsModel } from '../models/models';
|
|
@@ -159,10 +159,11 @@ export interface IRichTextEditor extends Component<HTMLElement> {
|
|
|
159
159
|
getCollection?(items: string | string[]): string[];
|
|
160
160
|
getRange(): Range;
|
|
161
161
|
getID(): string;
|
|
162
|
+
getCssClass(isSpace?: boolean): string;
|
|
162
163
|
getText(): string;
|
|
163
164
|
updateValueData?(): void;
|
|
164
165
|
getBaseToolbarObject(): BaseToolbar;
|
|
165
|
-
setContentHeight(target
|
|
166
|
+
setContentHeight(target: ContentHeightSource, isExpand?: boolean): void;
|
|
166
167
|
keyConfig?: {
|
|
167
168
|
[key: string]: string;
|
|
168
169
|
};
|
|
@@ -195,6 +196,8 @@ export interface IRichTextEditor extends Component<HTMLElement> {
|
|
|
195
196
|
currentTarget: HTMLElement;
|
|
196
197
|
focusIn(): void;
|
|
197
198
|
showEmojiPicker?(x?: number, y?: number): void;
|
|
199
|
+
addAnchorAriaLabel?(value: string): string;
|
|
200
|
+
autoSaveOnIdle: boolean;
|
|
198
201
|
}
|
|
199
202
|
/**
|
|
200
203
|
* @deprecated
|
|
@@ -251,7 +254,7 @@ export interface NotifyArgs {
|
|
|
251
254
|
action?: string;
|
|
252
255
|
callBack?(args?: string | IImageCommandsArgs, cropImageData?: {
|
|
253
256
|
[key: string]: string | boolean | number;
|
|
254
|
-
}[]): void;
|
|
257
|
+
}[], pasteTableSource?: string): void;
|
|
255
258
|
file?: Blob;
|
|
256
259
|
insertElement?: Element;
|
|
257
260
|
touchData?: ITouchData;
|
|
@@ -259,6 +262,11 @@ export interface NotifyArgs {
|
|
|
259
262
|
formatPainterSettings?: FormatPainterSettingsModel;
|
|
260
263
|
emojiPickerSettings?: EmojiSettingsModel;
|
|
261
264
|
ariaLabel?: string;
|
|
265
|
+
/**
|
|
266
|
+
* Defines the source of the Table content.
|
|
267
|
+
* @private
|
|
268
|
+
*/
|
|
269
|
+
pasteTableSource?: string;
|
|
262
270
|
}
|
|
263
271
|
/**
|
|
264
272
|
* Provides information about the current and previous cssClass property .
|
|
@@ -377,6 +385,7 @@ export interface IImageNotifyArgs {
|
|
|
377
385
|
member?: string;
|
|
378
386
|
name?: string;
|
|
379
387
|
cssClass?: string;
|
|
388
|
+
ariaLabel?: string;
|
|
380
389
|
}
|
|
381
390
|
/**
|
|
382
391
|
* Provides information about a Image added in the Rich Text Editor.
|
|
@@ -1368,3 +1377,38 @@ export interface ToolbarStatusEventArgs {
|
|
|
1368
1377
|
/** Defines the markdown toolbar status arguments. */
|
|
1369
1378
|
markdown?: object;
|
|
1370
1379
|
}
|
|
1380
|
+
/**
|
|
1381
|
+
* @hidden
|
|
1382
|
+
* @deprecated
|
|
1383
|
+
*/
|
|
1384
|
+
export interface CleanupResizeElemArgs {
|
|
1385
|
+
name?: string;
|
|
1386
|
+
value: string;
|
|
1387
|
+
callBack(value: string): void;
|
|
1388
|
+
}
|
|
1389
|
+
/**
|
|
1390
|
+
* @hidden
|
|
1391
|
+
* @private
|
|
1392
|
+
*/
|
|
1393
|
+
export interface IBaseQuickToolbar {
|
|
1394
|
+
/**
|
|
1395
|
+
* Instance of the Quick Toolabr Popup.
|
|
1396
|
+
*/
|
|
1397
|
+
popupObj: Popup;
|
|
1398
|
+
/**
|
|
1399
|
+
* Parent Element of the Quick Toolbar.
|
|
1400
|
+
*/
|
|
1401
|
+
element: HTMLElement;
|
|
1402
|
+
/**
|
|
1403
|
+
* Boolean to check whether the quick toolbar is rendered in the DOM.
|
|
1404
|
+
*/
|
|
1405
|
+
isRendered: boolean;
|
|
1406
|
+
/**
|
|
1407
|
+
* Instance of the Toolbar rendered inside the Popup.
|
|
1408
|
+
*/
|
|
1409
|
+
quickTBarObj: BaseToolbar;
|
|
1410
|
+
/**
|
|
1411
|
+
* Element of the Toolbar rendered inside the Popup.
|
|
1412
|
+
*/
|
|
1413
|
+
toolbarElement: HTMLElement;
|
|
1414
|
+
}
|