@syncfusion/ej2-richtexteditor 25.1.42 → 25.2.4

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 (57) hide show
  1. package/CHANGELOG.md +26 -4
  2. package/dist/ej2-richtexteditor.min.js +2 -2
  3. package/dist/ej2-richtexteditor.umd.min.js +2 -2
  4. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-richtexteditor.es2015.js +110 -24
  6. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-richtexteditor.es5.js +115 -26
  8. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  9. package/dist/global/ej2-richtexteditor.min.js +2 -2
  10. package/dist/global/ej2-richtexteditor.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +12 -12
  13. package/src/common/util.d.ts +8 -0
  14. package/src/common/util.js +52 -0
  15. package/src/editor-manager/plugin/dom-node.js +1 -1
  16. package/src/editor-manager/plugin/ms-word-clean-up.js +2 -2
  17. package/src/editor-manager/plugin/undo.js +3 -1
  18. package/src/rich-text-editor/actions/html-editor.js +2 -10
  19. package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -0
  20. package/src/rich-text-editor/actions/paste-clean-up.js +52 -12
  21. package/src/rich-text-editor/base/rich-text-editor.d.ts +1 -0
  22. package/src/rich-text-editor/base/rich-text-editor.js +6 -2
  23. package/styles/bootstrap-dark.css +3 -6
  24. package/styles/bootstrap.css +3 -6
  25. package/styles/bootstrap4.css +3 -6
  26. package/styles/bootstrap5-dark.css +3 -6
  27. package/styles/bootstrap5.css +3 -6
  28. package/styles/fabric-dark.css +3 -6
  29. package/styles/fabric.css +3 -6
  30. package/styles/fluent-dark.css +3 -6
  31. package/styles/fluent.css +3 -6
  32. package/styles/highcontrast-light.css +3 -6
  33. package/styles/highcontrast.css +3 -6
  34. package/styles/material-dark.css +3 -6
  35. package/styles/material.css +3 -6
  36. package/styles/material3-dark.css +3 -6
  37. package/styles/material3.css +3 -6
  38. package/styles/rich-text-editor/_layout.scss +3 -6
  39. package/styles/rich-text-editor/bootstrap-dark.css +3 -6
  40. package/styles/rich-text-editor/bootstrap.css +3 -6
  41. package/styles/rich-text-editor/bootstrap4.css +3 -6
  42. package/styles/rich-text-editor/bootstrap5-dark.css +3 -6
  43. package/styles/rich-text-editor/bootstrap5.css +3 -6
  44. package/styles/rich-text-editor/fabric-dark.css +3 -6
  45. package/styles/rich-text-editor/fabric.css +3 -6
  46. package/styles/rich-text-editor/fluent-dark.css +3 -6
  47. package/styles/rich-text-editor/fluent.css +3 -6
  48. package/styles/rich-text-editor/highcontrast-light.css +3 -6
  49. package/styles/rich-text-editor/highcontrast.css +3 -6
  50. package/styles/rich-text-editor/material-dark.css +3 -6
  51. package/styles/rich-text-editor/material.css +3 -6
  52. package/styles/rich-text-editor/material3-dark.css +3 -6
  53. package/styles/rich-text-editor/material3.css +3 -6
  54. package/styles/rich-text-editor/tailwind-dark.css +3 -6
  55. package/styles/rich-text-editor/tailwind.css +3 -6
  56. package/styles/tailwind-dark.css +3 -6
  57. package/styles/tailwind.css +3 -6
@@ -892,6 +892,8 @@
892
892
  .e-richtexteditor .e-rte-content .e-content table,
893
893
  .e-richtexteditor .e-source-content .e-content table {
894
894
  margin-bottom: 10px;
895
+ border-collapse: collapse;
896
+ empty-cells: show;
895
897
  }
896
898
  .e-richtexteditor .e-rte-content .e-content pre,
897
899
  .e-richtexteditor .e-source-content .e-content pre {
@@ -1205,7 +1207,7 @@
1205
1207
  margin-right: 5px;
1206
1208
  display: inline-block;
1207
1209
  float: none;
1208
- max-width: calc(100% - 10px);
1210
+ max-width: 100%;
1209
1211
  padding: 1px;
1210
1212
  vertical-align: bottom;
1211
1213
  }
@@ -1290,11 +1292,6 @@
1290
1292
  display: contents;
1291
1293
  }
1292
1294
 
1293
- .e-rte-table {
1294
- border-collapse: collapse;
1295
- empty-cells: show;
1296
- }
1297
-
1298
1295
  .e-rte-table td,
1299
1296
  .e-rte-table th {
1300
1297
  border: 1px solid #e5e7eb;
@@ -892,6 +892,8 @@
892
892
  .e-richtexteditor .e-rte-content .e-content table,
893
893
  .e-richtexteditor .e-source-content .e-content table {
894
894
  margin-bottom: 10px;
895
+ border-collapse: collapse;
896
+ empty-cells: show;
895
897
  }
896
898
  .e-richtexteditor .e-rte-content .e-content pre,
897
899
  .e-richtexteditor .e-source-content .e-content pre {
@@ -1205,7 +1207,7 @@
1205
1207
  margin-right: 5px;
1206
1208
  display: inline-block;
1207
1209
  float: none;
1208
- max-width: calc(100% - 10px);
1210
+ max-width: 100%;
1209
1211
  padding: 1px;
1210
1212
  vertical-align: bottom;
1211
1213
  }
@@ -1290,11 +1292,6 @@
1290
1292
  display: contents;
1291
1293
  }
1292
1294
 
1293
- .e-rte-table {
1294
- border-collapse: collapse;
1295
- empty-cells: show;
1296
- }
1297
-
1298
1295
  .e-rte-table td,
1299
1296
  .e-rte-table th {
1300
1297
  border: 1px solid #4b5563;
@@ -892,6 +892,8 @@
892
892
  .e-richtexteditor .e-rte-content .e-content table,
893
893
  .e-richtexteditor .e-source-content .e-content table {
894
894
  margin-bottom: 10px;
895
+ border-collapse: collapse;
896
+ empty-cells: show;
895
897
  }
896
898
  .e-richtexteditor .e-rte-content .e-content pre,
897
899
  .e-richtexteditor .e-source-content .e-content pre {
@@ -1205,7 +1207,7 @@
1205
1207
  margin-right: 5px;
1206
1208
  display: inline-block;
1207
1209
  float: none;
1208
- max-width: calc(100% - 10px);
1210
+ max-width: 100%;
1209
1211
  padding: 1px;
1210
1212
  vertical-align: bottom;
1211
1213
  }
@@ -1290,11 +1292,6 @@
1290
1292
  display: contents;
1291
1293
  }
1292
1294
 
1293
- .e-rte-table {
1294
- border-collapse: collapse;
1295
- empty-cells: show;
1296
- }
1297
-
1298
1295
  .e-rte-table td,
1299
1296
  .e-rte-table th {
1300
1297
  border: 1px solid #e5e7eb;