@syncfusion/ej2-richtexteditor 27.1.55 → 27.1.57-637881
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/README.md +1 -1
- package/dist/ej2-richtexteditor.min.js +1 -10
- package/dist/ej2-richtexteditor.umd.min.js +1 -10
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +159 -48
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +158 -47
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/dist/global/ej2-richtexteditor.min.js +1 -10
- package/dist/global/ej2-richtexteditor.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/package.json +84 -84
- package/src/common/config.d.ts +7 -0
- package/src/common/config.js +12 -0
- package/src/common/interface.d.ts +8 -8
- package/src/editor-manager/base/classes.d.ts +1 -1
- package/src/editor-manager/base/classes.js +1 -1
- package/src/editor-manager/base/editor-manager.d.ts +3 -3
- package/src/editor-manager/base/editor-manager.js +3 -3
- package/src/editor-manager/base/enum.d.ts +2 -2
- package/src/editor-manager/base/interface.d.ts +9 -9
- package/src/editor-manager/base/types.d.ts +1 -1
- package/src/editor-manager/plugin/alignments.d.ts +2 -2
- package/src/editor-manager/plugin/alignments.js +2 -2
- package/src/editor-manager/plugin/audio.d.ts +3 -3
- package/src/editor-manager/plugin/audio.js +3 -3
- package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
- package/src/editor-manager/plugin/clearformat-exec.js +2 -2
- package/src/editor-manager/plugin/clearformat.d.ts +1 -1
- package/src/editor-manager/plugin/clearformat.js +1 -1
- package/src/editor-manager/plugin/dom-node.d.ts +36 -36
- package/src/editor-manager/plugin/dom-node.js +36 -36
- package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -1
- package/src/editor-manager/plugin/format-painter-actions.js +1 -1
- package/src/editor-manager/plugin/formats.d.ts +2 -2
- package/src/editor-manager/plugin/formats.js +2 -2
- package/src/editor-manager/plugin/image.d.ts +3 -3
- package/src/editor-manager/plugin/image.js +5 -5
- package/src/editor-manager/plugin/indents.d.ts +2 -2
- package/src/editor-manager/plugin/indents.js +2 -2
- package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
- package/src/editor-manager/plugin/insert-methods.js +4 -4
- package/src/editor-manager/plugin/insert-text.d.ts +2 -2
- package/src/editor-manager/plugin/insert-text.js +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
- package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
- package/src/editor-manager/plugin/inserthtml.js +2 -2
- package/src/editor-manager/plugin/isformatted.d.ts +9 -9
- package/src/editor-manager/plugin/isformatted.js +9 -9
- package/src/editor-manager/plugin/link.d.ts +2 -2
- package/src/editor-manager/plugin/link.js +2 -2
- package/src/editor-manager/plugin/lists.d.ts +2 -2
- package/src/editor-manager/plugin/lists.js +2 -2
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +2 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +17 -1
- package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
- package/src/editor-manager/plugin/nodecutter.js +6 -6
- package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
- package/src/editor-manager/plugin/selection-commands.js +1 -1
- package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
- package/src/editor-manager/plugin/selection-exec.js +2 -2
- package/src/editor-manager/plugin/table.d.ts +2 -2
- package/src/editor-manager/plugin/table.js +2 -2
- package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
- package/src/editor-manager/plugin/toolbar-status.js +2 -2
- package/src/editor-manager/plugin/undo.d.ts +6 -6
- package/src/editor-manager/plugin/undo.js +6 -6
- package/src/editor-manager/plugin/video.d.ts +3 -3
- package/src/editor-manager/plugin/video.js +3 -3
- package/src/markdown-parser/base/interface.d.ts +10 -10
- package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
- package/src/markdown-parser/base/markdown-parser.js +3 -3
- package/src/markdown-parser/base/types.d.ts +1 -1
- package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
- package/src/markdown-parser/plugin/clearformat.js +2 -2
- package/src/markdown-parser/plugin/formats.d.ts +2 -2
- package/src/markdown-parser/plugin/formats.js +2 -2
- package/src/markdown-parser/plugin/insert-text.d.ts +2 -2
- package/src/markdown-parser/plugin/insert-text.js +2 -2
- package/src/markdown-parser/plugin/link.d.ts +2 -2
- package/src/markdown-parser/plugin/link.js +2 -2
- package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
- package/src/markdown-parser/plugin/markdown-selection.js +14 -14
- package/src/markdown-parser/plugin/md-selection-formats.d.ts +1 -1
- package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
- package/src/markdown-parser/plugin/table.d.ts +3 -3
- package/src/markdown-parser/plugin/table.js +3 -3
- package/src/markdown-parser/plugin/undo.d.ts +6 -6
- package/src/markdown-parser/plugin/undo.js +6 -6
- package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
- package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
- package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
- package/src/rich-text-editor/actions/base-toolbar.js +3 -3
- package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
- package/src/rich-text-editor/actions/color-picker.js +2 -2
- package/src/rich-text-editor/actions/count.d.ts +3 -3
- package/src/rich-text-editor/actions/count.js +3 -3
- package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
- package/src/rich-text-editor/actions/dropdown-buttons.js +2 -2
- package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
- package/src/rich-text-editor/actions/emoji-picker.js +1 -1
- package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
- package/src/rich-text-editor/actions/full-screen.js +3 -3
- package/src/rich-text-editor/actions/html-editor.d.ts +3 -3
- package/src/rich-text-editor/actions/html-editor.js +3 -3
- package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
- package/src/rich-text-editor/actions/keyboard.js +1 -1
- package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
- package/src/rich-text-editor/actions/markdown-editor.js +2 -2
- package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -1
- package/src/rich-text-editor/actions/paste-clean-up.js +46 -22
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
- package/src/rich-text-editor/actions/quick-toolbar.js +9 -9
- package/src/rich-text-editor/actions/resize.js +4 -0
- package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
- package/src/rich-text-editor/actions/toolbar.js +13 -13
- package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
- package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
- package/src/rich-text-editor/base/classes.d.ts +125 -125
- package/src/rich-text-editor/base/classes.js +125 -125
- package/src/rich-text-editor/base/constant.d.ts +158 -158
- package/src/rich-text-editor/base/constant.js +158 -158
- package/src/rich-text-editor/base/enum.d.ts +1 -1
- package/src/rich-text-editor/base/enum.js +1 -1
- package/src/rich-text-editor/base/interface.d.ts +51 -51
- package/src/rich-text-editor/base/interface.js +1 -1
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +1 -1
- package/src/rich-text-editor/base/rich-text-editor.d.ts +62 -62
- package/src/rich-text-editor/base/rich-text-editor.js +37 -34
- package/src/rich-text-editor/base/util.d.ts +1 -1
- package/src/rich-text-editor/base/util.js +1 -1
- package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
- package/src/rich-text-editor/formatter/formatter.js +8 -8
- package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
- package/src/rich-text-editor/formatter/html-formatter.js +2 -2
- package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
- package/src/rich-text-editor/formatter/markdown-formatter.js +2 -2
- package/src/rich-text-editor/renderer/audio-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/audio-module.js +8 -2
- package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
- package/src/rich-text-editor/renderer/content-renderer.js +6 -6
- package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
- package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
- package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +4 -4
- package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/image-module.js +58 -21
- package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/link-module.js +4 -1
- package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
- package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
- package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
- package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
- package/src/rich-text-editor/renderer/render.d.ts +2 -2
- package/src/rich-text-editor/renderer/render.js +2 -2
- package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/table-module.js +4 -3
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
- package/src/rich-text-editor/renderer/toolbar-renderer.js +9 -9
- package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/video-module.js +8 -2
- package/src/rich-text-editor/renderer/view-source.d.ts +5 -5
- package/src/rich-text-editor/renderer/view-source.js +5 -5
- package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
- package/src/rich-text-editor/services/renderer-factory.js +3 -3
- package/src/rich-text-editor/services/service-locator.d.ts +3 -3
- package/src/rich-text-editor/services/service-locator.js +3 -3
- package/src/selection/selection.d.ts +22 -22
- package/src/selection/selection.js +22 -22
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.scss +1 -1
- package/styles/rich-text-editor/material3-dark.scss +1 -1
- package/styles/rich-text-editor/material3.scss +1 -1
|
@@ -206,7 +206,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
206
206
|
*
|
|
207
207
|
* @returns {void}
|
|
208
208
|
* @hidden
|
|
209
|
-
|
|
209
|
+
* @deprecated
|
|
210
210
|
*/
|
|
211
211
|
Toolbar.prototype.addFixedTBarClass = function () {
|
|
212
212
|
addClass([this.tbElement], [classes.CLS_TB_FIXED]);
|
|
@@ -216,7 +216,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
216
216
|
*
|
|
217
217
|
* @returns {void}
|
|
218
218
|
* @hidden
|
|
219
|
-
|
|
219
|
+
* @deprecated
|
|
220
220
|
*/
|
|
221
221
|
Toolbar.prototype.removeFixedTBarClass = function () {
|
|
222
222
|
removeClass([this.tbElement], [classes.CLS_TB_FIXED]);
|
|
@@ -237,7 +237,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
237
237
|
* @param {IUpdateItemsModel} args - specifies the arguments.
|
|
238
238
|
* @returns {void}
|
|
239
239
|
* @hidden
|
|
240
|
-
|
|
240
|
+
* @deprecated
|
|
241
241
|
*/
|
|
242
242
|
Toolbar.prototype.updateItem = function (args) {
|
|
243
243
|
var item = this.tools[args.updateItem.toLocaleLowerCase()];
|
|
@@ -283,7 +283,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
283
283
|
*
|
|
284
284
|
* @returns {void}
|
|
285
285
|
* @hidden
|
|
286
|
-
|
|
286
|
+
* @deprecated
|
|
287
287
|
*/
|
|
288
288
|
Toolbar.prototype.getBaseToolbar = function () {
|
|
289
289
|
return this.baseToolbar;
|
|
@@ -295,7 +295,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
295
295
|
* @param {number} index - specifies the index value.
|
|
296
296
|
* @returns {void}
|
|
297
297
|
* @hidden
|
|
298
|
-
|
|
298
|
+
* @deprecated
|
|
299
299
|
*/
|
|
300
300
|
Toolbar.prototype.addTBarItem = function (args, index) {
|
|
301
301
|
args.baseToolbar.toolbarObj.addItems([args.baseToolbar.getObject(args.updateItem, 'toolbar')], index);
|
|
@@ -309,7 +309,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
309
309
|
* @param {boolean} muteToolbarUpdate - specifies the toolbar.
|
|
310
310
|
* @returns {void}
|
|
311
311
|
* @hidden
|
|
312
|
-
|
|
312
|
+
* @deprecated
|
|
313
313
|
*/
|
|
314
314
|
Toolbar.prototype.enableTBarItems = function (baseToolbar, items, isEnable, muteToolbarUpdate) {
|
|
315
315
|
var trgItems = getTBarItemsIndex(getCollection(items), baseToolbar.toolbarObj.items);
|
|
@@ -330,7 +330,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
330
330
|
* @param {string} items - specifies the string value.
|
|
331
331
|
* @returns {void}
|
|
332
332
|
* @hidden
|
|
333
|
-
|
|
333
|
+
* @deprecated
|
|
334
334
|
*/
|
|
335
335
|
Toolbar.prototype.removeTBarItems = function (items) {
|
|
336
336
|
if (isNullOrUndefined(this.baseToolbar.toolbarObj)) {
|
|
@@ -348,7 +348,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
348
348
|
*
|
|
349
349
|
* @returns {void}
|
|
350
350
|
* @hidden
|
|
351
|
-
|
|
351
|
+
* @deprecated
|
|
352
352
|
*/
|
|
353
353
|
Toolbar.prototype.getExpandTBarPopHeight = function () {
|
|
354
354
|
var popHeight = 0;
|
|
@@ -371,7 +371,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
371
371
|
*
|
|
372
372
|
* @returns {void}
|
|
373
373
|
* @hidden
|
|
374
|
-
|
|
374
|
+
* @deprecated
|
|
375
375
|
*/
|
|
376
376
|
Toolbar.prototype.getToolbarHeight = function () {
|
|
377
377
|
return this.tbElement.offsetHeight;
|
|
@@ -381,7 +381,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
381
381
|
*
|
|
382
382
|
* @returns {void}
|
|
383
383
|
* @hidden
|
|
384
|
-
|
|
384
|
+
* @deprecated
|
|
385
385
|
*/
|
|
386
386
|
Toolbar.prototype.getToolbarElement = function () {
|
|
387
387
|
return this.parent && this.parent.element ? select('.' + classes.CLS_TOOLBAR, this.parent.element) : null;
|
|
@@ -391,7 +391,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
391
391
|
*
|
|
392
392
|
* @returns {void}
|
|
393
393
|
* @hidden
|
|
394
|
-
|
|
394
|
+
* @deprecated
|
|
395
395
|
*/
|
|
396
396
|
Toolbar.prototype.refreshToolbarOverflow = function () {
|
|
397
397
|
this.parent.element.classList.remove(classes.CLS_RTL);
|
|
@@ -438,7 +438,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
438
438
|
* @function destroy
|
|
439
439
|
* @returns {void}
|
|
440
440
|
* @hidden
|
|
441
|
-
|
|
441
|
+
* @deprecated
|
|
442
442
|
*/
|
|
443
443
|
Toolbar.prototype.destroy = function () {
|
|
444
444
|
if (this.isDestroyed) {
|
|
@@ -565,7 +565,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
565
565
|
* @param {RichTextEditorModel} e - specifies the string value
|
|
566
566
|
* @returns {void}
|
|
567
567
|
* @hidden
|
|
568
|
-
|
|
568
|
+
* @deprecated
|
|
569
569
|
*/
|
|
570
570
|
Toolbar.prototype.onPropertyChanged = function (e) {
|
|
571
571
|
if (!isNullOrUndefined(e.newProp.inlineMode)) {
|
|
@@ -13,7 +13,7 @@ export declare class XhtmlValidation {
|
|
|
13
13
|
* @param {string} currentValue - specifies the string value.
|
|
14
14
|
* @param {number} valueLength - specifies the length of the current value.
|
|
15
15
|
* @returns {void}
|
|
16
|
-
|
|
16
|
+
* @deprecated
|
|
17
17
|
*/
|
|
18
18
|
selfEncloseValidation(currentValue: string, valueLength?: number): string;
|
|
19
19
|
private clean;
|
|
@@ -37,7 +37,7 @@ var XhtmlValidation = /** @class */ (function () {
|
|
|
37
37
|
* @param {string} currentValue - specifies the string value.
|
|
38
38
|
* @param {number} valueLength - specifies the length of the current value.
|
|
39
39
|
* @returns {void}
|
|
40
|
-
|
|
40
|
+
* @deprecated
|
|
41
41
|
*/
|
|
42
42
|
XhtmlValidation.prototype.selfEncloseValidation = function (currentValue, valueLength) {
|
|
43
43
|
if (valueLength === 0 && currentValue.indexOf('table') < 0 && currentValue.indexOf('img') < 0 &&
|