@ones-editor/editor 3.0.3-beta.9 → 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.
@@ -132,7 +132,6 @@ export interface CommandItem {
132
132
  value?: string;
133
133
  order?: number;
134
134
  type?: CommandItemType;
135
- className?: string;
136
135
  element?: HTMLElement | ((item: CommandItem) => HTMLElement);
137
136
  icon?: string;
138
137
  childrenType?: 'menu' | 'toolbar' | 'mobile-bottom-menu';
@@ -1,8 +1,5 @@
1
1
  import { OnesEditor, OnesEditorInputHandler } from '../../../../@ones-editor/core';
2
- import { MarkdownInputHandlerOptions } from './types';
3
2
  declare class MarkdownInputHandler implements OnesEditorInputHandler {
4
- private options?;
5
- constructor(options?: MarkdownInputHandlerOptions | undefined);
6
3
  handleAfterInsertText(editor: OnesEditor, containerId: string, blockIndex: number, offset: number, text: string): boolean;
7
4
  handleBeforeKeyDown(editor: OnesEditor, event: KeyboardEvent): boolean;
8
5
  }
@@ -1,3 +1,2 @@
1
1
  import { OnesEditor } from '../../../../@ones-editor/core';
2
- import { MarkdownInputHandlerOptions } from './types';
3
- export declare function matchBlockStyle(editor: OnesEditor, containerId: string, blockIndex: number, offset: number, options?: MarkdownInputHandlerOptions): boolean;
2
+ export declare function matchBlockStyle(editor: OnesEditor, containerId: string, blockIndex: number, offset: number): boolean;
@@ -15,7 +15,6 @@ export declare class ColorItem extends TextColorItem implements ToolbarItem {
15
15
  value?: string | undefined;
16
16
  order?: number | undefined;
17
17
  type?: import("@ones-editor/core").CommandItemType | undefined;
18
- className?: string | undefined;
19
18
  element?: HTMLElement | ((item: import("@ones-editor/core").CommandItem) => HTMLElement) | undefined;
20
19
  icon?: string | undefined;
21
20
  childrenType?: "menu" | "toolbar" | "mobile-bottom-menu" | undefined;