@progress/kendo-react-editor 15.2.0-develop.5 → 15.2.0-develop.7

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/index.d.mts CHANGED
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { Editor as EditorClassComponent } from './Editor.js';
8
+ import { Editor } from './Editor.js';
9
9
  import { EditorProps, EditorMountEvent, EditorPasteEvent, EditorChangeEvent, EditorExecuteEvent, EditorFocusEvent, EditorBlurEvent, EditorIFrameInitEvent } from './EditorProps';
10
10
  import { Selection, SelectionRange, TextSelection, NodeSelection, AllSelection, EditorState, Plugin, PluginKey, Transaction, Decoration, DecorationSet, EditorView, Node, ResolvedPos, NodeRange, Fragment, Slice, ReplaceError, Mark, MarkSpec, Schema, NodeType, NodeSpec, MarkType, ContentMatch, DOMParser, DOMSerializer, Transform, Step, StepResult, joinPoint, canJoin, canSplit, insertPoint, dropPoint, liftTarget, findWrapping, StepMap, MapResult, Mapping, AddMarkStep, RemoveMarkStep, ReplaceStep, ReplaceAroundStep, replaceStep, wrapIn, setBlockType, toggleMark, autoJoin, chainCommands, history, undoDepth, redoDepth, InputRule, inputRules, wrappingInputRule, textblockTypeInputRule, keymap, keydownHandler, addListNodes, wrapInList, splitListItem, liftListItem, sinkListItem, dropCursor, gapCursor, tableEditing, fixTables, cellAround, isInTable, selectionCell, moveCellForward, inSameTable, findCell, colCount, nextCell, removeColSpan, addColSpan, columnIsHeader, tableNodes, tableNodeTypes, CellSelection, TableMap, columnResizing, updateColumnsOnResize, selectedRect, addColumn, rowIsHeader, addRow, deleteRow, mergeCells, splitCell, splitCellWithType, setCellAttr, toggleHeader, goToNextCell, deleteTable, getHtml, parseContent } from '@progress/kendo-editor-common';
11
11
  import { EditorTools } from './tools/index.js';
@@ -14,10 +14,9 @@ import { EditorUtils } from './utils/index.js';
14
14
  import { EditorDialogs } from './dialogs/index.js';
15
15
  import { editorPropsKey } from './utils/props-key.js';
16
16
  import { nodes, marks } from './config/schema';
17
- declare const Editor: import('react').ForwardRefExoticComponent<EditorProps & import('react').RefAttributes<EditorClassComponent>>;
18
- type Editor = EditorClassComponent;
19
17
  export { type Shortcuts } from './config/shortcuts.js';
20
18
  export { type PasteCleanupSettings } from './config/pasteSettings';
