@progress/kendo-react-editor 15.2.0-develop.4 → 15.2.0-develop.6
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/Editor.d.ts +15 -95
- package/Editor.js +1 -1
- package/Editor.mjs +299 -306
- package/EditorProps.d.ts +2 -2
- package/dist/cdn/js/kendo-react-editor.js +1 -1
- package/index.d.mts +3 -4
- package/index.d.ts +3 -4
- package/index.js +1 -1
- package/index.mjs +136 -138
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +12 -12
- package/EditorMcpWrapper.d.ts +0 -17
- package/EditorMcpWrapper.js +0 -8
- package/EditorMcpWrapper.mjs +0 -18
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
|
|
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,
|
|
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
|
|
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,
|
|
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"),
|
|
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
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
|
|
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:
|
|
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:
|
|
27
|
-
PluginKey:
|
|
28
|
-
Transaction:
|
|
25
|
+
Plugin: xo,
|
|
26
|
+
PluginKey: bo,
|
|
27
|
+
Transaction: ko,
|
|
29
28
|
// prosemirror-view
|
|
30
|
-
Decoration:
|
|
31
|
-
DecorationSet:
|
|
32
|
-
EditorView:
|
|
29
|
+
Decoration: yo,
|
|
30
|
+
DecorationSet: wo,
|
|
31
|
+
EditorView: To,
|
|
33
32
|
// prosemirror-model
|
|
34
|
-
Node:
|
|
35
|
-
ResolvedPos:
|
|
36
|
-
NodeRange:
|
|
37
|
-
Fragment:
|
|
38
|
-
Slice:
|
|
39
|
-
ReplaceError:
|
|
40
|
-
Mark:
|
|
41
|
-
Schema:
|
|
42
|
-
NodeType:
|
|
43
|
-
MarkType:
|
|
44
|
-
ContentMatch:
|
|
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:
|
|
45
|
+
DOMSerializer: ao,
|
|
47
46
|
// prosemirror-transform
|
|
48
|
-
Transform:
|
|
49
|
-
Step:
|
|
50
|
-
StepResult:
|
|
51
|
-
joinPoint:
|
|
52
|
-
canJoin:
|
|
53
|
-
canSplit:
|
|
54
|
-
insertPoint:
|
|
55
|
-
dropPoint:
|
|
56
|
-
liftTarget:
|
|
57
|
-
findWrapping:
|
|
58
|
-
StepMap:
|
|
59
|
-
MapResult:
|
|
60
|
-
Mapping:
|
|
61
|
-
AddMarkStep:
|
|
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:
|
|
65
|
-
replaceStep:
|
|
63
|
+
ReplaceAroundStep: Oe,
|
|
64
|
+
replaceStep: Fe,
|
|
66
65
|
// prosemirror-commands
|
|
67
|
-
deleteSelection:
|
|
68
|
-
joinBackward:
|
|
69
|
-
selectNodeBackward:
|
|
70
|
-
joinForward:
|
|
71
|
-
selectNodeForward:
|
|
72
|
-
joinUp:
|
|
73
|
-
joinDown:
|
|
74
|
-
lift:
|
|
75
|
-
newlineInCode:
|
|
76
|
-
exitCode:
|
|
77
|
-
createParagraphNear:
|
|
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:
|
|
84
|
-
setBlockType:
|
|
85
|
-
toggleMark:
|
|
86
|
-
autoJoin:
|
|
87
|
-
chainCommands:
|
|
88
|
-
pcBaseKeymap:
|
|
89
|
-
macBaseKeymap:
|
|
90
|
-
baseKeymap:
|
|
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:
|
|
93
|
-
undo:
|
|
94
|
-
redo:
|
|
95
|
-
undoDepth:
|
|
96
|
-
redoDepth:
|
|
91
|
+
history: Se,
|
|
92
|
+
undo: Ce,
|
|
93
|
+
redo: ge,
|
|
94
|
+
undoDepth: ue,
|
|
95
|
+
redoDepth: me,
|
|
97
96
|
// prosemirror-inputrules
|
|
98
|
-
InputRule:
|
|
99
|
-
inputRules:
|
|
100
|
-
undoInputRule:
|
|
101
|
-
emDash:
|
|
102
|
-
ellipsis:
|
|
97
|
+
InputRule: ce,
|
|
98
|
+
inputRules: se,
|
|
99
|
+
undoInputRule: pe,
|
|
100
|
+
emDash: de,
|
|
101
|
+
ellipsis: ie,
|
|
103
102
|
openDoubleQuote: ne,
|
|
104
|
-
closeDoubleQuote:
|
|
105
|
-
openSingleQuote:
|
|
106
|
-
closeSingleQuote:
|
|
107
|
-
smartQuotes:
|
|
108
|
-
wrappingInputRule:
|
|
109
|
-
textblockTypeInputRule:
|
|
103
|
+
closeDoubleQuote: ae,
|
|
104
|
+
openSingleQuote: re,
|
|
105
|
+
closeSingleQuote: le,
|
|
106
|
+
smartQuotes: te,
|
|
107
|
+
wrappingInputRule: oe,
|
|
108
|
+
textblockTypeInputRule: ee,
|
|
110
109
|
// prosemirror-keymap
|
|
111
|
-
keymap:
|
|
112
|
-
keydownHandler:
|
|
110
|
+
keymap: $,
|
|
111
|
+
keydownHandler: _,
|
|
113
112
|
// prosemirror-schema-list
|
|
114
|
-
orderedList:
|
|
115
|
-
bulletList:
|
|
116
|
-
listItem:
|
|
117
|
-
addListNodes:
|
|
118
|
-
wrapInList:
|
|
119
|
-
splitListItem:
|
|
120
|
-
liftListItem:
|
|
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:
|
|
124
|
+
gapCursor: O,
|
|
126
125
|
// prosemirror-tables
|
|
127
|
-
tableEditing:
|
|
128
|
-
fixTables:
|
|
129
|
-
fixTablesKey:
|
|
130
|
-
cellAround:
|
|
131
|
-
isInTable:
|
|
132
|
-
selectionCell:
|
|
133
|
-
moveCellForward:
|
|
134
|
-
inSameTable:
|
|
135
|
-
findCell:
|
|
136
|
-
colCount:
|
|
137
|
-
nextCell:
|
|
138
|
-
removeColSpan:
|
|
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:
|
|
145
|
-
tableEditingKey:
|
|
146
|
-
columnResizing:
|
|
147
|
-
columnResizingPluginKey:
|
|
148
|
-
updateColumnsOnResize:
|
|
149
|
-
selectedRect:
|
|
150
|
-
addColumn:
|
|
151
|
-
addColumnBefore:
|
|
152
|
-
addColumnAfter:
|
|
153
|
-
deleteColumn:
|
|
154
|
-
rowIsHeader:
|
|
155
|
-
addRow:
|
|
156
|
-
addRowBefore:
|
|
157
|
-
addRowAfter:
|
|
158
|
-
deleteRow:
|
|
159
|
-
mergeCells:
|
|
160
|
-
splitCell:
|
|
161
|
-
splitCellWithType:
|
|
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:
|
|
164
|
-
toggleHeaderRow:
|
|
165
|
-
toggleHeaderColumn:
|
|
166
|
-
toggleHeaderCell:
|
|
167
|
-
goToNextCell:
|
|
168
|
-
deleteTable:
|
|
162
|
+
toggleHeader: a,
|
|
163
|
+
toggleHeaderRow: r,
|
|
164
|
+
toggleHeaderColumn: l,
|
|
165
|
+
toggleHeaderCell: t,
|
|
166
|
+
goToNextCell: o,
|
|
167
|
+
deleteTable: e
|
|
169
168
|
};
|
|
170
169
|
export {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
Uo as
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
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
|
};
|
package/package-metadata.js
CHANGED
|
@@ -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:
|
|
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: 1786091367,version:"15.2.0-develop.6",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = Object.freeze({
|
|
|
7
7
|
productName: 'KendoReact',
|
|
8
8
|
productCode: 'KENDOUIREACT',
|
|
9
9
|
productCodes: ['KENDOUIREACT'],
|
|
10
|
-
publishDate:
|
|
11
|
-
version: '15.2.0-develop.
|
|
10
|
+
publishDate: 1786091367,
|
|
11
|
+
version: '15.2.0-develop.6',
|
|
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.
|
|
3
|
+
"version": "15.2.0-develop.6",
|
|
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.
|
|
31
|
-
"@progress/kendo-react-common": "15.2.0-develop.
|
|
32
|
-
"@progress/kendo-react-dialogs": "15.2.0-develop.
|
|
33
|
-
"@progress/kendo-react-dropdowns": "15.2.0-develop.
|
|
34
|
-
"@progress/kendo-react-form": "15.2.0-develop.
|
|
35
|
-
"@progress/kendo-react-inputs": "15.2.0-develop.
|
|
36
|
-
"@progress/kendo-react-intl": "15.2.0-develop.
|
|
37
|
-
"@progress/kendo-react-layout": "15.2.0-develop.
|
|
38
|
-
"@progress/kendo-react-pdf": "15.2.0-develop.
|
|
39
|
-
"@progress/kendo-react-popup": "15.2.0-develop.
|
|
30
|
+
"@progress/kendo-react-buttons": "15.2.0-develop.6",
|
|
31
|
+
"@progress/kendo-react-common": "15.2.0-develop.6",
|
|
32
|
+
"@progress/kendo-react-dialogs": "15.2.0-develop.6",
|
|
33
|
+
"@progress/kendo-react-dropdowns": "15.2.0-develop.6",
|
|
34
|
+
"@progress/kendo-react-form": "15.2.0-develop.6",
|
|
35
|
+
"@progress/kendo-react-inputs": "15.2.0-develop.6",
|
|
36
|
+
"@progress/kendo-react-intl": "15.2.0-develop.6",
|
|
37
|
+
"@progress/kendo-react-layout": "15.2.0-develop.6",
|
|
38
|
+
"@progress/kendo-react-pdf": "15.2.0-develop.6",
|
|
39
|
+
"@progress/kendo-react-popup": "15.2.0-develop.6",
|
|
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":
|
|
66
|
+
"publishDate": 1786091367,
|
|
67
67
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
68
68
|
}
|
|
69
69
|
},
|
package/EditorMcpWrapper.d.ts
DELETED
|
@@ -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>>;
|
package/EditorMcpWrapper.js
DELETED
|
@@ -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;
|
package/EditorMcpWrapper.mjs
DELETED
|
@@ -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
|
-
};
|