@gravity-ui/markdown-editor 14.3.1 → 14.5.0
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/build/cjs/bundle/Editor.d.ts +2 -0
- package/build/cjs/bundle/Editor.js +9 -2
- package/build/cjs/bundle/MarkdownEditorView.js +1 -0
- package/build/cjs/bundle/SplitModeView.js +1 -0
- package/build/cjs/bundle/config/markup.d.ts +41 -17
- package/build/cjs/bundle/config/markup.js +413 -308
- package/build/cjs/bundle/config/wysiwyg.d.ts +29 -18
- package/build/cjs/bundle/config/wysiwyg.js +526 -310
- package/build/cjs/bundle/sticky/sticky.css +1 -1
- package/build/cjs/bundle/types.d.ts +24 -0
- package/build/cjs/bundle/useMarkdownEditor.js +6 -2
- package/build/cjs/bundle/wysiwyg-preset.d.ts +11 -2
- package/build/cjs/bundle/wysiwyg-preset.js +1 -0
- package/build/cjs/extensions/behavior/Clipboard/utils.d.ts +1 -0
- package/build/cjs/extensions/behavior/Clipboard/utils.js +1 -0
- package/build/cjs/extensions/markdown/CodeBlock/handle-paste.js +5 -17
- package/build/cjs/extensions/yfm/YfmCut/YfmCutSpecs/const.d.ts +4 -0
- package/build/cjs/extensions/yfm/YfmCut/YfmCutSpecs/const.js +6 -1
- package/build/cjs/extensions/yfm/YfmCut/YfmCutSpecs/index.d.ts +8 -1
- package/build/cjs/extensions/yfm/YfmCut/YfmCutSpecs/index.js +11 -5
- package/build/cjs/extensions/yfm/YfmCut/YfmCutSpecs/parser.js +5 -1
- package/build/cjs/extensions/yfm/YfmCut/YfmCutSpecs/schema.d.ts +1 -1
- package/build/cjs/extensions/yfm/YfmCut/YfmCutSpecs/schema.js +8 -3
- package/build/cjs/extensions/yfm/YfmCut/YfmCutSpecs/serializer.d.ts +3 -1
- package/build/cjs/extensions/yfm/YfmCut/YfmCutSpecs/serializer.js +42 -24
- package/build/cjs/extensions/yfm/YfmFile/YfmFileSpecs/const.d.ts +12 -0
- package/build/cjs/extensions/yfm/YfmFile/YfmFileSpecs/const.js +30 -11
- package/build/cjs/extensions/yfm/YfmFile/YfmFileSpecs/index.d.ts +8 -1
- package/build/cjs/extensions/yfm/YfmFile/YfmFileSpecs/index.js +46 -24
- package/build/cjs/extensions/yfm/YfmFile/index.d.ts +1 -0
- package/build/cjs/extensions/yfm/YfmFile/index.js +1 -0
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +2 -1
- package/build/cjs/markup/codemirror/create.d.ts +8 -5
- package/build/cjs/markup/codemirror/create.js +43 -5
- package/build/cjs/markup/codemirror/directive-facet.d.ts +3 -0
- package/build/cjs/markup/codemirror/directive-facet.js +8 -0
- package/build/cjs/markup/codemirror/html-to-markdown/converters.d.ts +111 -0
- package/build/cjs/markup/codemirror/html-to-markdown/converters.js +214 -0
- package/build/cjs/markup/codemirror/html-to-markdown/handlers.d.ts +104 -0
- package/build/cjs/markup/codemirror/html-to-markdown/handlers.js +233 -0
- package/build/cjs/markup/codemirror/html-to-markdown/helpers.d.ts +1 -0
- package/build/cjs/markup/codemirror/html-to-markdown/helpers.js +21 -0
- package/build/cjs/markup/codemirror/index.d.ts +1 -0
- package/build/cjs/markup/codemirror/index.js +3 -1
- package/build/cjs/markup/codemirror/yfm.d.ts +5 -0
- package/build/cjs/markup/codemirror/yfm.js +26 -4
- package/build/cjs/markup/commands/inline.js +18 -8
- package/build/cjs/markup/commands/yfm.js +10 -1
- package/build/cjs/utils/clipboard.d.ts +14 -0
- package/build/cjs/utils/clipboard.js +36 -1
- package/build/cjs/utils/directive.d.ts +28 -0
- package/build/cjs/utils/directive.js +55 -0
- package/build/cjs/utils/index.d.ts +1 -0
- package/build/cjs/version.js +1 -1
- package/build/esm/bundle/Editor.d.ts +2 -0
- package/build/esm/bundle/Editor.js +9 -2
- package/build/esm/bundle/MarkdownEditorView.js +1 -0
- package/build/esm/bundle/SplitModeView.js +1 -0
- package/build/esm/bundle/config/markup.d.ts +41 -17
- package/build/esm/bundle/config/markup.js +411 -307
- package/build/esm/bundle/config/wysiwyg.d.ts +29 -18
- package/build/esm/bundle/config/wysiwyg.js +499 -284
- package/build/esm/bundle/sticky/sticky.css +1 -1
- package/build/esm/bundle/types.d.ts +24 -0
- package/build/esm/bundle/useMarkdownEditor.js +6 -2
- package/build/esm/bundle/wysiwyg-preset.d.ts +11 -2
- package/build/esm/bundle/wysiwyg-preset.js +1 -0
- package/build/esm/extensions/behavior/Clipboard/utils.d.ts +1 -0
- package/build/esm/extensions/behavior/Clipboard/utils.js +1 -0
- package/build/esm/extensions/markdown/CodeBlock/handle-paste.js +2 -14
- package/build/esm/extensions/yfm/YfmCut/YfmCutSpecs/const.d.ts +4 -0
- package/build/esm/extensions/yfm/YfmCut/YfmCutSpecs/const.js +5 -0
- package/build/esm/extensions/yfm/YfmCut/YfmCutSpecs/index.d.ts +8 -1
- package/build/esm/extensions/yfm/YfmCut/YfmCutSpecs/index.js +8 -3
- package/build/esm/extensions/yfm/YfmCut/YfmCutSpecs/parser.js +6 -2
- package/build/esm/extensions/yfm/YfmCut/YfmCutSpecs/schema.d.ts +1 -1
- package/build/esm/extensions/yfm/YfmCut/YfmCutSpecs/schema.js +8 -3
- package/build/esm/extensions/yfm/YfmCut/YfmCutSpecs/serializer.d.ts +3 -1
- package/build/esm/extensions/yfm/YfmCut/YfmCutSpecs/serializer.js +41 -24
- package/build/esm/extensions/yfm/YfmFile/YfmFileSpecs/const.d.ts +12 -0
- package/build/esm/extensions/yfm/YfmFile/YfmFileSpecs/const.js +21 -2
- package/build/esm/extensions/yfm/YfmFile/YfmFileSpecs/index.d.ts +8 -1
- package/build/esm/extensions/yfm/YfmFile/YfmFileSpecs/index.js +32 -10
- package/build/esm/extensions/yfm/YfmFile/index.d.ts +1 -0
- package/build/esm/extensions/yfm/YfmFile/index.js +2 -1
- package/build/esm/index.d.ts +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/markup/codemirror/create.d.ts +8 -5
- package/build/esm/markup/codemirror/create.js +42 -4
- package/build/esm/markup/codemirror/directive-facet.d.ts +3 -0
- package/build/esm/markup/codemirror/directive-facet.js +5 -0
- package/build/esm/markup/codemirror/html-to-markdown/converters.d.ts +111 -0
- package/build/esm/markup/codemirror/html-to-markdown/converters.js +210 -0
- package/build/esm/markup/codemirror/html-to-markdown/handlers.d.ts +104 -0
- package/build/esm/markup/codemirror/html-to-markdown/handlers.js +215 -0
- package/build/esm/markup/codemirror/html-to-markdown/helpers.d.ts +1 -0
- package/build/esm/markup/codemirror/html-to-markdown/helpers.js +17 -0
- package/build/esm/markup/codemirror/index.d.ts +1 -0
- package/build/esm/markup/codemirror/index.js +1 -0
- package/build/esm/markup/codemirror/yfm.d.ts +5 -0
- package/build/esm/markup/codemirror/yfm.js +25 -3
- package/build/esm/markup/commands/inline.js +18 -8
- package/build/esm/markup/commands/yfm.js +9 -1
- package/build/esm/utils/clipboard.d.ts +14 -0
- package/build/esm/utils/clipboard.js +32 -0
- package/build/esm/utils/directive.d.ts +28 -0
- package/build/esm/utils/directive.js +51 -0
- package/build/esm/utils/index.d.ts +1 -0
- package/build/esm/version.js +1 -1
- package/build/styles.css +1 -1
- package/package.json +10 -6
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { CommonEditor } from '../common';
|
|
2
2
|
import { ReactRenderStorage } from '../extensions';
|
|
3
3
|
import { type Receiver } from '../utils';
|
|
4
|
+
import type { DirectiveSyntaxContext } from '../utils/directive';
|
|
4
5
|
import type { MarkdownEditorMode as EditorMode, MarkdownEditorPreset as EditorPreset, MarkdownEditorOptions } from './types';
|
|
5
6
|
export declare type ToolbarActionData = {
|
|
6
7
|
editorMode: EditorMode;
|
|
@@ -41,5 +42,6 @@ export declare type ChangeEditorModeOptions = {
|
|
|
41
42
|
export declare type EditorOptions = Pick<MarkdownEditorOptions, 'md' | 'initial' | 'handlers' | 'experimental' | 'markupConfig' | 'wysiwygConfig'> & {
|
|
42
43
|
renderStorage: ReactRenderStorage;
|
|
43
44
|
preset: EditorPreset;
|
|
45
|
+
directiveSyntax: DirectiveSyntaxContext;
|
|
44
46
|
};
|
|
45
47
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var _EditorImpl_markup, _EditorImpl_editorMode, _EditorImpl_toolbarVisible, _EditorImpl_splitModeEnabled, _EditorImpl_splitMode, _EditorImpl_renderPreview, _EditorImpl_wysiwygEditor, _EditorImpl_markupEditor, _EditorImpl_markupConfig, _EditorImpl_escapeConfig, _EditorImpl_mdOptions, _EditorImpl_preset, _EditorImpl_extensions, _EditorImpl_renderStorage, _EditorImpl_fileUploadHandler, _EditorImpl_parseInsertedUrlAsImage, _EditorImpl_needToSetDimensionsForUploadedImages, _EditorImpl_enableNewImageSizeCalculation, _EditorImpl_prepareRawMarkup, _EditorImpl_beforeEditorModeChange;
|
|
2
|
+
var _EditorImpl_markup, _EditorImpl_editorMode, _EditorImpl_toolbarVisible, _EditorImpl_splitModeEnabled, _EditorImpl_splitMode, _EditorImpl_renderPreview, _EditorImpl_wysiwygEditor, _EditorImpl_markupEditor, _EditorImpl_markupConfig, _EditorImpl_escapeConfig, _EditorImpl_mdOptions, _EditorImpl_preset, _EditorImpl_extensions, _EditorImpl_renderStorage, _EditorImpl_fileUploadHandler, _EditorImpl_parseInsertedUrlAsImage, _EditorImpl_needToSetDimensionsForUploadedImages, _EditorImpl_enableNewImageSizeCalculation, _EditorImpl_directiveSyntax, _EditorImpl_prepareRawMarkup, _EditorImpl_beforeEditorModeChange;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.EditorImpl = void 0;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
@@ -34,6 +34,7 @@ class EditorImpl extends utils_1.SafeEventEmitter {
|
|
|
34
34
|
_EditorImpl_parseInsertedUrlAsImage.set(this, void 0);
|
|
35
35
|
_EditorImpl_needToSetDimensionsForUploadedImages.set(this, void 0);
|
|
36
36
|
_EditorImpl_enableNewImageSizeCalculation.set(this, void 0);
|
|
37
|
+
_EditorImpl_directiveSyntax.set(this, void 0);
|
|
37
38
|
_EditorImpl_prepareRawMarkup.set(this, void 0);
|
|
38
39
|
_EditorImpl_beforeEditorModeChange.set(this, void 0);
|
|
39
40
|
this.getValue = () => this.currentEditor.getValue();
|
|
@@ -52,6 +53,7 @@ class EditorImpl extends utils_1.SafeEventEmitter {
|
|
|
52
53
|
tslib_1.__classPrivateFieldSet(this, _EditorImpl_fileUploadHandler, handlers.uploadFile, "f");
|
|
53
54
|
tslib_1.__classPrivateFieldSet(this, _EditorImpl_parseInsertedUrlAsImage, markupConfig.parseInsertedUrlAsImage, "f");
|
|
54
55
|
tslib_1.__classPrivateFieldSet(this, _EditorImpl_needToSetDimensionsForUploadedImages, Boolean(experimental.needToSetDimensionsForUploadedImages), "f");
|
|
56
|
+
tslib_1.__classPrivateFieldSet(this, _EditorImpl_directiveSyntax, opts.directiveSyntax, "f");
|
|
55
57
|
tslib_1.__classPrivateFieldSet(this, _EditorImpl_enableNewImageSizeCalculation, Boolean(experimental.enableNewImageSizeCalculation), "f");
|
|
56
58
|
tslib_1.__classPrivateFieldSet(this, _EditorImpl_prepareRawMarkup, experimental.prepareRawMarkup, "f");
|
|
57
59
|
tslib_1.__classPrivateFieldSet(this, _EditorImpl_escapeConfig, wysiwygConfig.escapeConfig, "f");
|
|
@@ -120,6 +122,9 @@ class EditorImpl extends utils_1.SafeEventEmitter {
|
|
|
120
122
|
get mdOptions() {
|
|
121
123
|
return tslib_1.__classPrivateFieldGet(this, _EditorImpl_mdOptions, "f");
|
|
122
124
|
}
|
|
125
|
+
get directiveSyntax() {
|
|
126
|
+
return tslib_1.__classPrivateFieldGet(this, _EditorImpl_directiveSyntax, "f");
|
|
127
|
+
}
|
|
123
128
|
get renderPreview() {
|
|
124
129
|
return tslib_1.__classPrivateFieldGet(this, _EditorImpl_renderPreview, "f");
|
|
125
130
|
}
|
|
@@ -166,12 +171,14 @@ class EditorImpl extends utils_1.SafeEventEmitter {
|
|
|
166
171
|
uploadHandler: this.fileUploadHandler,
|
|
167
172
|
parseInsertedUrlAsImage: this.parseInsertedUrlAsImage,
|
|
168
173
|
needImageDimensions: this.needToSetDimensionsForUploadedImages,
|
|
174
|
+
parseHtmlOnPaste: tslib_1.__classPrivateFieldGet(this, _EditorImpl_markupConfig, "f").parseHtmlOnPaste,
|
|
169
175
|
enableNewImageSizeCalculation: this.enableNewImageSizeCalculation,
|
|
170
176
|
extensions: tslib_1.__classPrivateFieldGet(this, _EditorImpl_markupConfig, "f").extensions,
|
|
171
177
|
disabledExtensions: tslib_1.__classPrivateFieldGet(this, _EditorImpl_markupConfig, "f").disabledExtensions,
|
|
172
178
|
keymaps: tslib_1.__classPrivateFieldGet(this, _EditorImpl_markupConfig, "f").keymaps,
|
|
173
179
|
yfmLangOptions: { languageData: tslib_1.__classPrivateFieldGet(this, _EditorImpl_markupConfig, "f").languageData },
|
|
174
180
|
autocompletion: tslib_1.__classPrivateFieldGet(this, _EditorImpl_markupConfig, "f").autocompletion,
|
|
181
|
+
directiveSyntax: this.directiveSyntax,
|
|
175
182
|
receiver: this,
|
|
176
183
|
})), "f");
|
|
177
184
|
}
|
|
@@ -312,7 +319,7 @@ class EditorImpl extends utils_1.SafeEventEmitter {
|
|
|
312
319
|
}
|
|
313
320
|
}
|
|
314
321
|
exports.EditorImpl = EditorImpl;
|
|
315
|
-
_EditorImpl_markup = new WeakMap(), _EditorImpl_editorMode = new WeakMap(), _EditorImpl_toolbarVisible = new WeakMap(), _EditorImpl_splitModeEnabled = new WeakMap(), _EditorImpl_splitMode = new WeakMap(), _EditorImpl_renderPreview = new WeakMap(), _EditorImpl_wysiwygEditor = new WeakMap(), _EditorImpl_markupEditor = new WeakMap(), _EditorImpl_markupConfig = new WeakMap(), _EditorImpl_escapeConfig = new WeakMap(), _EditorImpl_mdOptions = new WeakMap(), _EditorImpl_preset = new WeakMap(), _EditorImpl_extensions = new WeakMap(), _EditorImpl_renderStorage = new WeakMap(), _EditorImpl_fileUploadHandler = new WeakMap(), _EditorImpl_parseInsertedUrlAsImage = new WeakMap(), _EditorImpl_needToSetDimensionsForUploadedImages = new WeakMap(), _EditorImpl_enableNewImageSizeCalculation = new WeakMap(), _EditorImpl_prepareRawMarkup = new WeakMap(), _EditorImpl_beforeEditorModeChange = new WeakMap();
|
|
322
|
+
_EditorImpl_markup = new WeakMap(), _EditorImpl_editorMode = new WeakMap(), _EditorImpl_toolbarVisible = new WeakMap(), _EditorImpl_splitModeEnabled = new WeakMap(), _EditorImpl_splitMode = new WeakMap(), _EditorImpl_renderPreview = new WeakMap(), _EditorImpl_wysiwygEditor = new WeakMap(), _EditorImpl_markupEditor = new WeakMap(), _EditorImpl_markupConfig = new WeakMap(), _EditorImpl_escapeConfig = new WeakMap(), _EditorImpl_mdOptions = new WeakMap(), _EditorImpl_preset = new WeakMap(), _EditorImpl_extensions = new WeakMap(), _EditorImpl_renderStorage = new WeakMap(), _EditorImpl_fileUploadHandler = new WeakMap(), _EditorImpl_parseInsertedUrlAsImage = new WeakMap(), _EditorImpl_needToSetDimensionsForUploadedImages = new WeakMap(), _EditorImpl_enableNewImageSizeCalculation = new WeakMap(), _EditorImpl_directiveSyntax = new WeakMap(), _EditorImpl_prepareRawMarkup = new WeakMap(), _EditorImpl_beforeEditorModeChange = new WeakMap();
|
|
316
323
|
function getTopOffset(elem) {
|
|
317
324
|
const TOOLBAR_HEIGHT = 36; //px
|
|
318
325
|
const TOOLBAR_BOTTOM_OFFSET = 8; // px
|
|
@@ -123,6 +123,7 @@ exports.MarkdownEditorView = react_1.default.forwardRef((props, ref) => {
|
|
|
123
123
|
getValue: editor.getValue,
|
|
124
124
|
mode: 'preview',
|
|
125
125
|
md: editor.mdOptions,
|
|
126
|
+
directiveSyntax: editor.directiveSyntax,
|
|
126
127
|
})),
|
|
127
128
|
settings)) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
128
129
|
editorMode === 'wysiwyg' && (react_1.default.createElement(WysiwygEditorView_1.WysiwygEditorView, { editor: editor, autofocus: autofocus, settingsVisible: settingsVisible, toolbarConfig: wysiwygToolbarConfig, toolbarVisible: editor.toolbarVisible, hiddenActionsConfig: wysiwygHiddenActionsConfig, className: b('editor', { mode: editorMode }), toolbarClassName: b('toolbar'), stickyToolbar: stickyToolbar }, editor.toolbarVisible && settingsVisible && settings)),
|
|
@@ -2,7 +2,7 @@ import { CodeEditor } from '../../markup/editor';
|
|
|
2
2
|
import { ToolbarData } from '../../toolbar/Toolbar';
|
|
3
3
|
import { ToolbarGroupData } from '../../toolbar/ToolbarGroup';
|
|
4
4
|
import { ToolbarListButtonData } from '../../toolbar/ToolbarListButton';
|
|
5
|
-
import { ToolbarButtonPopupData, ToolbarItemData, ToolbarListItemData, ToolbarReactComponentData, ToolbarSingleItemData } from '../../toolbar/types';
|
|
5
|
+
import { ToolbarButtonPopupData, ToolbarItemData, ToolbarListButtonItemData, ToolbarListItemData, ToolbarReactComponentData, ToolbarSingleItemData } from '../../toolbar/types';
|
|
6
6
|
import type { MarkdownEditorPreset } from '../types';
|
|
7
7
|
export declare type MToolbarData = ToolbarData<CodeEditor>;
|
|
8
8
|
export declare type MToolbarItemData = ToolbarItemData<CodeEditor>;
|
|
@@ -12,37 +12,61 @@ export declare type MToolbarReactComponentData = ToolbarReactComponentData<CodeE
|
|
|
12
12
|
export declare type MToolbarListButtonData = ToolbarListButtonData<CodeEditor>;
|
|
13
13
|
export declare type MToolbarListItemData = ToolbarListItemData<CodeEditor>;
|
|
14
14
|
export declare type MToolbarButtonPopupData = ToolbarButtonPopupData<CodeEditor>;
|
|
15
|
-
export declare const
|
|
16
|
-
|
|
15
|
+
export declare const mUndoItemData: MToolbarSingleItemData;
|
|
16
|
+
export declare const mRedoItemData: MToolbarSingleItemData;
|
|
17
17
|
export declare const mBoldItemData: MToolbarSingleItemData;
|
|
18
18
|
export declare const mItalicItemData: MToolbarSingleItemData;
|
|
19
19
|
export declare const mUnderlineItemData: MToolbarSingleItemData;
|
|
20
20
|
export declare const mStrikethroughItemData: MToolbarSingleItemData;
|
|
21
21
|
export declare const mMonospaceItemData: MToolbarSingleItemData;
|
|
22
22
|
export declare const mMarkedItemData: MToolbarSingleItemData;
|
|
23
|
-
export declare const mBiusGroupConfig: MToolbarGroupData;
|
|
24
|
-
export declare const mHeadingListConfig: MToolbarListButtonData;
|
|
25
|
-
export declare const mListsListConfig: MToolbarListButtonData;
|
|
26
23
|
export declare const mCheckboxButton: MToolbarSingleItemData;
|
|
27
|
-
export declare const
|
|
24
|
+
export declare const mCheckboxItemData: MToolbarSingleItemData;
|
|
28
25
|
export declare const mLinkButton: MToolbarSingleItemData;
|
|
29
|
-
export declare const
|
|
26
|
+
export declare const mLinkItemData: MToolbarSingleItemData;
|
|
30
27
|
export declare const mQuoteButton: MToolbarSingleItemData;
|
|
28
|
+
export declare const mQuoteItemData: MToolbarSingleItemData;
|
|
31
29
|
export declare const mCutButton: MToolbarSingleItemData;
|
|
30
|
+
export declare const mCutItemData: MToolbarSingleItemData;
|
|
31
|
+
export declare const mNoteButton: MToolbarSingleItemData;
|
|
32
|
+
export declare const mNoteItemData: MToolbarSingleItemData;
|
|
32
33
|
export declare const mTableButton: MToolbarSingleItemData;
|
|
33
|
-
export declare const
|
|
34
|
-
export declare const
|
|
35
|
-
export declare const mMathListConfig: MToolbarListButtonData;
|
|
36
|
-
export declare const mMathListItem: MToolbarListItemData;
|
|
37
|
-
export declare const mMermaidButton: MToolbarSingleItemData;
|
|
38
|
-
export declare const mYfmHtmlBlockButton: MToolbarSingleItemData;
|
|
34
|
+
export declare const mTableItemData: MToolbarSingleItemData;
|
|
35
|
+
export declare const mCodeItemData: ToolbarListButtonItemData<CodeEditor>;
|
|
39
36
|
export declare const mImagePopupData: MToolbarButtonPopupData;
|
|
37
|
+
export declare const mImageItemData: MToolbarButtonPopupData;
|
|
40
38
|
export declare const mFilePopupData: MToolbarButtonPopupData;
|
|
41
|
-
|
|
42
|
-
export declare const
|
|
39
|
+
export declare const mFileItemData: MToolbarButtonPopupData;
|
|
40
|
+
export declare const mTabsItemData: MToolbarSingleItemData;
|
|
41
|
+
export declare const mMathInlineItemData: ToolbarListButtonItemData<CodeEditor>;
|
|
42
|
+
export declare const mMathBlockItemData: ToolbarListButtonItemData<CodeEditor>;
|
|
43
|
+
export declare const mYfmHtmlBlockButton: MToolbarSingleItemData;
|
|
44
|
+
export declare const mYfmHtmlBlockItemData: MToolbarSingleItemData;
|
|
45
|
+
export declare const mMermaidButton: MToolbarSingleItemData;
|
|
46
|
+
export declare const mMermaidItemData: MToolbarSingleItemData;
|
|
47
|
+
export declare const mCodeblockItemData: MToolbarItemData;
|
|
48
|
+
export declare const mCodeBlockItemData: MToolbarItemData;
|
|
43
49
|
export declare const mHruleItemData: MToolbarSingleItemData;
|
|
44
50
|
export declare const mEmojiItemData: MToolbarSingleItemData;
|
|
45
|
-
export declare const
|
|
51
|
+
export declare const mMathListItem: MToolbarListItemData;
|
|
52
|
+
export declare const mHeading1ItemData: ToolbarListButtonItemData<CodeEditor>;
|
|
53
|
+
export declare const mHeading2ItemData: ToolbarListButtonItemData<CodeEditor>;
|
|
54
|
+
export declare const mHeading3ItemData: ToolbarListButtonItemData<CodeEditor>;
|
|
55
|
+
export declare const mHeading4ItemData: ToolbarListButtonItemData<CodeEditor>;
|
|
56
|
+
export declare const mHeading5ItemData: ToolbarListButtonItemData<CodeEditor>;
|
|
57
|
+
export declare const mHeading6ItemData: ToolbarListButtonItemData<CodeEditor>;
|
|
58
|
+
export declare const mBulletListItemData: ToolbarListButtonItemData<CodeEditor>;
|
|
59
|
+
export declare const mOrderedListItemData: ToolbarListButtonItemData<CodeEditor>;
|
|
60
|
+
export declare const mSinkListItemData: ToolbarListButtonItemData<CodeEditor>;
|
|
61
|
+
export declare const mLiftListItemData: ToolbarListButtonItemData<CodeEditor>;
|
|
62
|
+
export declare const mHeadingListConfig: MToolbarListButtonData;
|
|
63
|
+
export declare const mListsListConfig: MToolbarListButtonData;
|
|
64
|
+
export declare const mListMoveListConfig: MToolbarListButtonData;
|
|
65
|
+
export declare const mCodeListConfig: MToolbarListButtonData;
|
|
66
|
+
export declare const mMathListConfig: MToolbarListButtonData;
|
|
46
67
|
export declare const mHiddenData: MToolbarSingleItemData[];
|
|
68
|
+
export declare const mHistoryGroupConfig: MToolbarGroupData;
|
|
69
|
+
export declare const mBiusGroupConfig: MToolbarGroupData;
|
|
70
|
+
export declare const mToolbarConfig: MToolbarData;
|
|
47
71
|
export declare const mToolbarConfigByPreset: Record<MarkdownEditorPreset, MToolbarData>;
|
|
48
72
|
export declare const mHiddenDataByPreset: Record<MarkdownEditorPreset, MToolbarItemData[]>;
|