@ones-editor/editor 2.1.1-beta.13 → 2.1.1-beta.14
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/@ones-editor/{ui → block-menu}/src/block-menu/index.d.ts +1 -3
- package/@ones-editor/block-menu/src/block-menu/items/block-command-items.d.ts +3 -0
- package/@ones-editor/block-menu/src/block-menu/items/index.d.ts +5 -0
- package/@ones-editor/block-menu/src/block-menu/items/insert-block-items/index.d.ts +5 -0
- package/@ones-editor/block-menu/src/block-menu/items/text-styles/text-style-item.d.ts +30 -0
- package/@ones-editor/block-menu/src/block-menu/items/types.d.ts +5 -0
- package/@ones-editor/block-menu/src/block-menu-button/menu-button/index.d.ts +1 -1
- package/@ones-editor/block-padding/src/index.d.ts +1 -1
- package/@ones-editor/callout-block/src/callout-block/callout-quick-menu-item-filter.d.ts +4 -3
- package/@ones-editor/comments/src/index.d.ts +0 -3
- package/@ones-editor/comments/src/text-comments/comments-command-provider.d.ts +3 -4
- package/@ones-editor/core/src/core/blocks/common/block-properties.d.ts +9 -9
- package/@ones-editor/core/src/core/blocks/common/execute-block-command.d.ts +2 -2
- package/@ones-editor/core/src/core/blocks/complex-blocks/child-blocks.d.ts +1 -2
- package/@ones-editor/core/src/core/blocks/complex-blocks/complex-block-helper.d.ts +1 -2
- package/@ones-editor/core/src/core/blocks/text-blocks/base/child.d.ts +7 -2
- package/@ones-editor/core/src/core/command-providers/commands/index.d.ts +0 -2
- package/@ones-editor/core/src/core/command-providers/commands/range-commands.d.ts +5 -2
- package/@ones-editor/core/src/core/command-providers/editor-command-providers.d.ts +14 -4
- package/@ones-editor/core/src/core/command-providers/index.d.ts +1 -3
- package/@ones-editor/core/src/core/composition/editor-input.d.ts +1 -1
- package/@ones-editor/core/src/core/containers/root-container.d.ts +4 -4
- package/@ones-editor/core/src/core/doc/doc.d.ts +0 -3
- package/@ones-editor/core/src/core/doc/rich-text/text-style.d.ts +0 -2
- package/@ones-editor/core/src/core/editor/actions/clear-selected-contents.d.ts +2 -2
- package/@ones-editor/core/src/core/selection/actions/index.d.ts +1 -2
- package/@ones-editor/core/src/core/selection/index.d.ts +0 -1
- package/@ones-editor/core/src/core/selection/select-handler.d.ts +3 -3
- package/@ones-editor/core/src/core/types.d.ts +28 -36
- package/@ones-editor/core/src/utils/dom.d.ts +0 -3
- package/@ones-editor/core/src/utils/drag-drop.d.ts +3 -8
- package/@ones-editor/embed-block-helper/src/block-properties/embed-block-properties.d.ts +5 -6
- package/@ones-editor/graph-embed/src/helper/graph-block-commands.d.ts +19 -5
- package/@ones-editor/image-embed/src/hovering-toolbar/index.d.ts +1 -0
- package/@ones-editor/image-embed/src/splitter-resizer/index.d.ts +3 -3
- package/@ones-editor/media-embed/src/core/hovering-toolbar/index.d.ts +1 -0
- package/@ones-editor/mention/src/locale/en-us.d.ts +0 -1
- package/@ones-editor/mention/src/locale/ja-jp.d.ts +0 -1
- package/@ones-editor/mention/src/locale/zh-cn.d.ts +0 -1
- package/@ones-editor/mention/src/mention.d.ts +0 -14
- package/@ones-editor/mobile-helper/src/index.d.ts +0 -6
- package/@ones-editor/sharedb-doc/src/index.d.ts +0 -3
- package/@ones-editor/table-block/src/commands/index.d.ts +0 -2
- package/@ones-editor/table-block/src/commands/table-block-commands.d.ts +3 -4
- package/@ones-editor/table-block/src/index.d.ts +1 -4
- package/@ones-editor/table-block/src/table-block/cell-menu/table-cell-dom.d.ts +0 -6
- package/@ones-editor/table-block/src/table-block/table-resize/resize-drag-drop.d.ts +4 -4
- package/@ones-editor/text-commands/src/index.d.ts +2 -1
- package/@ones-editor/text-commands/src/text-command-provider.d.ts +24 -0
- package/@ones-editor/text-commands/src/text-commands.d.ts +4 -0
- package/@ones-editor/{ui/src/providers/utils → text-commands/src}/text-styles.d.ts +1 -3
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/ui/src/index.d.ts +8 -29
- package/@ones-editor/ui/src/locale/en-us.d.ts +0 -1
- package/@ones-editor/ui/src/locale/ja-jp.d.ts +0 -1
- package/@ones-editor/ui/src/locale/zh-cn.d.ts +0 -1
- package/@ones-editor/ui/src/{providers/utils → quick-menu}/basic-commands.d.ts +2 -1
- package/@ones-editor/ui/src/quick-menu/basic-menu-items.d.ts +16 -0
- package/@ones-editor/ui/src/quick-menu/index.d.ts +19 -7
- package/@ones-editor/ui/src/quick-menu/inline-box-items.d.ts +8 -0
- package/@ones-editor/ui/src/quick-menu/insert-empty-block.d.ts +4 -0
- package/@ones-editor/ui/src/quick-menu/order.d.ts +1 -0
- package/@ones-editor/ui/src/quick-menu/quick-menu-items.d.ts +9 -0
- package/@ones-editor/ui/src/quick-menu/types.d.ts +4 -0
- package/@ones-editor/{ui-base → ui}/src/text-button/index.d.ts +1 -1
- package/@ones-editor/ui/src/{providers → toolbar/commands}/align.d.ts +4 -4
- package/@ones-editor/ui/src/toolbar/commands/paragraph.d.ts +11 -0
- package/@ones-editor/ui/src/toolbar/commands/turn-into.d.ts +10 -0
- package/@ones-editor/ui/src/toolbar/merge-commands.d.ts +2 -0
- package/@ones-editor/ui/src/toolbar/text-commands.d.ts +2 -2
- package/@ones-editor/ui-base/src/auto-suggest/auto-suggest-menu.d.ts +1 -2
- package/@ones-editor/ui-base/src/color-button/text-color-item.d.ts +0 -1
- package/@ones-editor/ui-base/src/color-palette/color-palette.d.ts +1 -1
- package/@ones-editor/ui-base/src/command-bar/command-bar.d.ts +1 -1
- package/@ones-editor/ui-base/src/command-bar/fixed-toolbar.d.ts +1 -3
- package/@ones-editor/ui-base/src/command-bar/types.d.ts +1 -3
- package/@ones-editor/ui-base/src/index.d.ts +0 -2
- package/@ones-editor/ui-base/src/input/create-input.d.ts +3 -23
- package/@ones-editor/ui-base/src/popup/popup.d.ts +1 -1
- package/dist/comments/local-doc-comments-provider.d.ts +1 -2
- package/dist/index.js +20686 -23212
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
- package/@ones-editor/comments/src/comments-helper/old-version-comment.d.ts +0 -16
- package/@ones-editor/core/src/core/command-providers/abstract-providers.d.ts +0 -25
- package/@ones-editor/core/src/core/command-providers/block-attributes.d.ts +0 -14
- package/@ones-editor/core/src/core/command-providers/commands/inject-source.d.ts +0 -3
- package/@ones-editor/core/src/core/command-providers/commands/merge-commands.d.ts +0 -3
- package/@ones-editor/layout-block/src/command-filter.d.ts +0 -7
- package/@ones-editor/mobile-helper/src/fixed-toolbar/fixed-providers.d.ts +0 -6
- package/@ones-editor/mobile-helper/src/fixed-toolbar/index.d.ts +0 -18
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/align-dropdown.d.ts +0 -9
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/group.d.ts +0 -7
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/insert-menu.d.ts +0 -15
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/insert.d.ts +0 -8
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/paragraph.d.ts +0 -9
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/text-dropdown.d.ts +0 -9
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/turn-into.d.ts +0 -8
- package/@ones-editor/mobile-helper/src/fixed-toolbar/toolbar-handler.d.ts +0 -11
- package/@ones-editor/mobile-helper/src/selection-gripper/index.d.ts +0 -19
- package/@ones-editor/mobile-helper/src/selection-gripper/select-handle.d.ts +0 -3
- package/@ones-editor/ui/src/block-menu/block-command-providers.d.ts +0 -8
- package/@ones-editor/ui/src/providers/align-dropdown.d.ts +0 -10
- package/@ones-editor/ui/src/providers/block-hook-provider.d.ts +0 -16
- package/@ones-editor/ui/src/providers/clipboard-provider.d.ts +0 -10
- package/@ones-editor/ui/src/providers/color-provider.d.ts +0 -18
- package/@ones-editor/ui/src/providers/edit-link-provider.d.ts +0 -6
- package/@ones-editor/ui/src/providers/heading.d.ts +0 -13
- package/@ones-editor/ui/src/providers/inline-code-provider.d.ts +0 -10
- package/@ones-editor/ui/src/providers/inline-style-provider.d.ts +0 -10
- package/@ones-editor/ui/src/providers/insert-above.d.ts +0 -9
- package/@ones-editor/ui/src/providers/insert-after.d.ts +0 -9
- package/@ones-editor/ui/src/providers/insert-box-provider.d.ts +0 -12
- package/@ones-editor/ui/src/providers/insert-group.d.ts +0 -7
- package/@ones-editor/ui/src/providers/insert-menu.d.ts +0 -16
- package/@ones-editor/ui/src/providers/link.d.ts +0 -12
- package/@ones-editor/ui/src/providers/list.d.ts +0 -13
- package/@ones-editor/ui/src/providers/mobile-link-provider.d.ts +0 -10
- package/@ones-editor/ui/src/providers/paragraph.d.ts +0 -9
- package/@ones-editor/ui/src/providers/proxy-provider.d.ts +0 -9
- package/@ones-editor/ui/src/providers/quoted.d.ts +0 -10
- package/@ones-editor/ui/src/providers/script-with-dropdown.d.ts +0 -9
- package/@ones-editor/ui/src/providers/tab-provider.d.ts +0 -10
- package/@ones-editor/ui/src/providers/text-command-provider.d.ts +0 -15
- package/@ones-editor/ui/src/providers/text-fixed-provider.d.ts +0 -16
- package/@ones-editor/ui/src/providers/text-script-provider.d.ts +0 -10
- package/@ones-editor/ui/src/providers/text-styles.d.ts +0 -9
- package/@ones-editor/ui/src/providers/turn-into.d.ts +0 -9
- package/@ones-editor/ui/src/providers/utils/add-section.d.ts +0 -2
- package/@ones-editor/ui/src/providers/utils/clipboard.d.ts +0 -6
- package/@ones-editor/ui/src/providers/utils/inject-block-options.d.ts +0 -5
- package/@ones-editor/ui/src/providers/utils/text-commands.d.ts +0 -3
- package/@ones-editor/ui/src/quick-menu/quick-command-providers.d.ts +0 -8
- package/@ones-editor/ui/src/readonly-toolbar/add-comment-to-old-doc.d.ts +0 -22
- package/@ones-editor/ui/src/readonly-toolbar/index.d.ts +0 -30
- package/@ones-editor/ui/src/readonly-toolbar/types.d.ts +0 -12
- package/@ones-editor/ui/src/toolbar/link-commands.d.ts +0 -11
- package/@ones-editor/ui/src/utils/hide-toolbar.d.ts +0 -2
- package/@ones-editor/ui-base/src/mobile-command-bar/init-menu-item.d.ts +0 -3
- package/@ones-editor/ui-base/src/mobile-command-bar/mobile-bottom-menu.d.ts +0 -22
- /package/@ones-editor/{ui → block-menu}/src/block-menu/standard-block-actions/hook.d.ts +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="lodash" />
|
|
2
1
|
import { CommandItem, OnesEditor, OnesEditorCustom } from '../../../@ones-editor/core';
|
|
3
2
|
import { AutoSuggestAnchor, OnesEditorAutoSuggest } from '../../../@ones-editor/ui-base';
|
|
4
3
|
import { MentionOptions } from './types';
|
|
@@ -6,23 +5,10 @@ export default class OnesEditorMention implements OnesEditorCustom {
|
|
|
6
5
|
private editor;
|
|
7
6
|
private options;
|
|
8
7
|
suggest: OnesEditorAutoSuggest;
|
|
9
|
-
private mobileWrap;
|
|
10
|
-
private items;
|
|
11
8
|
constructor(editor: OnesEditor, options: MentionOptions);
|
|
12
9
|
onClose: () => void;
|
|
13
10
|
destroy(): void;
|
|
14
11
|
onShow: (suggest: OnesEditorAutoSuggest, containerId: string, blockIndex: number, offset: number) => boolean;
|
|
15
|
-
handleClickItem: (item: CommandItem) => void;
|
|
16
|
-
handleMobileWrapClick: (e: Event) => void;
|
|
17
12
|
onClickItem: (menu: OnesEditorAutoSuggest, item: CommandItem, anchor: AutoSuggestAnchor) => void;
|
|
18
|
-
createItemElement: (item: CommandItem, find: string) => HTMLElement;
|
|
19
|
-
createMobileItems: (content: HTMLElement, items: CommandItem[], find: string) => void;
|
|
20
|
-
onInputChanged: import("lodash").DebouncedFunc<(content: HTMLElement, e: Event) => void>;
|
|
21
|
-
createMobileCommandItem: (items: CommandItem[]) => {
|
|
22
|
-
id: string;
|
|
23
|
-
name: string;
|
|
24
|
-
element: HTMLElement;
|
|
25
|
-
}[];
|
|
26
|
-
_queryItems: (text: string) => Promise<CommandItem[]>;
|
|
27
13
|
queryItems: (menu: OnesEditorAutoSuggest, text: string) => Promise<CommandItem[]>;
|
|
28
14
|
}
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import { OnesEditor, OnesEditorCustom } from '../../../@ones-editor/core';
|
|
2
|
-
import { MobileCommandHandler } from './fixed-toolbar';
|
|
3
|
-
import './mobile-helper-styles.scss';
|
|
4
|
-
export { MobileCommandHandler };
|
|
5
2
|
export declare class OnesEditorMobileHelper implements OnesEditorCustom {
|
|
6
3
|
private editor;
|
|
7
4
|
private longPressTimeout;
|
|
8
|
-
private gripper;
|
|
9
5
|
constructor(editor: OnesEditor);
|
|
10
6
|
destroy(): void;
|
|
11
7
|
handleSelectionChange: () => void;
|
|
12
8
|
handleLongPress: (event: TouchEvent) => void;
|
|
13
|
-
private isMoving;
|
|
14
|
-
handleTouchMove: (event: TouchEvent) => void;
|
|
15
9
|
handleTouchStart: (event: TouchEvent) => void;
|
|
16
10
|
handleTouchEnd: (event: TouchEvent) => void;
|
|
17
11
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import axios from 'axios';
|
|
2
1
|
import ShareDBDoc from './doc/sharedb-doc';
|
|
3
2
|
import { RemoteCarets, RemoteCaretsDecorator } from './remote-carets';
|
|
4
3
|
export { ShareDBDoc, RemoteCarets, RemoteCaretsDecorator };
|
|
5
4
|
export * from './doc/comments';
|
|
6
5
|
export * from './types';
|
|
7
6
|
export * from './versions';
|
|
8
|
-
export * from './utils/converter';
|
|
9
|
-
export { axios };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BlockCommandItem, BlockElement, CommandParams, CommandResult, OnesEditor, OnesEditorCommandProvider, SelectionRange } from '../../../../@ones-editor/core';
|
|
2
2
|
declare const TableCommands: readonly ["table/merge-cells", "table/split-cell", "table/insert-column", "table/insert-row", "table/delete-rows", "table/delete-columns", "table/delete"];
|
|
3
3
|
export type TableCommand = typeof TableCommands[number];
|
|
4
4
|
export default class TableBlockCommandProvider implements OnesEditorCommandProvider {
|
|
5
5
|
id: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
executeCommand(editor: OnesEditor, block: BlockElement, range: SelectionRange, command: CommandItem, params: CommandParams, result?: CommandResult): boolean;
|
|
6
|
+
getAvailableCommands(editor: OnesEditor, block: BlockElement, range: SelectionRange): BlockCommandItem[];
|
|
7
|
+
executeCommand(editor: OnesEditor, block: BlockElement, range: SelectionRange, command: BlockCommandItem, params: CommandParams, result: CommandResult): boolean;
|
|
9
8
|
}
|
|
10
9
|
export {};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import TableBlock, { includeBigTable } from './table-block';
|
|
2
|
-
import { TableBlockCommandProvider
|
|
2
|
+
import { TableBlockCommandProvider } from './commands';
|
|
3
3
|
import './locale';
|
|
4
4
|
import './table-style.scss';
|
|
5
5
|
import TableShortcuts from './table-block/table-shortcuts';
|
|
6
|
-
import { createEntireRowAndColumnRange, getAbstractTableSelectionRange } from './table-block/cell-menu/table-cell-dom';
|
|
7
6
|
export * from './types';
|
|
8
7
|
export { TableBlock, TableBlockCommandProvider, TableShortcuts, includeBigTable };
|
|
9
|
-
export { deleteColumns, deleteRows, setStripeStyle, setColTitle, setRowTitle, insertColumn, insertRow, };
|
|
10
|
-
export { createEntireRowAndColumnRange, getAbstractTableSelectionRange };
|
|
11
8
|
export type { CreateTableData } from './table-block/table-creator';
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { BlockElement, ComplexBlockPosition, OnesEditor, SimpleBlockPosition } from '../../../../../@ones-editor/core';
|
|
2
2
|
export declare function getCellElementByChildBlockId(editor: OnesEditor, tableBlock: BlockElement, blockId: string): HTMLTableCellElement;
|
|
3
3
|
export declare function createComplexPosFromBlockPos(editor: OnesEditor, tableBlock: BlockElement, blockPosition: ComplexBlockPosition | SimpleBlockPosition): ComplexBlockPosition;
|
|
4
|
-
export declare function getAbstractTableSelectionRange(editor: OnesEditor, tableBlock: BlockElement): {
|
|
5
|
-
fromRow: number;
|
|
6
|
-
toRow: number;
|
|
7
|
-
fromCol: number;
|
|
8
|
-
toCol: number;
|
|
9
|
-
};
|
|
10
4
|
export declare function updateBarsDangerStatus(editor: OnesEditor, tableBlock: BlockElement, selectedRows: number[], selectedColumns: number[]): void;
|
|
11
5
|
export declare function updateCellsDangerStatus(editor: OnesEditor, tableBlock: BlockElement, isDanger?: boolean, isCol?: boolean): void;
|
|
12
6
|
export declare function updateCellBarsDangerStatus(editor: OnesEditor, tableBlock: BlockElement, isDanger?: boolean, isCol?: boolean): void;
|
|
@@ -10,8 +10,8 @@ export declare class TableResizeDragDrop implements DragDropOptions<TableResizeD
|
|
|
10
10
|
data: TableResizeDragDropData;
|
|
11
11
|
private onEnd;
|
|
12
12
|
cursor: string;
|
|
13
|
-
constructor(editor: OnesEditor, elem: HTMLDivElement, data: TableResizeDragDropData, onEnd: ((event: MouseEvent
|
|
14
|
-
onDragStart(drag: DragDrop<TableResizeDragDropData>, event: MouseEvent
|
|
15
|
-
onDragging(drag: DragDrop<TableResizeDragDropData>, event: MouseEvent
|
|
16
|
-
onDragEnd(drag: DragDrop<TableResizeDragDropData>, event: MouseEvent
|
|
13
|
+
constructor(editor: OnesEditor, elem: HTMLDivElement, data: TableResizeDragDropData, onEnd: ((event: MouseEvent) => void) | null);
|
|
14
|
+
onDragStart(drag: DragDrop<TableResizeDragDropData>, event: MouseEvent, elem: HTMLElement): void;
|
|
15
|
+
onDragging(drag: DragDrop<TableResizeDragDropData>, event: MouseEvent, elem: HTMLElement, deltaX: number, deltaY: number): void;
|
|
16
|
+
onDragEnd(drag: DragDrop<TableResizeDragDropData>, event: MouseEvent, elem: HTMLElement, deltaX: number, deltaY: number): void;
|
|
17
17
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BlockCommandItem, BlockElement, CommandParams, CommandResult, DocBlockTextAttributes, OnesEditor, OnesEditorCommandProvider, SelectionRange } from '../../../@ones-editor/core';
|
|
2
|
+
export default class TextCommandProvider implements OnesEditorCommandProvider {
|
|
3
|
+
private editor;
|
|
4
|
+
id: string;
|
|
5
|
+
private emptyTextBlockAttributes;
|
|
6
|
+
private colorItem;
|
|
7
|
+
constructor(editor: OnesEditor);
|
|
8
|
+
destroy(): void;
|
|
9
|
+
private updateButtonColor;
|
|
10
|
+
getAvailableCommands(editor: OnesEditor, block: BlockElement, range: SelectionRange): BlockCommandItem[];
|
|
11
|
+
executeCommand(editor: OnesEditor, block: BlockElement, range: SelectionRange, item: BlockCommandItem, params: CommandParams, result: CommandResult): boolean;
|
|
12
|
+
private executeCommandOnEmptyText;
|
|
13
|
+
private getCommandsOnEmptyText;
|
|
14
|
+
private setCommandsStates;
|
|
15
|
+
getEmptyBlockTextAttributes(editor: OnesEditor, blockId: string): DocBlockTextAttributes | undefined;
|
|
16
|
+
private handleChangeColor;
|
|
17
|
+
private getEmptyTextBlockColor;
|
|
18
|
+
private setEmptyTextBlockColor;
|
|
19
|
+
private static toTextCommand;
|
|
20
|
+
private static fromTextCommandId;
|
|
21
|
+
private static fromTextCommand;
|
|
22
|
+
private static toTextCommands;
|
|
23
|
+
private static fromTextCommands;
|
|
24
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { BlockCommandItem, BlockElement, CommandParams, CommandResult, OnesEditor, SelectionRange } from '../../../@ones-editor/core';
|
|
2
|
+
export declare function getStandardEmptyStyleCommands(editor: OnesEditor, block: BlockElement): BlockCommandItem[];
|
|
3
|
+
export declare function getAvailableStyleCommands(editor: OnesEditor, block: BlockElement, range: SelectionRange): BlockCommandItem[];
|
|
4
|
+
export declare function executeStyleCommand(editor: OnesEditor, block: BlockElement, range: SelectionRange, command: string, params: CommandParams, result: CommandResult): boolean;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { BlockElement,
|
|
1
|
+
import { BlockElement, DocBlockText, OnesEditor, SelectionRange, TextStyles } from '../../../@ones-editor/core';
|
|
2
2
|
export declare function getIntersectionStyles(text: DocBlockText): Map<any, any>;
|
|
3
3
|
export declare function getTextStyles(editor: OnesEditor, block: BlockElement, range: SelectionRange): TextStyles;
|
|
4
4
|
export declare function applyTextStyle(editor: OnesEditor, block: BlockElement, range: SelectionRange, style: string, value?: boolean | string | number): DocBlockText;
|
|
5
|
-
export declare function getStandardTextStyles(textStyles: CommandItem[], text: DocBlockText): CommandItem[];
|
|
6
|
-
export declare function getSubText(editor: OnesEditor, block: BlockElement, range: SelectionRange): DocBlockText;
|