@progress/kendo-editor-common 1.12.2-develop.3 → 1.12.2-develop.5
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/dist/cdn/js/kendo-editor-common.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/config/schema.js +1 -1
- package/dist/es/indent.js +1 -1
- package/dist/es/inline-style.js +1 -1
- package/dist/es/link.js +2 -2
- package/dist/es/lists.js +1 -1
- package/dist/es/plugins/table-resize/column-resize.js +2 -2
- package/dist/es/plugins/table-resize/row-resize.js +1 -1
- package/dist/es/source.js +1 -1
- package/dist/es/table.js +1 -1
- package/dist/es/utils.js +1 -1
- package/dist/es2015/config/schema.js +1 -1
- package/dist/es2015/indent.js +1 -1
- package/dist/es2015/inline-style.js +1 -1
- package/dist/es2015/link.js +2 -2
- package/dist/es2015/lists.js +2 -2
- package/dist/es2015/plugins/table-resize/column-resize.js +2 -2
- package/dist/es2015/plugins/table-resize/row-resize.js +1 -1
- package/dist/es2015/source.js +1 -1
- package/dist/es2015/table.js +1 -1
- package/dist/es2015/utils.js +1 -1
- package/dist/npm/blockNode.d.ts +2 -2
- package/dist/npm/config/schema.d.ts +1 -1
- package/dist/npm/find-replace.d.ts +1 -1
- package/dist/npm/indent.d.ts +1 -1
- package/dist/npm/link.js +1 -1
- package/dist/npm/mark.d.ts +1 -1
- package/dist/npm/plugins/caret-color.d.ts +1 -1
- package/dist/npm/plugins/image-resize.d.ts +1 -1
- package/dist/npm/source.d.ts +1 -1
- package/dist/npm/utils.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Plugin } from 'prosemirror-state';
|
|
2
2
|
import { tableNodeTypes, TableMap } from 'prosemirror-tables';
|
|
3
3
|
import { DecorationSet, Decoration } from 'prosemirror-view';
|
|
4
|
-
import { tableRowResizeKey,
|
|
4
|
+
import { tableRowResizeKey, otherResizing, otherResizeHandle, domCellAround, cellIndexes, edgeCell } from './utils.js';
|
|
5
5
|
import { parseStyle, setNodeStyle } from '../../utils.js';
|
|
6
6
|
|
|
7
7
|
class TableRowView {
|
package/dist/es2015/source.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DOMParser, Fragment } from 'prosemirror-model';
|
|
2
2
|
import { AllSelection } from 'prosemirror-state';
|
|
3
|
-
import {
|
|
3
|
+
import { rowTypeAttr, colgroupAttr } from './config/constants.js';
|
|
4
4
|
import { DOMSerializer } from './DOMSerializer.js';
|
|
5
5
|
import { setStyleAttr } from './utils.js';
|
|
6
6
|
|
package/dist/es2015/table.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { addRowAfter as addRowAfter$1, addRowBefore as addRowBefore$1, addColumnBefore as addColumnBefore$1, addColumnAfter as addColumnAfter$1, deleteColumn as deleteColumn$1, TableMap } from 'prosemirror-tables';
|
|
2
2
|
export { addColumnAfter as pmAddColumnAfter, addColumnBefore as pmAddColumnBefore, addRowAfter as pmAddRowAfter, addRowBefore as pmAddRowBefore, deleteColumn as pmDeleteColumn } from 'prosemirror-tables';
|
|
3
3
|
import { colgroupAttr, rowTypeAttr } from './config/constants.js';
|
|
4
4
|
import { parseStrColgroup } from './config/schema.js';
|
package/dist/es2015/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Node } from 'prosemirror-model';
|
|
2
|
-
import {
|
|
2
|
+
import { TextSelection, AllSelection, NodeSelection } from 'prosemirror-state';
|
|
3
3
|
import { parseInlineStyles } from '@progress/kendo-common';
|
|
4
4
|
|
|
5
5
|
const changeStylesString = (styleText, newStyle) => {
|
package/dist/npm/blockNode.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { NodeType, Node } from 'prosemirror-model';
|
|
2
|
+
import { EditorState, Transaction, Selection } from 'prosemirror-state';
|
|
3
3
|
import { CleanFormattingOptions } from './cleanFormatting.js';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/npm/indent.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditorState } from 'prosemirror-state';
|
|
2
2
|
import { NodeType } from 'prosemirror-model';
|
|
3
|
-
import {
|
|
3
|
+
import { IndentationRules, IndentRule } from './config/indent-rules.js';
|
|
4
4
|
import { Command } from './types/command.js';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/npm/link.js
CHANGED
|
@@ -88,7 +88,7 @@ const applyLink = ({ mark: mark$1, attrs }, commandName = 'link') => (state, dis
|
|
|
88
88
|
else {
|
|
89
89
|
let nextState = state;
|
|
90
90
|
if (mark.hasMark(state, { mark: mark$1 })) {
|
|
91
|
-
removeLink({ mark: mark$1
|
|
91
|
+
removeLink({ mark: mark$1}, tr)(state, markDispatched);
|
|
92
92
|
nextState = prosemirrorState.EditorState.create({ doc: tr.doc, selection: tr.selection });
|
|
93
93
|
}
|
|
94
94
|
if (dispatched) {
|
package/dist/npm/mark.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MarkType, Mark } from 'prosemirror-model';
|
|
2
|
-
import {
|
|
2
|
+
import { EditorState, Transaction } from 'prosemirror-state';
|
|
3
3
|
import { InlineFormatOptions } from './config/commands.js';
|
|
4
4
|
import { Command } from './types/command.js';
|
|
5
5
|
import { ActiveMarks } from './types/active-marks.js';
|
package/dist/npm/source.d.ts
CHANGED
package/dist/npm/utils.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-editor-common",
|
|
3
3
|
"description": "Kendo UI TypeScript package exporting functions for Editor component",
|
|
4
|
-
"version": "1.12.2-develop.
|
|
4
|
+
"version": "1.12.2-develop.5",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Kendo UI"
|
|
7
7
|
],
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@progress/kendo-common": "^1.0.2",
|
|
28
|
-
"prosemirror-commands": "1.
|
|
28
|
+
"prosemirror-commands": "1.7.0",
|
|
29
29
|
"prosemirror-dropcursor": "1.8.1",
|
|
30
30
|
"prosemirror-gapcursor": "1.3.2",
|
|
31
31
|
"prosemirror-history": "1.4.1",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"prosemirror-state": "1.4.3",
|
|
37
37
|
"prosemirror-tables": "1.6.4",
|
|
38
38
|
"prosemirror-transform": "1.10.2",
|
|
39
|
-
"prosemirror-view": "1.
|
|
39
|
+
"prosemirror-view": "1.38.0",
|
|
40
40
|
"tslib": "^2.8.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|