@progress/kendo-vue-editor 3.0.1 → 3.0.3

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.
@@ -205,28 +205,32 @@ var InsertImageDialogVue2 = {
205
205
  })])])]);
206
206
  var actionButtons = [// @ts-ignore function children
207
207
  h(KButton, {
208
+ type: "button",
209
+ attrs: this.v3 ? undefined : {
210
+ type: "button",
211
+ dir: dir
212
+ },
208
213
  onClick: this.onClose,
209
214
  on: this.v3 ? undefined : {
210
215
  "click": this.onClose
211
216
  },
212
217
  dir: dir,
213
- attrs: this.v3 ? undefined : {
214
- dir: dir
215
- },
216
218
  key: "cancel"
217
219
  }, this.v3 ? function () {
218
220
  return [localization.toLanguageString(insertImageCancel, messages[insertImageCancel])];
219
221
  } : [localization.toLanguageString(insertImageCancel, messages[insertImageCancel])]), // @ts-ignore function children
220
222
  h(KButton, {
223
+ type: "button",
224
+ attrs: this.v3 ? undefined : {
225
+ type: "button",
226
+ themeColor: 'primary',
227
+ dir: dir
228
+ },
221
229
  onClick: this.onInsert,
222
230
  on: this.v3 ? undefined : {
223
231
  "click": this.onInsert
224
232
  },
225
233
  themeColor: 'primary',
226
- attrs: this.v3 ? undefined : {
227
- themeColor: 'primary',
228
- dir: dir
229
- },
230
234
  dir: dir,
231
235
  key: "insert"
232
236
  }, this.v3 ? function () {
@@ -160,55 +160,63 @@ var InsertLinkDialogVue2 = {
160
160
  h(DialogActionsBar, _this2.v3 ? function () {
161
161
  return [// @ts-ignore function children
162
162
  h(KButton, {
163
+ type: "button",
164
+ attrs: _this2.v3 ? undefined : {
165
+ type: "button",
166
+ dir: dir
167
+ },
163
168
  onClick: _this2.onClose,
164
169
  on: _this2.v3 ? undefined : {
165
170
  "click": _this2.onClose
166
171
  },
167
172
  dir: dir,
168
- attrs: _this2.v3 ? undefined : {
169
- dir: dir
170
- },
171
173
  key: "cancel"
172
174
  }, _this2.v3 ? function () {
173
175
  return [localization.toLanguageString(insertHyperlinkCancel, messages[insertHyperlinkCancel])];
174
176
  } : [localization.toLanguageString(insertHyperlinkCancel, messages[insertHyperlinkCancel])]), // @ts-ignore function children
175
177
  h(KButton, {
178
+ type: "button",
179
+ attrs: _this2.v3 ? undefined : {
180
+ type: "button",
181
+ themeColor: 'primary',
182
+ dir: dir
183
+ },
176
184
  onClick: _this2.onInsert,
177
185
  on: _this2.v3 ? undefined : {
178
186
  "click": _this2.onInsert
179
187
  },
180
188
  themeColor: 'primary',
181
- attrs: _this2.v3 ? undefined : {
182
- themeColor: 'primary',
183
- dir: dir
184
- },
185
189
  dir: dir,
186
190
  key: "insert"
187
191
  }, _this2.v3 ? function () {
188
192
  return [localization.toLanguageString(insertHyperlinkInsert, messages[insertHyperlinkInsert])];
189
193
  } : [localization.toLanguageString(insertHyperlinkInsert, messages[insertHyperlinkInsert])])];
190
194
  } : [h(KButton, {
195
+ type: "button",
196
+ attrs: _this2.v3 ? undefined : {
197
+ type: "button",
198
+ dir: dir
199
+ },
191
200
  onClick: _this2.onClose,
192
201
  on: _this2.v3 ? undefined : {
193
202
  "click": _this2.onClose
194
203
  },
195
204
  dir: dir,
196
- attrs: _this2.v3 ? undefined : {
197
- dir: dir
198
- },
199
205
  key: "cancel"
200
206
  }, _this2.v3 ? function () {
201
207
  return [localization.toLanguageString(insertHyperlinkCancel, messages[insertHyperlinkCancel])];
202
208
  } : [localization.toLanguageString(insertHyperlinkCancel, messages[insertHyperlinkCancel])]), h(KButton, {
209
+ type: "button",
210
+ attrs: _this2.v3 ? undefined : {
211
+ type: "button",
212
+ themeColor: 'primary',
213
+ dir: dir
214
+ },
203
215
  onClick: _this2.onInsert,
204
216
  on: _this2.v3 ? undefined : {
205
217
  "click": _this2.onInsert
206
218
  },
207
219
  themeColor: 'primary',
208
- attrs: _this2.v3 ? undefined : {
209
- themeColor: 'primary',
210
- dir: dir
211
- },
212
220
  dir: dir,
213
221
  key: "insert"
214
222
  }, _this2.v3 ? function () {
@@ -216,54 +224,62 @@ var InsertLinkDialogVue2 = {
216
224
  } : [localization.toLanguageString(insertHyperlinkInsert, messages[insertHyperlinkInsert])])])];
217
225
  } : [content, h(DialogActionsBar, _this2.v3 ? function () {
218
226
  return [h(KButton, {
227
+ type: "button",
228
+ attrs: _this2.v3 ? undefined : {
229
+ type: "button",
230
+ dir: dir
231
+ },
219
232
  onClick: _this2.onClose,
220
233
  on: _this2.v3 ? undefined : {
221
234
  "click": _this2.onClose
222
235
  },
223
236
  dir: dir,
224
- attrs: _this2.v3 ? undefined : {
225
- dir: dir
226
- },
227
237
  key: "cancel"
228
238
  }, _this2.v3 ? function () {
229
239
  return [localization.toLanguageString(insertHyperlinkCancel, messages[insertHyperlinkCancel])];
230
240
  } : [localization.toLanguageString(insertHyperlinkCancel, messages[insertHyperlinkCancel])]), h(KButton, {
241
+ type: "button",
242
+ attrs: _this2.v3 ? undefined : {
243
+ type: "button",
244
+ themeColor: 'primary',
245
+ dir: dir
246
+ },
231
247
  onClick: _this2.onInsert,
232
248
  on: _this2.v3 ? undefined : {
233
249
  "click": _this2.onInsert
234
250
  },
235
251
  themeColor: 'primary',
236
- attrs: _this2.v3 ? undefined : {
237
- themeColor: 'primary',
238
- dir: dir
239
- },
240
252
  dir: dir,
241
253
  key: "insert"
242
254
  }, _this2.v3 ? function () {
243
255
  return [localization.toLanguageString(insertHyperlinkInsert, messages[insertHyperlinkInsert])];
244
256
  } : [localization.toLanguageString(insertHyperlinkInsert, messages[insertHyperlinkInsert])])];
245
257
  } : [h(KButton, {
258
+ type: "button",
259
+ attrs: _this2.v3 ? undefined : {
260
+ type: "button",
261
+ dir: dir
262
+ },
246
263
  onClick: _this2.onClose,
247
264
  on: _this2.v3 ? undefined : {
248
265
  "click": _this2.onClose
249
266
  },
250
267
  dir: dir,
251
- attrs: _this2.v3 ? undefined : {
252
- dir: dir
253
- },
254
268
  key: "cancel"
255
269
  }, _this2.v3 ? function () {
256
270
  return [localization.toLanguageString(insertHyperlinkCancel, messages[insertHyperlinkCancel])];
257
271
  } : [localization.toLanguageString(insertHyperlinkCancel, messages[insertHyperlinkCancel])]), h(KButton, {
272
+ type: "button",
273
+ attrs: _this2.v3 ? undefined : {
274
+ type: "button",
275
+ themeColor: 'primary',
276
+ dir: dir
277
+ },
258
278
  onClick: _this2.onInsert,
259
279
  on: _this2.v3 ? undefined : {
260
280
  "click": _this2.onInsert
261
281
  },
262
282
  themeColor: 'primary',
263
- attrs: _this2.v3 ? undefined : {
264
- themeColor: 'primary',
265
- dir: dir
266
- },
267
283
  dir: dir,
268
284
  key: "insert"
269
285
  }, _this2.v3 ? function () {
@@ -63,28 +63,32 @@ var ViewHtmlDialogVue2 = {
63
63
  });
64
64
  var actionButtons = [// @ts-ignore function children
65
65
  h(KButton, {
66
+ type: "button",
67
+ attrs: this.v3 ? undefined : {
68
+ type: "button",
69
+ dir: dir
70
+ },
66
71
  onClick: this.onClose,
67
72
  on: this.v3 ? undefined : {
68
73
  "click": this.onClose
69
74
  },
70
75
  dir: dir,
71
- attrs: this.v3 ? undefined : {
72
- dir: dir
73
- },
74
76
  key: "cancel"
75
77
  }, this.v3 ? function () {
76
78
  return [localization.toLanguageString(viewHtmlCancel, messages[viewHtmlCancel])];
77
79
  } : [localization.toLanguageString(viewHtmlCancel, messages[viewHtmlCancel])]), // @ts-ignore function children
78
80
  h(KButton, {
81
+ type: "button",
82
+ attrs: this.v3 ? undefined : {
83
+ type: "button",
84
+ themeColor: 'primary',
85
+ dir: dir
86
+ },
79
87
  onClick: this.onUpdate,
80
88
  on: this.v3 ? undefined : {
81
89
  "click": this.onUpdate
82
90
  },
83
91
  themeColor: 'primary',
84
- attrs: this.v3 ? undefined : {
85
- themeColor: 'primary',
86
- dir: dir
87
- },
88
92
  dir: dir,
89
93
  key: "update"
90
94
  }, this.v3 ? function () {
package/dist/es/main.d.ts CHANGED
@@ -4,7 +4,7 @@ import { EditorProps, EditorMountEvent, EditorPasteEvent, EditorChangeEvent, Edi
4
4
  import { EditorTools } from './tools/main';
5
5
  import { EditorToolsSettings } from './config/toolsSettings';
6
6
  import { EditorUtils } from './utils';
7
- import { Selection, SelectionRange, TextSelection, NodeSelection, AllSelection, EditorState, Plugin, PluginKey, Transaction, Decoration, DecorationSet, EditorView, Node, ResolvedPos, NodeRange, Fragment, Slice, ReplaceError, Mark, Schema, NodeType, MarkType, ContentMatch, DOMParser, DOMSerializer, Transform, Step, StepResult, joinPoint, canJoin, canSplit, insertPoint, dropPoint, liftTarget, findWrapping, StepMap, MapResult, Mapping, AddMarkStep, RemoveMarkStep, ReplaceStep, ReplaceAroundStep, replaceStep, deleteSelection, joinBackward, selectNodeBackward, joinForward, selectNodeForward, joinUp, joinDown, lift, newlineInCode, exitCode, createParagraphNear, liftEmptyBlock, splitBlock, splitBlockKeepMarks, selectParentNode, selectAll, wrapIn, setBlockType, toggleMark, autoJoin, chainCommands, history, undo, redo, undoDepth, redoDepth, InputRule, inputRules, undoInputRule, 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, addColumnBefore, addColumnAfter, deleteColumn, rowIsHeader, addRow, addRowBefore, addRowAfter, deleteRow, mergeCells, splitCell, splitCellWithType, setCellAttr, toggleHeader, toggleHeaderRow, toggleHeaderColumn, toggleHeaderCell, goToNextCell, deleteTable } from '@progress/kendo-editor-common';
7
+ import { Selection, SelectionRange, TextSelection, NodeSelection, AllSelection, EditorState, Plugin, PluginKey, Transaction, Decoration, DecorationSet, EditorView, Node, ResolvedPos, NodeRange, Fragment, Slice, ReplaceError, Mark, Schema, NodeType, MarkType, ContentMatch, DOMParser, DOMSerializer, Transform, Step, StepResult, joinPoint, canJoin, canSplit, insertPoint, dropPoint, liftTarget, findWrapping, StepMap, MapResult, Mapping, AddMarkStep, RemoveMarkStep, ReplaceStep, ReplaceAroundStep, replaceStep, deleteSelection, joinBackward, selectNodeBackward, joinForward, selectNodeForward, joinUp, joinDown, lift, newlineInCode, exitCode, createParagraphNear, liftEmptyBlock, splitBlock, splitBlockKeepMarks, selectParentNode, selectAll, wrapIn, setBlockType, toggleMark, autoJoin, chainCommands, history, undo, redo, undoDepth, redoDepth, InputRule, inputRules, undoInputRule, 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, addColumnBefore, addColumnAfter, deleteColumn, rowIsHeader, addRow, deleteRow, mergeCells, splitCell, splitCellWithType, setCellAttr, toggleHeader, toggleHeaderRow, toggleHeaderColumn, toggleHeaderCell, goToNextCell, deleteTable } from '@progress/kendo-editor-common';
8
8
  export { Shortcuts } from './config/shortcuts';
9
9
  export { PasteCleanupSettings } from './config/pasteSettings';
10
10
  /**
@@ -149,8 +149,8 @@ export declare const ProseMirror: {
149
149
  deleteColumn: typeof deleteColumn;
150
150
  rowIsHeader: typeof rowIsHeader;
151
151
  addRow: typeof addRow;
152
- addRowBefore: typeof addRowBefore;
153
- addRowAfter: typeof addRowAfter;
152
+ addRowBefore: (state: EditorState<any>, dispatch?: (tr: Transaction<any>) => void) => boolean;
153
+ addRowAfter: (state: EditorState<any>, dispatch?: (tr: Transaction<any>) => void) => boolean;
154
154
  deleteRow: typeof deleteRow;
155
155
  mergeCells: typeof mergeCells;
156
156
  splitCell: typeof splitCell;
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-editor',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1642688256,
8
+ publishDate: 1643353572,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -218,28 +218,32 @@ var InsertImageDialogVue2 = {
218
218
  })])])]);
219
219
  var actionButtons = [// @ts-ignore function children
220
220
  h(kendo_vue_buttons_1.Button, {
221
+ type: "button",
222
+ attrs: this.v3 ? undefined : {
223
+ type: "button",
224
+ dir: dir
225
+ },
221
226
  onClick: this.onClose,
222
227
  on: this.v3 ? undefined : {
223
228
  "click": this.onClose
224
229
  },
225
230
  dir: dir,
226
- attrs: this.v3 ? undefined : {
227
- dir: dir
228
- },
229
231
  key: "cancel"
230
232
  }, this.v3 ? function () {
231
233
  return [localization.toLanguageString(insertImageCancel, messages_1.messages[insertImageCancel])];
232
234
  } : [localization.toLanguageString(insertImageCancel, messages_1.messages[insertImageCancel])]), // @ts-ignore function children
233
235
  h(kendo_vue_buttons_1.Button, {
236
+ type: "button",
237
+ attrs: this.v3 ? undefined : {
238
+ type: "button",
239
+ themeColor: 'primary',
240
+ dir: dir
241
+ },
234
242
  onClick: this.onInsert,
235
243
  on: this.v3 ? undefined : {
236
244
  "click": this.onInsert
237
245
  },
238
246
  themeColor: 'primary',
239
- attrs: this.v3 ? undefined : {
240
- themeColor: 'primary',
241
- dir: dir
242
- },
243
247
  dir: dir,
244
248
  key: "insert"
245
249
  }, this.v3 ? function () {
@@ -173,55 +173,63 @@ var InsertLinkDialogVue2 = {
173
173
  h(kendo_vue_dialogs_1.DialogActionsBar, _this2.v3 ? function () {
174
174
  return [// @ts-ignore function children
175
175
  h(kendo_vue_buttons_1.Button, {
176
+ type: "button",
177
+ attrs: _this2.v3 ? undefined : {
178
+ type: "button",
179
+ dir: dir
180
+ },
176
181
  onClick: _this2.onClose,
177
182
  on: _this2.v3 ? undefined : {
178
183
  "click": _this2.onClose
179
184
  },
180
185
  dir: dir,
181
- attrs: _this2.v3 ? undefined : {
182
- dir: dir
183
- },
184
186
  key: "cancel"
185
187
  }, _this2.v3 ? function () {
186
188
  return [localization.toLanguageString(insertHyperlinkCancel, messages_1.messages[insertHyperlinkCancel])];
187
189
  } : [localization.toLanguageString(insertHyperlinkCancel, messages_1.messages[insertHyperlinkCancel])]), // @ts-ignore function children
188
190
  h(kendo_vue_buttons_1.Button, {
191
+ type: "button",
192
+ attrs: _this2.v3 ? undefined : {
193
+ type: "button",
194
+ themeColor: 'primary',
195
+ dir: dir
196
+ },
189
197
  onClick: _this2.onInsert,
190
198
  on: _this2.v3 ? undefined : {
191
199
  "click": _this2.onInsert
192
200
  },
193
201
  themeColor: 'primary',
194
- attrs: _this2.v3 ? undefined : {
195
- themeColor: 'primary',
196
- dir: dir
197
- },
198
202
  dir: dir,
199
203
  key: "insert"
200
204
  }, _this2.v3 ? function () {
201
205
  return [localization.toLanguageString(insertHyperlinkInsert, messages_1.messages[insertHyperlinkInsert])];
202
206
  } : [localization.toLanguageString(insertHyperlinkInsert, messages_1.messages[insertHyperlinkInsert])])];
203
207
  } : [h(kendo_vue_buttons_1.Button, {
208
+ type: "button",
209
+ attrs: _this2.v3 ? undefined : {
210
+ type: "button",
211
+ dir: dir
212
+ },
204
213
  onClick: _this2.onClose,
205
214
  on: _this2.v3 ? undefined : {
206
215
  "click": _this2.onClose
207
216
  },
208
217
  dir: dir,
209
- attrs: _this2.v3 ? undefined : {
210
- dir: dir
211
- },
212
218
  key: "cancel"
213
219
  }, _this2.v3 ? function () {
214
220
  return [localization.toLanguageString(insertHyperlinkCancel, messages_1.messages[insertHyperlinkCancel])];
215
221
  } : [localization.toLanguageString(insertHyperlinkCancel, messages_1.messages[insertHyperlinkCancel])]), h(kendo_vue_buttons_1.Button, {
222
+ type: "button",
223
+ attrs: _this2.v3 ? undefined : {
224
+ type: "button",
225
+ themeColor: 'primary',
226
+ dir: dir
227
+ },
216
228
  onClick: _this2.onInsert,
217
229
  on: _this2.v3 ? undefined : {
218
230
  "click": _this2.onInsert
219
231
  },
220
232
  themeColor: 'primary',
221
- attrs: _this2.v3 ? undefined : {
222
- themeColor: 'primary',
223
- dir: dir
224
- },
225
233
  dir: dir,
226
234
  key: "insert"
227
235
  }, _this2.v3 ? function () {
@@ -229,54 +237,62 @@ var InsertLinkDialogVue2 = {
229
237
  } : [localization.toLanguageString(insertHyperlinkInsert, messages_1.messages[insertHyperlinkInsert])])])];
230
238
  } : [content, h(kendo_vue_dialogs_1.DialogActionsBar, _this2.v3 ? function () {
231
239
  return [h(kendo_vue_buttons_1.Button, {
240
+ type: "button",
241
+ attrs: _this2.v3 ? undefined : {
242
+ type: "button",
243
+ dir: dir
244
+ },
232
245
  onClick: _this2.onClose,
233
246
  on: _this2.v3 ? undefined : {
234
247
  "click": _this2.onClose
235
248
  },
236
249
  dir: dir,
237
- attrs: _this2.v3 ? undefined : {
238
- dir: dir
239
- },
240
250
  key: "cancel"
241
251
  }, _this2.v3 ? function () {
242
252
  return [localization.toLanguageString(insertHyperlinkCancel, messages_1.messages[insertHyperlinkCancel])];
243
253
  } : [localization.toLanguageString(insertHyperlinkCancel, messages_1.messages[insertHyperlinkCancel])]), h(kendo_vue_buttons_1.Button, {
254
+ type: "button",
255
+ attrs: _this2.v3 ? undefined : {
256
+ type: "button",
257
+ themeColor: 'primary',
258
+ dir: dir
259
+ },
244
260
  onClick: _this2.onInsert,
245
261
  on: _this2.v3 ? undefined : {
246
262
  "click": _this2.onInsert
247
263
  },
248
264
  themeColor: 'primary',
249
- attrs: _this2.v3 ? undefined : {
250
- themeColor: 'primary',
251
- dir: dir
252
- },
253
265
  dir: dir,
254
266
  key: "insert"
255
267
  }, _this2.v3 ? function () {
256
268
  return [localization.toLanguageString(insertHyperlinkInsert, messages_1.messages[insertHyperlinkInsert])];
257
269
  } : [localization.toLanguageString(insertHyperlinkInsert, messages_1.messages[insertHyperlinkInsert])])];
258
270
  } : [h(kendo_vue_buttons_1.Button, {
271
+ type: "button",
272
+ attrs: _this2.v3 ? undefined : {
273
+ type: "button",
274
+ dir: dir
275
+ },
259
276
  onClick: _this2.onClose,
260
277
  on: _this2.v3 ? undefined : {
261
278
  "click": _this2.onClose
262
279
  },
263
280
  dir: dir,
264
- attrs: _this2.v3 ? undefined : {
265
- dir: dir
266
- },
267
281
  key: "cancel"
268
282
  }, _this2.v3 ? function () {
269
283
  return [localization.toLanguageString(insertHyperlinkCancel, messages_1.messages[insertHyperlinkCancel])];
270
284
  } : [localization.toLanguageString(insertHyperlinkCancel, messages_1.messages[insertHyperlinkCancel])]), h(kendo_vue_buttons_1.Button, {
285
+ type: "button",
286
+ attrs: _this2.v3 ? undefined : {
287
+ type: "button",
288
+ themeColor: 'primary',
289
+ dir: dir
290
+ },
271
291
  onClick: _this2.onInsert,
272
292
  on: _this2.v3 ? undefined : {
273
293
  "click": _this2.onInsert
274
294
  },
275
295
  themeColor: 'primary',
276
- attrs: _this2.v3 ? undefined : {
277
- themeColor: 'primary',
278
- dir: dir
279
- },
280
296
  dir: dir,
281
297
  key: "insert"
282
298
  }, _this2.v3 ? function () {
@@ -77,28 +77,32 @@ var ViewHtmlDialogVue2 = {
77
77
  });
78
78
  var actionButtons = [// @ts-ignore function children
79
79
  h(kendo_vue_buttons_1.Button, {
80
+ type: "button",
81
+ attrs: this.v3 ? undefined : {
82
+ type: "button",
83
+ dir: dir
84
+ },
80
85
  onClick: this.onClose,
81
86
  on: this.v3 ? undefined : {
82
87
  "click": this.onClose
83
88
  },
84
89
  dir: dir,
85
- attrs: this.v3 ? undefined : {
86
- dir: dir
87
- },
88
90
  key: "cancel"
89
91
  }, this.v3 ? function () {
90
92
  return [localization.toLanguageString(viewHtmlCancel, messages_1.messages[viewHtmlCancel])];
91
93
  } : [localization.toLanguageString(viewHtmlCancel, messages_1.messages[viewHtmlCancel])]), // @ts-ignore function children
92
94
  h(kendo_vue_buttons_1.Button, {
95
+ type: "button",
96
+ attrs: this.v3 ? undefined : {
97
+ type: "button",
98
+ themeColor: 'primary',
99
+ dir: dir
100
+ },
93
101
  onClick: this.onUpdate,
94
102
  on: this.v3 ? undefined : {
95
103
  "click": this.onUpdate
96
104
  },
97
105
  themeColor: 'primary',
98
- attrs: this.v3 ? undefined : {
99
- themeColor: 'primary',
100
- dir: dir
101
- },
102
106
  dir: dir,
103
107
  key: "update"
104
108
  }, this.v3 ? function () {
@@ -4,7 +4,7 @@ import { EditorProps, EditorMountEvent, EditorPasteEvent, EditorChangeEvent, Edi
4
4
  import { EditorTools } from './tools/main';
5
5
  import { EditorToolsSettings } from './config/toolsSettings';
6
6
  import { EditorUtils } from './utils';
7
- import { Selection, SelectionRange, TextSelection, NodeSelection, AllSelection, EditorState, Plugin, PluginKey, Transaction, Decoration, DecorationSet, EditorView, Node, ResolvedPos, NodeRange, Fragment, Slice, ReplaceError, Mark, Schema, NodeType, MarkType, ContentMatch, DOMParser, DOMSerializer, Transform, Step, StepResult, joinPoint, canJoin, canSplit, insertPoint, dropPoint, liftTarget, findWrapping, StepMap, MapResult, Mapping, AddMarkStep, RemoveMarkStep, ReplaceStep, ReplaceAroundStep, replaceStep, deleteSelection, joinBackward, selectNodeBackward, joinForward, selectNodeForward, joinUp, joinDown, lift, newlineInCode, exitCode, createParagraphNear, liftEmptyBlock, splitBlock, splitBlockKeepMarks, selectParentNode, selectAll, wrapIn, setBlockType, toggleMark, autoJoin, chainCommands, history, undo, redo, undoDepth, redoDepth, InputRule, inputRules, undoInputRule, 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, addColumnBefore, addColumnAfter, deleteColumn, rowIsHeader, addRow, addRowBefore, addRowAfter, deleteRow, mergeCells, splitCell, splitCellWithType, setCellAttr, toggleHeader, toggleHeaderRow, toggleHeaderColumn, toggleHeaderCell, goToNextCell, deleteTable } from '@progress/kendo-editor-common';
7
+ import { Selection, SelectionRange, TextSelection, NodeSelection, AllSelection, EditorState, Plugin, PluginKey, Transaction, Decoration, DecorationSet, EditorView, Node, ResolvedPos, NodeRange, Fragment, Slice, ReplaceError, Mark, Schema, NodeType, MarkType, ContentMatch, DOMParser, DOMSerializer, Transform, Step, StepResult, joinPoint, canJoin, canSplit, insertPoint, dropPoint, liftTarget, findWrapping, StepMap, MapResult, Mapping, AddMarkStep, RemoveMarkStep, ReplaceStep, ReplaceAroundStep, replaceStep, deleteSelection, joinBackward, selectNodeBackward, joinForward, selectNodeForward, joinUp, joinDown, lift, newlineInCode, exitCode, createParagraphNear, liftEmptyBlock, splitBlock, splitBlockKeepMarks, selectParentNode, selectAll, wrapIn, setBlockType, toggleMark, autoJoin, chainCommands, history, undo, redo, undoDepth, redoDepth, InputRule, inputRules, undoInputRule, 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, addColumnBefore, addColumnAfter, deleteColumn, rowIsHeader, addRow, deleteRow, mergeCells, splitCell, splitCellWithType, setCellAttr, toggleHeader, toggleHeaderRow, toggleHeaderColumn, toggleHeaderCell, goToNextCell, deleteTable } from '@progress/kendo-editor-common';
8
8
  export { Shortcuts } from './config/shortcuts';
9
9
  export { PasteCleanupSettings } from './config/pasteSettings';
10
10
  /**
@@ -149,8 +149,8 @@ export declare const ProseMirror: {
149
149
  deleteColumn: typeof deleteColumn;
150
150
  rowIsHeader: typeof rowIsHeader;
151
151
  addRow: typeof addRow;
152
- addRowBefore: typeof addRowBefore;
153
- addRowAfter: typeof addRowAfter;
152
+ addRowBefore: (state: EditorState<any>, dispatch?: (tr: Transaction<any>) => void) => boolean;
153
+ addRowAfter: (state: EditorState<any>, dispatch?: (tr: Transaction<any>) => void) => boolean;
154
154
  deleteRow: typeof deleteRow;
155
155
  mergeCells: typeof mergeCells;
156
156
  splitCell: typeof splitCell;
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-editor',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1642688256,
11
+ publishDate: 1643353572,
12
12
  version: '',
13
13
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
14
14
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-editor",
3
3
  "description": "Kendo UI for Vue Editor package",
4
- "version": "3.0.1",
4
+ "version": "3.0.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -42,22 +42,22 @@
42
42
  "vue": "^2.6.12 || ^3.0.2"
43
43
  },
44
44
  "dependencies": {
45
- "@progress/kendo-editor-common": "1.6.0",
46
- "@progress/kendo-vue-common": "3.0.1"
45
+ "@progress/kendo-editor-common": "1.7.1",
46
+ "@progress/kendo-vue-common": "3.0.3"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@progress/kendo-drawing": "^1.8.0",
50
50
  "@progress/kendo-licensing": "^1.0.1",
51
- "@progress/kendo-vue-buttons": "3.0.1",
52
- "@progress/kendo-vue-dialogs": "3.0.1",
53
- "@progress/kendo-vue-dropdowns": "3.0.1",
54
- "@progress/kendo-vue-form": "3.0.1",
55
- "@progress/kendo-vue-inputs": "3.0.1",
56
- "@progress/kendo-vue-intl": "3.0.1",
57
- "@progress/kendo-vue-layout": "3.0.1",
58
- "@progress/kendo-vue-pdf": "3.0.1",
59
- "@progress/kendo-vue-popup": "3.0.1",
60
- "@progress/kendo-vue-upload": "3.0.1"
51
+ "@progress/kendo-vue-buttons": "3.0.3",
52
+ "@progress/kendo-vue-dialogs": "3.0.3",
53
+ "@progress/kendo-vue-dropdowns": "3.0.3",
54
+ "@progress/kendo-vue-form": "3.0.3",
55
+ "@progress/kendo-vue-inputs": "3.0.3",
56
+ "@progress/kendo-vue-intl": "3.0.3",
57
+ "@progress/kendo-vue-layout": "3.0.3",
58
+ "@progress/kendo-vue-pdf": "3.0.3",
59
+ "@progress/kendo-vue-popup": "3.0.3",
60
+ "@progress/kendo-vue-upload": "3.0.3"
61
61
  },
62
62
  "@progress": {
63
63
  "friendlyName": "Editor",