@progress/kendo-angular-editor 25.1.0-develop.8 → 25.1.0

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.
@@ -13,7 +13,7 @@ import { ToolBarToolComponent, ToolBarComponent, ToolBarButtonGroupComponent, To
13
13
  import * as i1$1 from '@progress/kendo-angular-dialog';
14
14
  import { DialogContentBase, DialogTitleBarComponent, DialogActionsComponent, DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
15
15
  import { isDocumentAvailable, guid, getLicenseMessage, shouldShowValidationUI, Keys, hasObservers, WatermarkOverlayComponent, KendoInput, KENDO_WEBMCP_HOST, provideComponentName, isPresent as isPresent$1, ResizeBatchService } from '@progress/kendo-angular-common';
16
- import { marks as marks$1, nodes as nodes$1, Schema, createTable, insertNode, alignBlocks, alignRemoveRules, canIndentAsListItem, indent, canBeIndented, indentBlocks, hasNode, liftBlockquote, canOutdentAsListItem, outdent, selectAll, expandToWordWrap, applyInlineStyle, removeLink, link, toggleInlineFormat, underline, superscript, subscript, strikethrough, italic, insertText, applyLink, cleanFormatting, bold, blockquote, undo, setHtml, redo, toggleUnorderedList, toggleOrderedList, insertImage, getHtml, formatBlockElements, isAligned, alignRightRules, alignLeftRules, alignJustifyRules, alignCenterRules, deleteTable, splitCell, mergeCells, deleteColumn, deleteRow, addRowAfter, addRowBefore, addColumnAfter, addColumnBefore, expandSelection, hasMark, getActiveMarks, isIndented, activeNode, getSelectionText as getSelectionText$1, getNodeFromSelection, getMark, removeComments, sanitize, removeAttribute, sanitizeClassAttr, sanitizeStyleAttr, TextSelection, parseContent, Plugin, PluginKey, history, keymap, buildListKeymap, buildKeymap, baseKeymap, gapCursor, imageResizing, tableResizing, tableEditing, caretColor, cspFix, placeholder, EditorState, EditorView, pasteCleanup, AllSelection } from '@progress/kendo-editor-common';
16
+ import { marks as marks$1, nodes as nodes$1, Schema, createTable, insertNode, alignBlocks, alignRemoveRules, canIndentAsListItem, indent, canBeIndented, indentBlocks, hasNode, liftBlockquote, canOutdentAsListItem, outdent, selectAll, expandToWordWrap, applyInlineStyle, removeLink, link, toggleInlineFormat, underline, superscript, subscript, strikethrough, italic, insertText, applyLink, cleanFormatting, bold, blockquote, undo, setHtml, redo, toggleUnorderedList, toggleOrderedList, insertImage, getHtml, formatBlockElements, isAligned, alignRightRules, alignLeftRules, alignJustifyRules, alignCenterRules, deleteTable, splitCell, mergeCells, deleteColumn, deleteRow, addRowAfter, addRowBefore, addColumnAfter, addColumnBefore, expandSelection, hasMark, getActiveMarks, isIndented, activeNode, getSelectionText as getSelectionText$1, getNodeFromSelection, getMark, removeComments, sanitize, removeAttribute, sanitizeClassAttr, sanitizeStyleAttr, TextSelection, parseContent, Plugin, PluginKey, history, keymap, buildListKeymap, buildKeymap, baseKeymap, gapCursor, imageResizing, tableResizing, tableEditing, caretColor, cspFix, placeholder, EditorState, EditorView, pasteCleanup, replaceImageSourcesFromRtf, AllSelection } from '@progress/kendo-editor-common';
17
17
  export { AllSelection, CellSelection, Decoration, DecorationSet, EditorState, EditorView, InputRule, Mark, MarkType, Node, NodeSelection, NodeType, Plugin, PluginKey, Schema, TextSelection, Transaction, baseKeymap, dropCursor, flattenNestedSpans, gapCursor, history, inputRules, keymap, tableNodes, textblockTypeInputRule, wrappingInputRule } from '@progress/kendo-editor-common';
18
18
  import { validatePackage } from '@progress/kendo-licensing';
19
19
  import * as i1 from '@progress/kendo-angular-l10n';
@@ -36,8 +36,8 @@ const packageMetadata = {
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCode: 'KENDOUIANGULAR',
38
38
  productCodes: ['KENDOUIANGULAR'],
39
- publishDate: 1787574895,
40
- version: '25.1.0-develop.8',
39
+ publishDate: 1788865073,
40
+ version: '25.1.0',
41
41
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
42
42
  };
43
43
 
@@ -3980,7 +3980,12 @@ class EditorComponent {
3980
3980
  });
3981
3981
  return this.dispatchPasteEvent(dirtyHtml, removeCommentsIf(pasteCleanupSettings.removeHtmlComments)(clean));
3982
3982
  };
