@ones-editor/editor 1.1.42 → 1.1.43

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.
@@ -585,7 +585,7 @@ export type PasteOptions = {
585
585
  export interface OnesEditorInput {
586
586
  readonly inputElement: HTMLTextAreaElement;
587
587
  destroy: () => void;
588
- focus: () => void;
588
+ focus: (options?: FocusOptions) => void;
589
589
  handleDocumentSelectionChange: () => void;
590
590
  handleCompositionstart: (event: CompositionEvent) => void;
591
591
  handleCompositionend: (event: CompositionEvent) => void;
@@ -0,0 +1,3 @@
1
+ export declare class ExportImageError extends Error {
2
+ constructor(message: string);
3
+ }
@@ -1,5 +1,7 @@
1
1
  import { IImageOptions } from 'docx';
2
2
  import { OnesEditor } from '../../../@ones-editor/core';
3
+ import { ExportImageError } from './errors';
4
+ export { ExportImageError };
3
5
  export interface EditorToDocxOptions {
4
6
  template?: Blob;
5
7
  download?: boolean;