@syncfusion/ej2-richtexteditor 20.2.43 → 20.2.44

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/ej2-richtexteditor.umd.min.js +2 -2
  3. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-richtexteditor.es2015.js +114 -34
  5. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  6. package/dist/es6/ej2-richtexteditor.es5.js +114 -34
  7. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  8. package/dist/global/ej2-richtexteditor.min.js +2 -2
  9. package/dist/global/ej2-richtexteditor.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +8 -8
  12. package/src/editor-manager/plugin/lists.d.ts +3 -0
  13. package/src/editor-manager/plugin/lists.js +29 -0
  14. package/src/rich-text-editor/actions/base-toolbar.d.ts +6 -1
  15. package/src/rich-text-editor/actions/dropdown-buttons.d.ts +6 -1
  16. package/src/rich-text-editor/actions/enter-key.d.ts +1 -0
  17. package/src/rich-text-editor/actions/enter-key.js +7 -1
  18. package/src/rich-text-editor/actions/full-screen.d.ts +1 -0
  19. package/src/rich-text-editor/actions/full-screen.js +5 -0
  20. package/src/rich-text-editor/actions/markdown-editor.d.ts +1 -0
  21. package/src/rich-text-editor/actions/markdown-editor.js +6 -0
  22. package/src/rich-text-editor/actions/quick-toolbar.d.ts +1 -0
  23. package/src/rich-text-editor/actions/quick-toolbar.js +5 -0
  24. package/src/rich-text-editor/actions/toolbar-action.d.ts +6 -1
  25. package/src/rich-text-editor/actions/toolbar.d.ts +1 -0
  26. package/src/rich-text-editor/actions/toolbar.js +8 -0
  27. package/src/rich-text-editor/base/constant.d.ts +5 -0
  28. package/src/rich-text-editor/base/constant.js +5 -0
  29. package/src/rich-text-editor/base/rich-text-editor.js +7 -12
  30. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +3 -0
  31. package/src/rich-text-editor/renderer/dialog-renderer.js +18 -0
  32. package/src/rich-text-editor/renderer/image-module.d.ts +1 -8
  33. package/src/rich-text-editor/renderer/image-module.js +9 -9
  34. package/src/rich-text-editor/renderer/link-module.d.ts +1 -8
  35. package/src/rich-text-editor/renderer/link-module.js +2 -7
  36. package/src/rich-text-editor/renderer/render.d.ts +1 -6
  37. package/src/rich-text-editor/renderer/render.js +2 -5
  38. package/src/rich-text-editor/renderer/table-module.d.ts +1 -0
  39. package/src/rich-text-editor/renderer/table-module.js +5 -0
  40. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +6 -1
  41. package/src/rich-text-editor/renderer/view-source.d.ts +1 -0
  42. package/src/rich-text-editor/renderer/view-source.js +5 -0
@@ -10,7 +10,12 @@ import { ColorPicker } from '@syncfusion/ej2-inputs';
10
10
  export declare class ToolbarRenderer implements IRenderer {
11
11
  private mode;
12
12
  private toolbarPanel;
13
- protected parent: IRichTextEditor;
13
+ /**
14
+ *
15
+ * @hidden
16
+ * @private
17
+ */
18
+ parent: IRichTextEditor;
14
19
  private popupContainer;
15
20
  private currentElement;
16
21
  private currentDropdown;
@@ -77,4 +77,5 @@ export declare class ViewSource {
77
77
 
78
78
  */
79
79
  destroy(): void;
80
+ private moduleDestroy;
80
81
  }
@@ -29,6 +29,7 @@ var ViewSource = /** @class */ (function () {
29
29
  this.parent.on(events.initialEnd, this.onInitialEnd, this);
30
30
  this.parent.on(events.updateSource, this.updateSourceCode, this);
31
31
  this.parent.on(events.destroy, this.destroy, this);
32
+ this.parent.on(events.moduleDestroy, this.moduleDestroy, this);
32
33
  };
33
34
  ViewSource.prototype.onInitialEnd = function () {
34
35
  this.parent.formatter.editorManager.observer.on(CONSTANT.KEY_DOWN_HANDLER, this.onKeyDown, this);
@@ -39,6 +40,7 @@ var ViewSource = /** @class */ (function () {
39
40
  this.parent.off(events.updateSource, this.updateSourceCode);
40
41
  this.parent.off(events.initialEnd, this.onInitialEnd);
41
42
  this.parent.off(events.destroy, this.destroy);
43
+ this.parent.off(events.moduleDestroy, this.moduleDestroy);
42
44
  this.parent.formatter.editorManager.observer.off(CONSTANT.KEY_DOWN_HANDLER, this.onKeyDown);
43
45
  };
44
46
  ViewSource.prototype.getSourceCode = function () {
@@ -262,6 +264,9 @@ var ViewSource = /** @class */ (function () {
262
264
  ViewSource.prototype.destroy = function () {
263
265
  this.removeEventListener();
264
266
  };
267
+ ViewSource.prototype.moduleDestroy = function () {
268
+ this.parent = null;
269
+ };
265
270
  return ViewSource;
266
271
  }());
267
272
  export { ViewSource };