quill-table-up 3.0.0 → 3.0.2

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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as quill2 from "quill";
1
+ import * as quill0 from "quill";
2
2
  import Quill, { EmitterSource, Parchment, Range } from "quill";
3
3
  import { Context } from "quill/modules/keyboard";
4
4
  import TypeScroll from "quill/blots/scroll";
@@ -210,8 +210,9 @@ declare class BlockOverride extends Block {
210
210
  //#region src/formats/overrides/block-embed.d.ts
211
211
  declare const BlockEmbed$1: typeof BlockEmbed;
212
212
  declare class BlockEmbedOverride extends BlockEmbed$1 {
213
- delta(): quill2.Delta;
213
+ delta(): quill0.Delta;
214
214
  length(): number;
215
+ formatAt(index: number, length: number, name: string, value: unknown): void;
215
216
  }
216
217
  //#endregion
217
218
  //#region src/formats/overrides/scroll.d.ts
@@ -270,6 +271,7 @@ declare class TableWrapperFormat extends ContainerFormat {
270
271
  constructor(scroll: any, node: Node, _value: string);
271
272
  get tableId(): string;
272
273
  checkMerge(): boolean;
274
+ optimize(context: Record<string, any>): void;
273
275
  deleteAt(index: number, length: number): void;
274
276
  remove(): void;
275
277
  isBlockLine(blot: Parchment.Blot): boolean;