3983
- transformPastedHTML = (html) => this.transformPastedContent(html);
3983
+ transformPastedHTML = (html) => {
3984
+ const processedHtml = this._pasteEvent?.clipboardData
3985
+ ? replaceImageSourcesFromRtf(html, this._pasteEvent.clipboardData)
3986
+ : html;
3987
+ return this.transformPastedContent(processedHtml);
3988
+ };
3984
3989
  transformPastedText = (html) => this.transformPastedContent(html, true);
3985
3990
  changeValue = (value) => {
3986
3991
  const prev = this._value;
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1787574895,
11
- "version": "25.1.0-develop.8",
10
+ "publishDate": 1788865073,
11
+ "version": "25.1.0",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-editor",
3
- "version": "25.1.0-develop.8",
3
+ "version": "25.1.0",
4
4
  "description": "Kendo UI Editor for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -17,7 +17,7 @@
17
17
  "package": {
18
18
  "productName": "Kendo UI for Angular",
19
19
  "productCode": "KENDOUIANGULAR",
20
- "publishDate": 1787574895,
20
+ "publishDate": 1788865073,
21
21
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
22
22
  }
23
23
  },
@@ -29,24 +29,24 @@
29
29
  "@angular/platform-browser": "20 - 22",
30
30
  "@progress/kendo-drawing": "^1.25.0",
31
31
  "@progress/kendo-licensing": "^1.11.0",
32
- "@progress/kendo-angular-buttons": "25.1.0-develop.8",
33
- "@progress/kendo-angular-common": "25.1.0-develop.8",
34
- "@progress/kendo-angular-dialog": "25.1.0-develop.8",
35
- "@progress/kendo-angular-dropdowns": "25.1.0-develop.8",
36
- "@progress/kendo-angular-inputs": "25.1.0-develop.8",
37
- "@progress/kendo-angular-intl": "25.1.0-develop.8",
38
- "@progress/kendo-angular-l10n": "25.1.0-develop.8",
39
- "@progress/kendo-angular-label": "25.1.0-develop.8",
40
- "@progress/kendo-angular-layout": "25.1.0-develop.8",
41
- "@progress/kendo-angular-icons": "25.1.0-develop.8",
42
- "@progress/kendo-angular-popup": "25.1.0-develop.8",
43
- "@progress/kendo-angular-toolbar": "25.1.0-develop.8",
32
+ "@progress/kendo-angular-buttons": "25.1.0",
33
+ "@progress/kendo-angular-common": "25.1.0",
34
+ "@progress/kendo-angular-dialog": "25.1.0",
35
+ "@progress/kendo-angular-dropdowns": "25.1.0",
36
+ "@progress/kendo-angular-inputs": "25.1.0",
37
+ "@progress/kendo-angular-intl": "25.1.0",
38
+ "@progress/kendo-angular-l10n": "25.1.0",
39
+ "@progress/kendo-angular-label": "25.1.0",
40
+ "@progress/kendo-angular-layout": "25.1.0",
41
+ "@progress/kendo-angular-icons": "25.1.0",
42
+ "@progress/kendo-angular-popup": "25.1.0",
43
+ "@progress/kendo-angular-toolbar": "25.1.0",
44
44
  "rxjs": "^6.5.3 || ^7.0.0"
45
45
  },
46
46
  "dependencies": {
47
47
  "tslib": "^2.3.1",
48
- "@progress/kendo-angular-schematics": "25.1.0-develop.8",
49
- "@progress/kendo-editor-common": "1.12.6"
48
+ "@progress/kendo-angular-schematics": "25.1.0",
49
+ "@progress/kendo-editor-common": "1.12.8"
50
50
  },
51
51
  "schematics": "./schematics/collection.json",
52
52
  "module": "fesm2022/progress-kendo-angular-editor.mjs",
@@ -9,12 +9,12 @@ const schematics_1 = require("@angular-devkit/schematics");
9
9
  function default_1(options) {
10
10
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'EditorModule', package: 'editor', peerDependencies: {
11
11
  // peer dependencies of kendo-angular-dropdowns
12
- '@progress/kendo-angular-navigation': '25.1.0-develop.8',
13
- '@progress/kendo-angular-treeview': '25.1.0-develop.8',
12
+ '@progress/kendo-angular-navigation': '25.1.0',
13
+ '@progress/kendo-angular-treeview': '25.1.0',
14
14
  // peer dependency of kendo-angular-layout
15
- '@progress/kendo-angular-progressbar': '25.1.0-develop.8',
15
+ '@progress/kendo-angular-progressbar': '25.1.0',
16
16
  // peer dependency of kendo-angular-inputs
17
- '@progress/kendo-angular-dialog': '25.1.0-develop.8',
17
+ '@progress/kendo-angular-dialog': '25.1.0',
18
18
  // Peer dependency of icons
19
19
  '@progress/kendo-svg-icons': '^4.0.0'
20
20
  } });