@ones-editor/editor 2.8.14-beta.7 → 2.8.15-beta.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.
@@ -4,5 +4,5 @@ export interface BreakTextBlockResult {
4
4
  block: BlockElement;
5
5
  newBlock: BlockElement;
6
6
  }
7
- export declare function copyBlockAttributes(editor: OnesEditor, block: BlockElement, options?: BreakTextOptions): DocBlockAttributes;
7
+ export declare function copyBlockAttributes(editor: OnesEditor, block: BlockElement): DocBlockAttributes;
8
8
  export declare function editorBreakTextBlock(editor: OnesEditor, block: BlockElement, offset: number, options?: BreakTextOptions): BreakTextBlockResult;
@@ -426,7 +426,6 @@ export interface BreakTextOptions {
426
426
  forceInsertAfter?: boolean;
427
427
  newBlockData?: DocBlock;
428
428
  copyBlockAttributes?: boolean;
429
- copyHeading?: boolean;
430
429
  }
431
430
  export interface OnesEditorEvents {
432
431
  'docChanged': (editor: OnesEditor, local: boolean) => void;
@@ -8,7 +8,6 @@ import './lang';
8
8
  import './style.scss';
9
9
  import { ListPasteHandler } from './local-events/paste-handler';
10
10
  import { handleTab, handleShiftTab } from './keyboard/tab';
11
- export { autoBreakListBlock } from './keyboard/enter';
12
11
  export { type ListOptions, type DocListBlock } from './types';
13
12
  declare const ListBlock: TextKindBlock;
14
13
  export * from './utils';
@@ -1,4 +1,2 @@
1
- import { BlockElement, OnesEditor } from '../../../../@ones-editor/core';
2
- export declare function breakListBlock(editor: OnesEditor, block: BlockElement, offset: number, attributesBlock: BlockElement): import("@ones-editor/core").BreakTextBlockResult;
3
- export declare function autoBreakListBlock(editor: OnesEditor, block: BlockElement, offset: number): import("@ones-editor/core").BreakTextBlockResult;
1
+ import { OnesEditor } from '../../../../@ones-editor/core';
4
2
  export declare function handleEnter(editor: OnesEditor): boolean;
@@ -1,5 +1,4 @@
1
1
  import { OnesEditor, OnesEditorInputHandler } from '../../../../@ones-editor/core';
2
- import { autoBreakListBlock } from './enter';
3
2
  export default class ListBlockInputHandler implements OnesEditorInputHandler {
4
3
  private editor;
5
4
  constructor(editor: OnesEditor);
@@ -8,4 +7,3 @@ export default class ListBlockInputHandler implements OnesEditorInputHandler {
8
7
  private handleBackspace;
9
8
  private handleTab;
10
9
  }
11
- export { autoBreakListBlock, };