19
+ export { type EditorHandle } from './Editor.js';
21
20
  /**
22
21
  * An object containing the content of ProseMirror packages used at the Editor component.
23
22
  *
@@ -182,4 +181,4 @@ export declare const ProseMirror: {
182
181
  goToNextCell: typeof goToNextCell;
183
182
  deleteTable: typeof deleteTable;
184
183
  };
185
- export { Editor, EditorClassComponent, EditorProps, EditorMountEvent, EditorPasteEvent, EditorChangeEvent, EditorExecuteEvent, EditorFocusEvent, EditorBlurEvent, EditorIFrameInitEvent, EditorTools, EditorToolsSettings, EditorUtils, EditorDialogs, NodeSpec, MarkSpec, nodes, marks, getHtml, parseContent, editorPropsKey };
184
+ export { Editor, EditorProps, EditorMountEvent, EditorPasteEvent, EditorChangeEvent, EditorExecuteEvent, EditorFocusEvent, EditorBlurEvent, EditorIFrameInitEvent, EditorTools, EditorToolsSettings, EditorUtils, EditorDialogs, NodeSpec, MarkSpec, nodes, marks, getHtml, parseContent, editorPropsKey };
package/index.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { Editor as EditorClassComponent } from './Editor.js';
8
+ import { Editor } from './Editor.js';
9
9
  import { EditorProps, EditorMountEvent, EditorPasteEvent, EditorChangeEvent, EditorExecuteEvent, EditorFocusEvent, EditorBlurEvent, EditorIFrameInitEvent } from './EditorProps';
10
10
  import { Selection, SelectionRange, TextSelection, NodeSelection, AllSelection, EditorState, Plugin, PluginKey, Transaction, Decoration, DecorationSet, EditorView, Node, ResolvedPos, NodeRange, Fragment, Slice, ReplaceError, Mark, MarkSpec, Schema, NodeType, NodeSpec, MarkType, ContentMatch, DOMParser, DOMSerializer, Transform, Step, StepResult, joinPoint, canJoin, canSplit, insertPoint, dropPoint, liftTarget, findWrapping, StepMap, MapResult, Mapping, AddMarkStep, RemoveMarkStep, ReplaceStep, ReplaceAroundStep, replaceStep, wrapIn, setBlockType, toggleMark, autoJoin, chainCommands, history, undoDepth, redoDepth, InputRule, inputRules, wrappingInputRule, textblockTypeInputRule, keymap, keydownHandler, addListNodes, wrapInList, splitListItem, liftListItem, sinkListItem, dropCursor, gapCursor, tableEditing, fixTables, cellAround, isInTable, selectionCell, moveCellForward, inSameTable, findCell, colCount, nextCell, removeColSpan, addColSpan, columnIsHeader, tableNodes, tableNodeTypes, CellSelection, TableMap, columnResizing, updateColumnsOnResize, selectedRect, addColumn, rowIsHeader, addRow, deleteRow, mergeCells, splitCell, splitCellWithType, setCellAttr, toggleHeader, goToNextCell, deleteTable, getHtml, parseContent } from '@progress/kendo-editor-common';
11
11
  import { EditorTools } from './tools/index.js';
@@ -14,10 +14,9 @@ import { EditorUtils } from './utils/index.js';
14
14
  import { EditorDialogs } from './dialogs/index.js';
15
15
  import { editorPropsKey } from './utils/props-key.js';
16
16
  import { nodes, marks } from './config/schema';
17
- declare const Editor: import('react').ForwardRefExoticComponent<EditorProps & import('react').RefAttributes<EditorClassComponent>>;
18
- type Editor = EditorClassComponent;
19
17
  export { type Shortcuts } from './config/shortcuts.js';
20
18
  export { type PasteCleanupSettings } from './config/pasteSettings';
19
+ export { type EditorHandle } from './Editor.js';
21
20
  /**
22
21
  * An object containing the content of ProseMirror packages used at the Editor component.
23
22
  *
@@ -182,4 +181,4 @@ export declare const ProseMirror: {
182
181
  goToNextCell: typeof goToNextCell;
183
182
  deleteTable: typeof deleteTable;
184
183
  };
185
- export { Editor, EditorClassComponent, EditorProps, EditorMountEvent, EditorPasteEvent, EditorChangeEvent, EditorExecuteEvent, EditorFocusEvent, EditorBlurEvent, EditorIFrameInitEvent, EditorTools, EditorToolsSettings, EditorUtils, EditorDialogs, NodeSpec, MarkSpec, nodes, marks, getHtml, parseContent, editorPropsKey };
184
+ export { Editor, EditorProps, EditorMountEvent, EditorPasteEvent, EditorChangeEvent, EditorExecuteEvent, EditorFocusEvent, EditorBlurEvent, EditorIFrameInitEvent, EditorTools, EditorToolsSettings, EditorUtils, EditorDialogs, NodeSpec, MarkSpec, nodes, marks, getHtml, parseContent, editorPropsKey };
package/index.js CHANGED
@@ -6,4 +6,4 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Editor.js"),o=require("./EditorMcpWrapper.js"),e=require("@progress/kendo-editor-common"),l=require("./tools/index.js"),r=require("./config/toolsSettings.js"),n=require("./utils/index.js"),i=require("./dialogs/index.js"),a=require("./utils/props-key.js"),d=o.EditorWrapper,s={Selection:e.Selection,SelectionRange:e.SelectionRange,TextSelection:e.TextSelection,NodeSelection:e.NodeSelection,AllSelection:e.AllSelection,EditorState:e.EditorState,Plugin:e.Plugin,PluginKey:e.PluginKey,Transaction:e.Transaction,Decoration:e.Decoration,DecorationSet:e.DecorationSet,EditorView:e.EditorView,Node:e.Node,ResolvedPos:e.ResolvedPos,NodeRange:e.NodeRange,Fragment:e.Fragment,Slice:e.Slice,ReplaceError:e.ReplaceError,Mark:e.Mark,Schema:e.Schema,NodeType:e.NodeType,MarkType:e.MarkType,ContentMatch:e.ContentMatch,DOMParser:e.DOMParser,DOMSerializer:e.DOMSerializer,Transform:e.Transform,Step:e.Step,StepResult:e.StepResult,joinPoint:e.joinPoint,canJoin:e.canJoin,canSplit:e.canSplit,insertPoint:e.insertPoint,dropPoint:e.dropPoint,liftTarget:e.liftTarget,findWrapping:e.findWrapping,StepMap:e.StepMap,MapResult:e.MapResult,Mapping:e.Mapping,AddMarkStep:e.AddMarkStep,RemoveMarkStep:e.RemoveMarkStep,ReplaceStep:e.ReplaceStep,ReplaceAroundStep:e.ReplaceAroundStep,replaceStep:e.replaceStep,deleteSelection:e.deleteSelection,joinBackward:e.joinBackward,selectNodeBackward:e.selectNodeBackward,joinForward:e.joinForward,selectNodeForward:e.selectNodeForward,joinUp:e.joinUp,joinDown:e.joinDown,lift:e.lift,newlineInCode:e.newlineInCode,exitCode:e.exitCode,createParagraphNear:e.createParagraphNear,liftEmptyBlock:e.liftEmptyBlock,splitBlock:e.splitBlock,splitBlockKeepMarks:e.splitBlockKeepMarks,selectParentNode:e.selectParentNode,selectAll:e.selectAll,wrapIn:e.wrapIn,setBlockType:e.setBlockType,toggleMark:e.toggleMark,autoJoin:e.autoJoin,chainCommands:e.chainCommands,pcBaseKeymap:e.pcBaseKeymap,macBaseKeymap:e.macBaseKeymap,baseKeymap:e.baseKeymap,history:e.history,undo:e.undo,redo:e.redo,undoDepth:e.undoDepth,redoDepth:e.redoDepth,InputRule:e.InputRule,inputRules:e.inputRules,undoInputRule:e.undoInputRule,emDash:e.emDash,ellipsis:e.ellipsis,openDoubleQuote:e.openDoubleQuote,closeDoubleQuote:e.closeDoubleQuote,openSingleQuote:e.openSingleQuote,closeSingleQuote:e.closeSingleQuote,smartQuotes:e.smartQuotes,wrappingInputRule:e.wrappingInputRule,textblockTypeInputRule:e.textblockTypeInputRule,keymap:e.keymap,keydownHandler:e.keydownHandler,orderedList:e.orderedList,bulletList:e.bulletList,listItem:e.listItem,addListNodes:e.addListNodes,wrapInList:e.wrapInList,splitListItem:e.splitListItem,liftListItem:e.liftListItem,sinkListItem:e.sinkListItem,dropCursor:e.dropCursor,gapCursor:e.gapCursor,tableEditing:e.tableEditing,fixTables:e.fixTables,fixTablesKey:e.fixTablesKey,cellAround:e.cellAround,isInTable:e.isInTable,selectionCell:e.selectionCell,moveCellForward:e.moveCellForward,inSameTable:e.inSameTable,findCell:e.findCell,colCount:e.colCount,nextCell:e.nextCell,removeColSpan:e.removeColSpan,addColSpan:e.addColSpan,columnIsHeader:e.columnIsHeader,tableNodes:e.tableNodes,tableNodeTypes:e.tableNodeTypes,CellSelection:e.CellSelection,TableMap:e.TableMap,tableEditingKey:e.tableEditingKey,columnResizing:e.columnResizing,columnResizingPluginKey:e.columnResizingPluginKey,updateColumnsOnResize:e.updateColumnsOnResize,selectedRect:e.selectedRect,addColumn:e.addColumn,addColumnBefore:e.addColumnBefore,addColumnAfter:e.addColumnAfter,deleteColumn:e.deleteColumn,rowIsHeader:e.rowIsHeader,addRow:e.addRow,addRowBefore:e.addRowBefore,addRowAfter:e.addRowAfter,deleteRow:e.deleteRow,mergeCells:e.mergeCells,splitCell:e.splitCell,splitCellWithType:e.splitCellWithType,setCellAttr:e.setCellAttr,toggleHeader:e.toggleHeader,toggleHeaderRow:e.toggleHeaderRow,toggleHeaderColumn:e.toggleHeaderColumn,toggleHeaderCell:e.toggleHeaderCell,goToNextCell:e.goToNextCell,deleteTable:e.deleteTable};exports.EditorClassComponent=t.Editor;Object.defineProperty(exports,"getHtml",{enumerable:!0,get:()=>e.getHtml});Object.defineProperty(exports,"marks",{enumerable:!0,get:()=>e.marks});Object.defineProperty(exports,"nodes",{enumerable:!0,get:()=>e.nodes});Object.defineProperty(exports,"parseContent",{enumerable:!0,get:()=>e.parseContent});Object.defineProperty(exports,"EditorTools",{enumerable:!0,get:()=>l.EditorTools});Object.defineProperty(exports,"EditorToolsSettings",{enumerable:!0,get:()=>r.EditorToolsSettings});Object.defineProperty(exports,"EditorUtils",{enumerable:!0,get:()=>n.EditorUtils});Object.defineProperty(exports,"EditorDialogs",{enumerable:!0,get:()=>i.EditorDialogs});exports.editorPropsKey=a.editorPropsKey;exports.Editor=d;exports.ProseMirror=s;
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Editor.js"),e=require("@progress/kendo-editor-common"),o=require("./tools/index.js"),l=require("./config/toolsSettings.js"),r=require("./utils/index.js"),n=require("./dialogs/index.js"),i=require("./utils/props-key.js"),a={Selection:e.Selection,SelectionRange:e.SelectionRange,TextSelection:e.TextSelection,NodeSelection:e.NodeSelection,AllSelection:e.AllSelection,EditorState:e.EditorState,Plugin:e.Plugin,PluginKey:e.PluginKey,Transaction:e.Transaction,Decoration:e.Decoration,DecorationSet:e.DecorationSet,EditorView:e.EditorView,Node:e.Node,ResolvedPos:e.ResolvedPos,NodeRange:e.NodeRange,Fragment:e.Fragment,Slice:e.Slice,ReplaceError:e.ReplaceError,Mark:e.Mark,Schema:e.Schema,NodeType:e.NodeType,MarkType:e.MarkType,ContentMatch:e.ContentMatch,DOMParser:e.DOMParser,DOMSerializer:e.DOMSerializer,Transform:e.Transform,Step:e.Step,StepResult:e.StepResult,joinPoint:e.joinPoint,canJoin:e.canJoin,canSplit:e.canSplit,insertPoint:e.insertPoint,dropPoint:e.dropPoint,liftTarget:e.liftTarget,findWrapping:e.findWrapping,StepMap:e.StepMap,MapResult:e.MapResult,Mapping:e.Mapping,AddMarkStep:e.AddMarkStep,RemoveMarkStep:e.RemoveMarkStep,ReplaceStep:e.ReplaceStep,ReplaceAroundStep:e.ReplaceAroundStep,replaceStep:e.replaceStep,deleteSelection:e.deleteSelection,joinBackward:e.joinBackward,selectNodeBackward:e.selectNodeBackward,joinForward:e.joinForward,selectNodeForward:e.selectNodeForward,joinUp:e.joinUp,joinDown:e.joinDown,lift:e.lift,newlineInCode:e.newlineInCode,exitCode:e.exitCode,createParagraphNear:e.createParagraphNear,liftEmptyBlock:e.liftEmptyBlock,splitBlock:e.splitBlock,splitBlockKeepMarks:e.splitBlockKeepMarks,selectParentNode:e.selectParentNode,selectAll:e.selectAll,wrapIn:e.wrapIn,setBlockType:e.setBlockType,toggleMark:e.toggleMark,autoJoin:e.autoJoin,chainCommands:e.chainCommands,pcBaseKeymap:e.pcBaseKeymap,macBaseKeymap:e.macBaseKeymap,baseKeymap:e.baseKeymap,history:e.history,undo:e.undo,redo:e.redo,undoDepth:e.undoDepth,redoDepth:e.redoDepth,InputRule:e.InputRule,inputRules:e.inputRules,undoInputRule:e.undoInputRule,emDash:e.emDash,ellipsis:e.ellipsis,openDoubleQuote:e.openDoubleQuote,closeDoubleQuote:e.closeDoubleQuote,openSingleQuote:e.openSingleQuote,closeSingleQuote:e.closeSingleQuote,smartQuotes:e.smartQuotes,wrappingInputRule:e.wrappingInputRule,textblockTypeInputRule:e.textblockTypeInputRule,keymap:e.keymap,keydownHandler:e.keydownHandler,orderedList:e.orderedList,bulletList:e.bulletList,listItem:e.listItem,addListNodes:e.addListNodes,wrapInList:e.wrapInList,splitListItem:e.splitListItem,liftListItem:e.liftListItem,sinkListItem:e.sinkListItem,dropCursor:e.dropCursor,gapCursor:e.gapCursor,tableEditing:e.tableEditing,fixTables:e.fixTables,fixTablesKey:e.fixTablesKey,cellAround:e.cellAround,isInTable:e.isInTable,selectionCell:e.selectionCell,moveCellForward:e.moveCellForward,inSameTable:e.inSameTable,findCell:e.findCell,colCount:e.colCount,nextCell:e.nextCell,removeColSpan:e.removeColSpan,addColSpan:e.addColSpan,columnIsHeader:e.columnIsHeader,tableNodes:e.tableNodes,tableNodeTypes:e.tableNodeTypes,CellSelection:e.CellSelection,TableMap:e.TableMap,tableEditingKey:e.tableEditingKey,columnResizing:e.columnResizing,columnResizingPluginKey:e.columnResizingPluginKey,updateColumnsOnResize:e.updateColumnsOnResize,selectedRect:e.selectedRect,addColumn:e.addColumn,addColumnBefore:e.addColumnBefore,addColumnAfter:e.addColumnAfter,deleteColumn:e.deleteColumn,rowIsHeader:e.rowIsHeader,addRow:e.addRow,addRowBefore:e.addRowBefore,addRowAfter:e.addRowAfter,deleteRow:e.deleteRow,mergeCells:e.mergeCells,splitCell:e.splitCell,splitCellWithType:e.splitCellWithType,setCellAttr:e.setCellAttr,toggleHeader:e.toggleHeader,toggleHeaderRow:e.toggleHeaderRow,toggleHeaderColumn:e.toggleHeaderColumn,toggleHeaderCell:e.toggleHeaderCell,goToNextCell:e.goToNextCell,deleteTable:e.deleteTable};exports.Editor=t.Editor;Object.defineProperty(exports,"getHtml",{enumerable:!0,get:()=>e.getHtml});Object.defineProperty(exports,"marks",{enumerable:!0,get:()=>e.marks});Object.defineProperty(exports,"nodes",{enumerable:!0,get:()=>e.nodes});Object.defineProperty(exports,"parseContent",{enumerable:!0,get:()=>e.parseContent});Object.defineProperty(exports,"EditorTools",{enumerable:!0,get:()=>o.EditorTools});Object.defineProperty(exports,"EditorToolsSettings",{enumerable:!0,get:()=>l.EditorToolsSettings});Object.defineProperty(exports,"EditorUtils",{enumerable:!0,get:()=>r.EditorUtils});Object.defineProperty(exports,"EditorDialogs",{enumerable:!0,get:()=>n.EditorDialogs});exports.editorPropsKey=i.editorPropsKey;exports.ProseMirror=a;
package/index.mjs CHANGED
@@ -6,178 +6,176 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import { Editor as Qo } from "./Editor.mjs";
10
- import { EditorWrapper as e } from "./EditorMcpWrapper.mjs";
11
- import { deleteTable as o, goToNextCell as t, toggleHeaderCell as l, toggleHeaderColumn as r, toggleHeaderRow as a, toggleHeader as i, setCellAttr as n, splitCellWithType as d, splitCell as p, mergeCells as s, deleteRow as c, addRowAfter as m, addRowBefore as u, addRow as g, rowIsHeader as C, deleteColumn as S, addColumnAfter as R, addColumnBefore as f, addColumn as T, selectedRect as w, updateColumnsOnResize as y, columnResizingPluginKey as k, columnResizing as b, tableEditingKey as x, TableMap as E, CellSelection as I, tableNodeTypes as M, tableNodes as N, columnIsHeader as P, addColSpan as D, removeColSpan as B, nextCell as h, colCount as K, findCell as A, inSameTable as H, moveCellForward as L, selectionCell as j, isInTable as Q, cellAround as v, fixTablesKey as z, fixTables as F, tableEditing as O, gapCursor as W, dropCursor as J, sinkListItem as U, liftListItem as V, splitListItem as q, wrapInList as G, addListNodes as X, listItem as Y, bulletList as Z, orderedList as _, keydownHandler as $, keymap as ee, textblockTypeInputRule as oe, wrappingInputRule as te, smartQuotes as le, closeSingleQuote as re, openSingleQuote as ae, closeDoubleQuote as ie, openDoubleQuote as ne, ellipsis as de, emDash as pe, undoInputRule as se, inputRules as ce, InputRule as me, redoDepth as ue, undoDepth as ge, redo as Ce, undo as Se, history as Re, baseKeymap as fe, macBaseKeymap as Te, pcBaseKeymap as we, chainCommands as ye, autoJoin as ke, toggleMark as be, setBlockType as xe, wrapIn as Ee, selectAll as Ie, selectParentNode as Me, splitBlockKeepMarks as Ne, splitBlock as Pe, liftEmptyBlock as De, createParagraphNear as Be, exitCode as he, newlineInCode as Ke, lift as Ae, joinDown as He, joinUp as Le, selectNodeForward as je, joinForward as Qe, selectNodeBackward as ve, joinBackward as ze, deleteSelection as Fe, replaceStep as Oe, ReplaceAroundStep as We, ReplaceStep as Je, RemoveMarkStep as Ue, AddMarkStep as Ve, Mapping as qe, MapResult as Ge, StepMap as Xe, findWrapping as Ye, liftTarget as Ze, dropPoint as _e, insertPoint as $e, canSplit as eo, canJoin as oo, joinPoint as to, StepResult as lo, Step as ro, Transform as ao, DOMSerializer as io, DOMParser as no, ContentMatch as po, MarkType as so, NodeType as co, Schema as mo, Mark as uo, ReplaceError as go, Slice as Co, Fragment as So, NodeRange as Ro, ResolvedPos as fo, Node as To, EditorView as wo, DecorationSet as yo, Decoration as ko, Transaction as bo, PluginKey as xo, Plugin as Eo, EditorState as Io, AllSelection as Mo, NodeSelection as No, TextSelection as Po, SelectionRange as Do, Selection as Bo } from "@progress/kendo-editor-common";
12
- import { getHtml as zo, marks as Fo, nodes as Oo, parseContent as Wo } from "@progress/kendo-editor-common";
13
- import { EditorTools as Uo } from "./tools/index.mjs";
14
- import { EditorToolsSettings as qo } from "./config/toolsSettings.mjs";
15
- import { EditorUtils as Xo } from "./utils/index.mjs";
16
- import { EditorDialogs as Zo } from "./dialogs/index.mjs";
17
- import { editorPropsKey as $o } from "./utils/props-key.mjs";
18
- const Ao = e, Ho = {
9
+ import { Editor as Ho } from "./Editor.mjs";
10
+ import { deleteTable as e, goToNextCell as o, toggleHeaderCell as t, toggleHeaderColumn as l, toggleHeaderRow as r, toggleHeader as a, setCellAttr as n, splitCellWithType as i, splitCell as d, mergeCells as p, deleteRow as s, addRowAfter as c, addRowBefore as m, addRow as u, rowIsHeader as g, deleteColumn as C, addColumnAfter as S, addColumnBefore as R, addColumn as f, selectedRect as T, updateColumnsOnResize as w, columnResizingPluginKey as y, columnResizing as k, tableEditingKey as b, TableMap as x, CellSelection as I, tableNodeTypes as M, tableNodes as N, columnIsHeader as P, addColSpan as D, removeColSpan as E, nextCell as B, colCount as h, findCell as K, inSameTable as A, moveCellForward as H, selectionCell as L, isInTable as j, cellAround as Q, fixTablesKey as v, fixTables as z, tableEditing as F, gapCursor as O, dropCursor as J, sinkListItem as U, liftListItem as W, splitListItem as V, wrapInList as q, addListNodes as G, listItem as X, bulletList as Y, orderedList as Z, keydownHandler as _, keymap as $, textblockTypeInputRule as ee, wrappingInputRule as oe, smartQuotes as te, closeSingleQuote as le, openSingleQuote as re, closeDoubleQuote as ae, openDoubleQuote as ne, ellipsis as ie, emDash as de, undoInputRule as pe, inputRules as se, InputRule as ce, redoDepth as me, undoDepth as ue, redo as ge, undo as Ce, history as Se, baseKeymap as Re, macBaseKeymap as fe, pcBaseKeymap as Te, chainCommands as we, autoJoin as ye, toggleMark as ke, setBlockType as be, wrapIn as xe, selectAll as Ie, selectParentNode as Me, splitBlockKeepMarks as Ne, splitBlock as Pe, liftEmptyBlock as De, createParagraphNear as Ee, exitCode as Be, newlineInCode as he, lift as Ke, joinDown as Ae, joinUp as He, selectNodeForward as Le, joinForward as je, selectNodeBackward as Qe, joinBackward as ve, deleteSelection as ze, replaceStep as Fe, ReplaceAroundStep as Oe, ReplaceStep as Je, RemoveMarkStep as Ue, AddMarkStep as We, Mapping as Ve, MapResult as qe, StepMap as Ge, findWrapping as Xe, liftTarget as Ye, dropPoint as Ze, insertPoint as _e, canSplit as $e, canJoin as eo, joinPoint as oo, StepResult as to, Step as lo, Transform as ro, DOMSerializer as ao, DOMParser as no, ContentMatch as io, MarkType as po, NodeType as so, Schema as co, Mark as mo, ReplaceError as uo, Slice as go, Fragment as Co, NodeRange as So, ResolvedPos as Ro, Node as fo, EditorView as To, DecorationSet as wo, Decoration as yo, Transaction as ko, PluginKey as bo, Plugin as xo, EditorState as Io, AllSelection as Mo, NodeSelection as No, TextSelection as Po, SelectionRange as Do, Selection as Eo } from "@progress/kendo-editor-common";
11
+ import { getHtml as jo, marks as Qo, nodes as vo, parseContent as zo } from "@progress/kendo-editor-common";
12
+ import { EditorTools as Oo } from "./tools/index.mjs";
13
+ import { EditorToolsSettings as Uo } from "./config/toolsSettings.mjs";
14
+ import { EditorUtils as Vo } from "./utils/index.mjs";
15
+ import { EditorDialogs as Go } from "./dialogs/index.mjs";
16
+ import { editorPropsKey as Yo } from "./utils/props-key.mjs";
17
+ const ho = {
19
18
  // prosemirror-state
20
- Selection: Bo,
19
+ Selection: Eo,
21
20
  SelectionRange: Do,
22
21
  TextSelection: Po,
23
22
  NodeSelection: No,
24
23
  AllSelection: Mo,
25
24
  EditorState: Io,
26
- Plugin: Eo,
27
- PluginKey: xo,
28
- Transaction: bo,
25
+ Plugin: xo,
26
+ PluginKey: bo,
27
+ Transaction: ko,
29
28
  // prosemirror-view
30
- Decoration: ko,
31
- DecorationSet: yo,
32
- EditorView: wo,
29
+ Decoration: yo,
30
+ DecorationSet: wo,
31
+ EditorView: To,
33
32
  // prosemirror-model
34
- Node: To,
35
- ResolvedPos: fo,
36
- NodeRange: Ro,
37
- Fragment: So,
38
- Slice: Co,
39
- ReplaceError: go,
40
- Mark: uo,
41
- Schema: mo,
42
- NodeType: co,
43
- MarkType: so,
44
- ContentMatch: po,
33
+ Node: fo,
34
+ ResolvedPos: Ro,
35
+ NodeRange: So,
36
+ Fragment: Co,
37
+ Slice: go,
38
+ ReplaceError: uo,
39
+ Mark: mo,
40
+ Schema: co,
41
+ NodeType: so,
42
+ MarkType: po,
43
+ ContentMatch: io,
45
44
  DOMParser: no,
46
- DOMSerializer: io,
45
+ DOMSerializer: ao,
47
46
  // prosemirror-transform
48
- Transform: ao,
49
- Step: ro,
50
- StepResult: lo,
51
- joinPoint: to,
52
- canJoin: oo,
53
- canSplit: eo,
54
- insertPoint: $e,
55
- dropPoint: _e,
56
- liftTarget: Ze,
57
- findWrapping: Ye,
58
- StepMap: Xe,
59
- MapResult: Ge,
60
- Mapping: qe,
61
- AddMarkStep: Ve,
47
+ Transform: ro,
48
+ Step: lo,
49
+ StepResult: to,
50
+ joinPoint: oo,
51
+ canJoin: eo,
52
+ canSplit: $e,
53
+ insertPoint: _e,
54
+ dropPoint: Ze,
55
+ liftTarget: Ye,
56
+ findWrapping: Xe,
57
+ StepMap: Ge,
58
+ MapResult: qe,
59
+ Mapping: Ve,
60
+ AddMarkStep: We,
62
61
  RemoveMarkStep: Ue,
63
62
  ReplaceStep: Je,
64
- ReplaceAroundStep: We,
65
- replaceStep: Oe,
63
+ ReplaceAroundStep: Oe,
64
+ replaceStep: Fe,
66
65
  // prosemirror-commands
67
- deleteSelection: Fe,
68
- joinBackward: ze,
69
- selectNodeBackward: ve,
70
- joinForward: Qe,
71
- selectNodeForward: je,
72
- joinUp: Le,
73
- joinDown: He,
74
- lift: Ae,
75
- newlineInCode: Ke,
76
- exitCode: he,
77
- createParagraphNear: Be,
66
+ deleteSelection: ze,
67
+ joinBackward: ve,
68
+ selectNodeBackward: Qe,
69
+ joinForward: je,
70
+ selectNodeForward: Le,
71
+ joinUp: He,
72
+ joinDown: Ae,
73
+ lift: Ke,
74
+ newlineInCode: he,
75
+ exitCode: Be,
76
+ createParagraphNear: Ee,
78
77
  liftEmptyBlock: De,
79
78
  splitBlock: Pe,
80
79
  splitBlockKeepMarks: Ne,
81
80
  selectParentNode: Me,
82
81
  selectAll: Ie,
83
- wrapIn: Ee,
84
- setBlockType: xe,
85
- toggleMark: be,
86
- autoJoin: ke,
87
- chainCommands: ye,
88
- pcBaseKeymap: we,
89
- macBaseKeymap: Te,
90
- baseKeymap: fe,
82
+ wrapIn: xe,
83
+ setBlockType: be,
84
+ toggleMark: ke,
85
+ autoJoin: ye,
86
+ chainCommands: we,
87
+ pcBaseKeymap: Te,
88
+ macBaseKeymap: fe,
89
+ baseKeymap: Re,
91
90
  // prosemirror-history
92
- history: Re,
93
- undo: Se,
94
- redo: Ce,
95
- undoDepth: ge,
96
- redoDepth: ue,
91
+ history: Se,
92
+ undo: Ce,
93
+ redo: ge,
94
+ undoDepth: ue,
95
+ redoDepth: me,
97
96
  // prosemirror-inputrules
98
- InputRule: me,
99
- inputRules: ce,
100
- undoInputRule: se,
101
- emDash: pe,
102
- ellipsis: de,
97
+ InputRule: ce,
98
+ inputRules: se,
99
+ undoInputRule: pe,
100
+ emDash: de,
101
+ ellipsis: ie,
103
102
  openDoubleQuote: ne,
104
- closeDoubleQuote: ie,
105
- openSingleQuote: ae,
106
- closeSingleQuote: re,
107
- smartQuotes: le,
108
- wrappingInputRule: te,
109
- textblockTypeInputRule: oe,
103
+ closeDoubleQuote: ae,
104
+ openSingleQuote: re,
105
+ closeSingleQuote: le,
106
+ smartQuotes: te,
107
+ wrappingInputRule: oe,
108
+ textblockTypeInputRule: ee,
110
109
  // prosemirror-keymap
111
- keymap: ee,
112
- keydownHandler: $,
110
+ keymap: $,
111
+ keydownHandler: _,
113
112
  // prosemirror-schema-list
114
- orderedList: _,
115
- bulletList: Z,
116
- listItem: Y,
117
- addListNodes: X,
118
- wrapInList: G,
119
- splitListItem: q,
120
- liftListItem: V,
113
+ orderedList: Z,
114
+ bulletList: Y,
115
+ listItem: X,
116
+ addListNodes: G,
117
+ wrapInList: q,
118
+ splitListItem: V,
119
+ liftListItem: W,
121
120
  sinkListItem: U,
122
121
  // prosemirror-dropcursor
123
122
  dropCursor: J,
124
123
  // prosemirror-gapcursor
125
- gapCursor: W,
124
+ gapCursor: O,
126
125
  // prosemirror-tables
127
- tableEditing: O,
128
- fixTables: F,
129
- fixTablesKey: z,
130
- cellAround: v,
131
- isInTable: Q,
132
- selectionCell: j,
133
- moveCellForward: L,
134
- inSameTable: H,
135
- findCell: A,
136
- colCount: K,
137
- nextCell: h,
138
- removeColSpan: B,
126
+ tableEditing: F,
127
+ fixTables: z,
128
+ fixTablesKey: v,
129
+ cellAround: Q,
130
+ isInTable: j,
131
+ selectionCell: L,
132
+ moveCellForward: H,
133
+ inSameTable: A,
134
+ findCell: K,
135
+ colCount: h,
136
+ nextCell: B,
137
+ removeColSpan: E,
139
138
  addColSpan: D,
140
139
  columnIsHeader: P,
141
140
  tableNodes: N,
142
141
  tableNodeTypes: M,
143
142
  CellSelection: I,
144
- TableMap: E,
145
- tableEditingKey: x,
146
- columnResizing: b,
147
- columnResizingPluginKey: k,
148
- updateColumnsOnResize: y,
149
- selectedRect: w,
150
- addColumn: T,
151
- addColumnBefore: f,
152
- addColumnAfter: R,
153
- deleteColumn: S,
154
- rowIsHeader: C,
155
- addRow: g,
156
- addRowBefore: u,
157
- addRowAfter: m,
158
- deleteRow: c,
159
- mergeCells: s,
160
- splitCell: p,
161
- splitCellWithType: d,
143
+ TableMap: x,
144
+ tableEditingKey: b,
145
+ columnResizing: k,
146
+ columnResizingPluginKey: y,
147
+ updateColumnsOnResize: w,
148
+ selectedRect: T,
149
+ addColumn: f,
150
+ addColumnBefore: R,
151
+ addColumnAfter: S,
152
+ deleteColumn: C,
153
+ rowIsHeader: g,
154
+ addRow: u,
155
+ addRowBefore: m,
156
+ addRowAfter: c,
157
+ deleteRow: s,
158
+ mergeCells: p,
159
+ splitCell: d,
160
+ splitCellWithType: i,
162
161
  setCellAttr: n,
163
- toggleHeader: i,
164
- toggleHeaderRow: a,
165
- toggleHeaderColumn: r,
166
- toggleHeaderCell: l,
167
- goToNextCell: t,
168
- deleteTable: o
162
+ toggleHeader: a,
163
+ toggleHeaderRow: r,
164
+ toggleHeaderColumn: l,
165
+ toggleHeaderCell: t,
166
+ goToNextCell: o,
167
+ deleteTable: e
169
168
  };
170
169
  export {
171
- Ao as Editor,
172
- Qo as EditorClassComponent,
173
- Zo as EditorDialogs,
174
- Uo as EditorTools,
175
- qo as EditorToolsSettings,
176
- Xo as EditorUtils,
177
- Ho as ProseMirror,
178
- $o as editorPropsKey,
179
- zo as getHtml,
180
- Fo as marks,
181
- Oo as nodes,
182
- Wo as parseContent
170
+ Ho as Editor,
171
+ Go as EditorDialogs,
172
+ Oo as EditorTools,
173
+ Uo as EditorToolsSettings,
174
+ Vo as EditorUtils,
175
+ ho as ProseMirror,
176
+ Yo as editorPropsKey,
177
+ jo as getHtml,
178
+ Qo as marks,
179
+ vo as nodes,
180
+ zo as parseContent
183
181
  };
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-editor",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1785925797,version:"15.2.0-develop.5",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-editor",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1786093322,version:"15.2.0-develop.7",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
@@ -7,7 +7,7 @@ export const packageMetadata = Object.freeze({
7
7
  productName: 'KendoReact',
8
8
  productCode: 'KENDOUIREACT',
9
9
  productCodes: ['KENDOUIREACT'],
10
- publishDate: 1785925797,
11
- version: '15.2.0-develop.5',
10
+ publishDate: 1786093322,
11
+ version: '15.2.0-develop.7',
12
12
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/'
13
13
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-editor",
3
- "version": "15.2.0-develop.5",
3
+ "version": "15.2.0-develop.7",
4
4
  "description": "React Editor enables users to create rich text content through a WYSIWYG interface. KendoReact Editor package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -27,16 +27,16 @@
27
27
  "peerDependencies": {
28
28
  "@progress/kendo-drawing": "^1.21.2",
29
29
  "@progress/kendo-licensing": "^1.7.2",
30
- "@progress/kendo-react-buttons": "15.2.0-develop.5",
31
- "@progress/kendo-react-common": "15.2.0-develop.5",
32
- "@progress/kendo-react-dialogs": "15.2.0-develop.5",
33
- "@progress/kendo-react-dropdowns": "15.2.0-develop.5",
34
- "@progress/kendo-react-form": "15.2.0-develop.5",
35
- "@progress/kendo-react-inputs": "15.2.0-develop.5",
36
- "@progress/kendo-react-intl": "15.2.0-develop.5",
37
- "@progress/kendo-react-layout": "15.2.0-develop.5",
38
- "@progress/kendo-react-pdf": "15.2.0-develop.5",
39
- "@progress/kendo-react-popup": "15.2.0-develop.5",
30
+ "@progress/kendo-react-buttons": "15.2.0-develop.7",
31
+ "@progress/kendo-react-common": "15.2.0-develop.7",
32
+ "@progress/kendo-react-dialogs": "15.2.0-develop.7",
33
+ "@progress/kendo-react-dropdowns": "15.2.0-develop.7",
34
+ "@progress/kendo-react-form": "15.2.0-develop.7",
35
+ "@progress/kendo-react-inputs": "15.2.0-develop.7",
36
+ "@progress/kendo-react-intl": "15.2.0-develop.7",
37
+ "@progress/kendo-react-layout": "15.2.0-develop.7",
38
+ "@progress/kendo-react-pdf": "15.2.0-develop.7",
39
+ "@progress/kendo-react-popup": "15.2.0-develop.7",
40
40
  "@progress/kendo-svg-icons": "^4.9.0 || ^5.0.0",
41
41
  "react": "^18.0.0 || ^19.0.0",
42
42
  "react-dom": "^18.0.0 || ^19.0.0"
@@ -63,7 +63,7 @@
63
63
  "package": {
64
64
  "productName": "KendoReact",
65
65
  "productCode": "KENDOUIREACT",
66
- "publishDate": 1785925797,
66
+ "publishDate": 1786093322,
67
67
  "licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
68
68
  }
69
69
  },
@@ -1,17 +0,0 @@
1
- /**
2
- * @license
3
- *-------------------------------------------------------------------------------------------
4
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
- * Licensed under commercial license. See LICENSE.md in the package root for more information
6
- *-------------------------------------------------------------------------------------------
7
- */
8
- import { Editor as EditorClassComponent } from './Editor.js';
9
- import { EditorProps } from './EditorProps';
10
- /**
11
- * Editor wrapper that integrates the Web MCP hook.
12
- *
13
- * @hidden
14
- */
15
- import * as React from 'react';
16
- /** @hidden */
17
- export declare const EditorWrapper: React.ForwardRefExoticComponent<EditorProps & React.RefAttributes<EditorClassComponent>>;
@@ -1,8 +0,0 @@
1
- /**
2
- * @license
3
- *-------------------------------------------------------------------------------------------
4
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
- * Licensed under commercial license. See LICENSE.md in the package root for more information
6
- *-------------------------------------------------------------------------------------------
7
- */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),d=require("./Editor.js"),n=require("@progress/kendo-react-common");function u(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const c=u(i),a=c.forwardRef((e,r)=>{const[t,o]=n.useMergedRef(r);return n.useWebMcpRegister("editor",t,e,e.webMcp),c.createElement(d.Editor,{...e,ref:o})});a.displayName="KendoReactEditor";exports.EditorWrapper=a;
@@ -1,18 +0,0 @@
1
- /**
2
- * @license
3
- *-------------------------------------------------------------------------------------------
4
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
- * Licensed under commercial license. See LICENSE.md in the package root for more information
6
- *-------------------------------------------------------------------------------------------
7
- */
8
- import * as r from "react";
9
- import { Editor as d } from "./Editor.mjs";
10
- import { useMergedRef as f, useWebMcpRegister as m } from "@progress/kendo-react-common";
11
- const a = r.forwardRef((e, t) => {
12
- const [o, i] = f(t);
13
- return m("editor", o, e, e.webMcp), /* @__PURE__ */ r.createElement(d, { ...e, ref: i });
14
- });
15
- a.displayName = "KendoReactEditor";
16
- export {
17
- a as EditorWrapper
18
- };