quill-table-up 3.0.2 → 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.
package/README.md CHANGED
@@ -63,11 +63,9 @@ const quill = new Quill('#editor', {
63
63
 
64
64
  ## Options
65
65
 
66
- ### TableUp Options
67
-
68
66
  **Full options usage see [demo](https://github.com/zzxming/quill-table-up/blob/master/docs/index.js#L38)**
69
67
 
70
- | attribute | description | type | default |
68
+ | Attribute | Description | Type | Default |
71
69
  | ------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------ |
72
70
  | full | if set `true`. width max will be 100% | `boolean` | `false` |
73
71
  | fullSwitch | enable to choose insert a full width table | `boolean` | `true` |
@@ -126,7 +124,7 @@ The table cell selection handler
126
124
 
127
125
  #### Options
128
126
 
129
- | attribute | description | type | default |
127
+ | Attribute | Description | Type | Default |
130
128
  | ----------- | --------------------- | -------- | --------- |
131
129
  | selectColor | selector border color | `string` | `#0589f3` |
132
130
 
@@ -142,7 +140,7 @@ The table operate menu
142
140
 
143
141
  #### Options
144
142
 
145
- | attribute | description | type | default |
143
+ | Attribute | Description | Type | Default |
146
144
  | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ----------------------- |
147
145
  | tipText | when `tableMenuClass` set `TableUp.TableMenuSelect`, display tip text when hover icon. when `tableMenuClass` set `TableUp.TableMenuContextmenu`, display tip text after icon | `boolean` | `true` |
148
146
  | localstorageKey | used color save localstorage key | `string` | `__table-bg-used-color` |
@@ -297,7 +295,7 @@ Equal scale table cell handler
297
295
 
298
296
  #### Options
299
297
 
300
- | attribute | description | type | default |
298
+ | Attribute | Description | Type | Default |
301
299
  | --------- | ------------------------ | -------- | ------- |
302
300
  | blockSize | resize handle block size | `number` | `12` |
303
301
 
@@ -366,7 +364,7 @@ class ScrollBlot extends ScrollOverride {
366
364
 
367
365
  ## Other
368
366
 
369
- ### Change internal constants variable
367
+ ### Change Internal Constants Variable
370
368
 
371
369
  If it's not necessary, you should import constants variable from `quill-table-up` directly but not edit it.
372
370
 
package/dist/index.d.ts CHANGED
@@ -1205,6 +1205,7 @@ declare class TableUp {
1205
1205
  removeCol(selectedTds: TableCellInnerFormat[]): void;
1206
1206
  mergeCells(selectedTds: TableCellInnerFormat[]): void;
1207
1207
  splitCell(selectedTds: TableCellInnerFormat[]): void;
1208
+ convertTableBodyByCells(tableBlot: TableMainFormat, selecteds: TableCellInnerFormat[], tag: TableBodyTag): void;
1208
1209
  }
1209
1210
  //#endregion
1210
1211
  export { BlockEmbedOverride, BlockOverride, ClipboardOptions, Constructor, ContainerFormat, InternalModule, InternalTableMenuModule, InternalTableSelectionModule, Matcher, MenuTooltipInstance, QuillTheme, QuillThemePicker, RelactiveRect, ScrollOverride, Scrollbar, SelectionData, Selector, SkipRowCount, TableAlign, TableBodyFormat, TableBodyTag, TableCaptionFormat, TableCaptionValue, TableCellFormat, TableCellInnerFormat, TableCellValue, TableClipboard, TableColFormat, TableColValue, TableColgroupFormat, TableConstantsData, TableCreatorTextOptions, TableDomSelector, TableFootFormat, TableHeadFormat, TableMainFormat, TableMenuCommon, TableMenuContextmenu, TableMenuOptions, TableMenuOptionsInput, TableMenuSelect, TableMenuTexts, TableResizeBox, TableResizeCommon, TableResizeLine, TableResizeScale, TableResizeScaleOptions, TableRowFormat, TableRowValue, TableSelection, TableSelectionOptions, TableTextOptions, TableUp, TableUpExtraModule, TableUpModule, TableUpOptions, TableValue, TableVirtualScrollbar, TableWrapperFormat, Tool, ToolOption, ToolOptionBreak, Writable, blotName, createColorPicker, createSelectBox, createTooltip, TableUp as default, defaultCustomSelect, findParentBlot, findParentBlots, getTableMainRect, isTableAlignRight, randomId, sizeChangeValue, tableMenuTools, tableUpEvent, tableUpInternal, tableUpSize, updateTableConstants };