@ones-editor/editor 0.0.3-beta.116 → 0.0.3-beta.118

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.
@@ -1,6 +1,8 @@
1
1
  import AttributeMap from 'quill-delta/dist/AttributeMap';
2
2
  import { DocBlock } from '../doc';
3
3
  import { BlockElement, BlockPath, OnesEditor, OnesEditorBlockRenderer, OnesEditorBlockRenderResult } from '../types';
4
+ export type CSSCustomProperties = Record<`--${string}`, string>;
5
+ export type CSSStyles = Partial<CSSStyleDeclaration> & CSSCustomProperties;
4
6
  export declare class StandardBlockRenderer implements OnesEditorBlockRenderer {
5
7
  renderText(editor: OnesEditor, path: BlockPath, attributes: AttributeMap): OnesEditorBlockRenderResult;
6
8
  renderBlock(editor: OnesEditor, path: BlockPath, blockData: DocBlock): OnesEditorBlockRenderResult;
@@ -2,5 +2,4 @@ import TextBox from './text-box';
2
2
  import BrBox from './br-box';
3
3
  import EditorBoxes from './editor-boxes';
4
4
  import ImageBox from './image-box';
5
- import AnchorBox from './anchor-box';
6
- export { EditorBoxes, TextBox, BrBox, ImageBox, AnchorBox };
5
+ export { EditorBoxes, TextBox, BrBox, ImageBox };
@@ -26,7 +26,6 @@ export declare class ImageObject implements ImageObjectBase {
26
26
  tryEnableResizer(): void;
27
27
  disableResizer(): void;
28
28
  private handleMouseDown;
29
- private handleRootContainerResize;
30
29
  private handleEditorResize;
31
30
  private handleResizing;
32
31
  private handleResized;
@@ -3,9 +3,8 @@ import { ImageObject } from './image-object';
3
3
  import './image-embed-style.scss';
4
4
  import './locale';
5
5
  import EmptyImageConverterInputHandler from './empty-image-converter';
6
- import { ImagePasteHandler } from './paste-handler';
7
6
  export * from './shortcuts';
8
7
  export * from './types';
9
- export { ImageObject, ImagePasteHandler };
8
+ export { ImageObject };
10
9
  declare const ImageEmbed: Embed;
11
10
  export { ImageEmbed, EmptyImageConverterInputHandler };