@ones-editor/editor 0.0.3-beta.203 → 0.0.3-beta.205
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/block-menu/src/block-menu/items/text-styles/text-style-item.d.ts +2 -0
- package/@ones-editor/code-block/src/index.d.ts +1 -0
- package/@ones-editor/input-handlers/src/index.d.ts +2 -2
- package/@ones-editor/input-handlers/src/markdown-shortcuts/index.d.ts +2 -1
- package/@ones-editor/input-handlers/src/markdown-shortcuts/match-block-convert.d.ts +1 -0
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +151 -151
- package/package.json +1 -1
|
@@ -19,10 +19,12 @@ export default class TextStyleItem implements BlockMenuItem {
|
|
|
19
19
|
id: string;
|
|
20
20
|
name: string;
|
|
21
21
|
element: HTMLElement;
|
|
22
|
+
private textStylesTooltips;
|
|
22
23
|
constructor(editor: OnesEditor, block: BlockElement, options: TextStyleItemOptions);
|
|
23
24
|
createItemElement(editor: OnesEditor, block: BlockElement): HTMLDivElement;
|
|
24
25
|
private createHeadingItemElement;
|
|
25
26
|
private createListItemElement;
|
|
26
27
|
createItem(id: string, icon: string, parent: HTMLElement, active?: boolean): void;
|
|
27
28
|
handleClick: (editor: OnesEditor, event: Event) => void;
|
|
29
|
+
private calcTextStyleItemTooltipsEnum;
|
|
28
30
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MarkdownInputHandler } from './markdown-shortcuts';
|
|
1
|
+
import { MarkdownInputHandler, converterIntercept } from './markdown-shortcuts';
|
|
2
2
|
import './i18n';
|
|
3
3
|
export * from './enforce-with-document-title';
|
|
4
|
-
export { MarkdownInputHandler };
|
|
4
|
+
export { MarkdownInputHandler, converterIntercept };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { OnesEditor } from '../../../../@ones-editor/core';
|
|
2
|
+
export declare function converterIntercept(editor: OnesEditor, containerId: string, blockIndex: number, offset: number, type: 'enter' | 'space'): boolean;
|
|
2
3
|
export declare function matchBlockConvert(editor: OnesEditor, containerId: string, blockIndex: number, offset: number, type: 'enter' | 'space'): boolean;
|