hexagon-editor 0.1.8 → 0.1.9
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/dist/MarkdownEditor.vue.d.ts +22 -10
- package/dist/MarkdownEditor.vue.d.ts.map +1 -1
- package/dist/background-color-DJ1tENTK.js +80 -0
- package/dist/{color-7y9Yd6c7.js → color-DYgeN76h.js} +268 -267
- package/dist/components/MarkdownEditorFloatingMenus.vue.d.ts +7 -3
- package/dist/components/MarkdownEditorFloatingMenus.vue.d.ts.map +1 -1
- package/dist/components/MarkdownEditorToolbar.vue.d.ts +5 -2
- package/dist/components/MarkdownEditorToolbar.vue.d.ts.map +1 -1
- package/dist/core/basic-editor-command-helpers.d.ts +2 -0
- package/dist/core/basic-editor-command-helpers.d.ts.map +1 -1
- package/dist/core/basic-editor-markdown.d.ts.map +1 -1
- package/dist/core/basic-editor-types.d.ts +2 -0
- package/dist/core/basic-editor-types.d.ts.map +1 -1
- package/dist/core/basic-editor.d.ts.map +1 -1
- package/dist/core.js +1 -1
- package/dist/extensions/index.d.ts +1 -0
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/markdown/background-color.d.ts +16 -0
- package/dist/extensions/markdown/background-color.d.ts.map +1 -0
- package/dist/extensions/markdown/color.d.ts +3 -2
- package/dist/extensions/markdown/color.d.ts.map +1 -1
- package/dist/extensions.js +121 -111
- package/dist/i18n/index.d.ts +10 -0
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n.js +24 -4
- package/dist/index.css +1 -1
- package/dist/index.js +886 -831
- package/dist/{markup-commands-uq7LBcNQ.js → markup-commands-DW5NFQUO.js} +1095 -1076
- package/dist/renderer/MarkdownRenderer.vue.d.ts.map +1 -1
- package/dist/renderer/markdown.d.ts.map +1 -1
- package/dist/renderer.css +1 -1
- package/dist/renderer.js +588 -541
- package/dist/toolbar/config.d.ts +1 -1
- package/dist/toolbar/config.d.ts.map +1 -1
- package/dist/toolbar.js +21 -20
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { MarkdownEditorMessageKey } from '../i18n';
|
|
|
3
3
|
import { MarkdownEditorMode, MarkdownEditorTheme } from '../public-types';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
codeVisible: boolean;
|
|
6
|
+
backgroundColorVisible: boolean;
|
|
6
7
|
colorVisible: boolean;
|
|
7
8
|
formulaVisible: boolean;
|
|
8
9
|
headingVisible: boolean;
|
|
@@ -15,10 +16,11 @@ type __VLS_Props = {
|
|
|
15
16
|
translate: (key: MarkdownEditorMessageKey) => string;
|
|
16
17
|
};
|
|
17
18
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
18
|
-
getElement(name: "code" | "color" | "formula" | "heading" | "list" | "mode"): HTMLElement | undefined;
|
|
19
|
+
getElement(name: "background-color" | "code" | "color" | "formula" | "heading" | "list" | "mode"): HTMLElement | undefined;
|
|
19
20
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
21
|
"code-block": () => any;
|
|
21
|
-
"select-color": (color: "gray" | "yellow" | "orange" | "red" | "green" | "blue" | "violet") => any;
|
|
22
|
+
"select-background-color": (color: "gray" | "yellow" | "orange" | "red" | "green" | "blue" | "violet" | "default") => any;
|
|
23
|
+
"select-color": (color: "gray" | "yellow" | "orange" | "red" | "green" | "blue" | "violet" | "default") => any;
|
|
22
24
|
"inline-code": () => any;
|
|
23
25
|
"inline-formula": () => any;
|
|
24
26
|
"math-block": () => any;
|
|
@@ -30,7 +32,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
30
32
|
"outdent-list": () => any;
|
|
31
33
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
34
|
"onCode-block"?: (() => any) | undefined;
|
|
33
|
-
"onSelect-color"?: ((color: "gray" | "yellow" | "orange" | "red" | "green" | "blue" | "violet") => any) | undefined;
|
|
35
|
+
"onSelect-background-color"?: ((color: "gray" | "yellow" | "orange" | "red" | "green" | "blue" | "violet" | "default") => any) | undefined;
|
|
36
|
+
"onSelect-color"?: ((color: "gray" | "yellow" | "orange" | "red" | "green" | "blue" | "violet" | "default") => any) | undefined;
|
|
34
37
|
"onInline-code"?: (() => any) | undefined;
|
|
35
38
|
"onInline-formula"?: (() => any) | undefined;
|
|
36
39
|
"onMath-block"?: (() => any) | undefined;
|
|
@@ -41,6 +44,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
41
44
|
"onIndent-list"?: (() => any) | undefined;
|
|
42
45
|
"onOutdent-list"?: (() => any) | undefined;
|
|
43
46
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
47
|
+
backgroundColor: HTMLDivElement;
|
|
44
48
|
color: HTMLDivElement;
|
|
45
49
|
code: HTMLDivElement;
|
|
46
50
|
heading: HTMLDivElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownEditorFloatingMenus.vue.d.ts","sourceRoot":"","sources":["../../src/components/MarkdownEditorFloatingMenus.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MarkdownEditorFloatingMenus.vue.d.ts","sourceRoot":"","sources":["../../src/components/MarkdownEditorFloatingMenus.vue"],"names":[],"mappings":"AA8YA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAW/E,KAAK,WAAW,GAAG;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,sBAAsB,EAAE,OAAO,CAAC;IAChC,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,kBAAkB,CAAC;IACzB,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,0BAA0B,CAAC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,mBAAmB,CAAC;IAC3B,SAAS,EAAE,CAAC,GAAG,EAAE,wBAAwB,KAAK,MAAM,CAAC;CACrD,CAAC;;qBA8BM,kBAAkB,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GACnF,WAAW,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2Y3B,wBASG"}
|
|
@@ -5,6 +5,7 @@ import { MarkdownEditorMessageKey } from '../i18n';
|
|
|
5
5
|
type ToolbarCommand = Parameters<BasicWysiwygEditor['run']>[0];
|
|
6
6
|
type __VLS_Props = {
|
|
7
7
|
commands: BasicEditorCommands;
|
|
8
|
+
backgroundColorMenuVisible: boolean;
|
|
8
9
|
colorMenuVisible: boolean;
|
|
9
10
|
codeMenuVisible: boolean;
|
|
10
11
|
formulaMenuVisible: boolean;
|
|
@@ -34,10 +35,11 @@ declare function __VLS_template(): {
|
|
|
34
35
|
};
|
|
35
36
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
36
37
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
-
execute: (id: "color" | "image" | "mermaid" | "html" | "table" | "code" | "link" | "mark" | "strike" | "bold" | "formula" | "heading" | "italic" | "quote" | "redo" | "underline" | "undo" | "code-block" | "bullet-list" | "ordered-list" | "fold-heading" | "code-language" | "horizontal-rule" | undefined, command: import('prosemirror-state').Command) => any;
|
|
38
|
+
execute: (id: "color" | "image" | "mermaid" | "html" | "table" | "code" | "link" | "mark" | "strike" | "bold" | "formula" | "heading" | "italic" | "quote" | "redo" | "underline" | "undo" | "code-block" | "bullet-list" | "ordered-list" | "background-color" | "fold-heading" | "code-language" | "horizontal-rule" | undefined, command: import('prosemirror-state').Command) => any;
|
|
38
39
|
"insert-html": () => any;
|
|
39
40
|
"toggle-formula-menu": (reference: HTMLElement) => any;
|
|
40
41
|
"toggle-code-menu": (reference: HTMLElement) => any;
|
|
42
|
+
"toggle-background-color-menu": (reference: HTMLElement) => any;
|
|
41
43
|
"toggle-color-menu": (reference: HTMLElement) => any;
|
|
42
44
|
"toggle-heading-menu": (reference: HTMLElement) => any;
|
|
43
45
|
"toggle-image-editor": (reference: HTMLElement) => any;
|
|
@@ -45,10 +47,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
45
47
|
"toggle-list-menu": (reference: HTMLElement) => any;
|
|
46
48
|
"toggle-mode-menu": (reference: HTMLElement) => any;
|
|
47
49
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
48
|
-
onExecute?: ((id: "color" | "image" | "mermaid" | "html" | "table" | "code" | "link" | "mark" | "strike" | "bold" | "formula" | "heading" | "italic" | "quote" | "redo" | "underline" | "undo" | "code-block" | "bullet-list" | "ordered-list" | "fold-heading" | "code-language" | "horizontal-rule" | undefined, command: import('prosemirror-state').Command) => any) | undefined;
|
|
50
|
+
onExecute?: ((id: "color" | "image" | "mermaid" | "html" | "table" | "code" | "link" | "mark" | "strike" | "bold" | "formula" | "heading" | "italic" | "quote" | "redo" | "underline" | "undo" | "code-block" | "bullet-list" | "ordered-list" | "background-color" | "fold-heading" | "code-language" | "horizontal-rule" | undefined, command: import('prosemirror-state').Command) => any) | undefined;
|
|
49
51
|
"onInsert-html"?: (() => any) | undefined;
|
|
50
52
|
"onToggle-formula-menu"?: ((reference: HTMLElement) => any) | undefined;
|
|
51
53
|
"onToggle-code-menu"?: ((reference: HTMLElement) => any) | undefined;
|
|
54
|
+
"onToggle-background-color-menu"?: ((reference: HTMLElement) => any) | undefined;
|
|
52
55
|
"onToggle-color-menu"?: ((reference: HTMLElement) => any) | undefined;
|
|
53
56
|
"onToggle-heading-menu"?: ((reference: HTMLElement) => any) | undefined;
|
|
54
57
|
"onToggle-image-editor"?: ((reference: HTMLElement) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownEditorToolbar.vue.d.ts","sourceRoot":"","sources":["../../src/components/MarkdownEditorToolbar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MarkdownEditorToolbar.vue.d.ts","sourceRoot":"","sources":["../../src/components/MarkdownEditorToolbar.vue"],"names":[],"mappings":"AA4eA,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AACnG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAQxD,OAAO,KAAK,EAAE,2BAA2B,EAA0D,MAAM,YAAY,CAAC;AAEtH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD,KAAK,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/D,KAAK,WAAW,GAAG;IAClB,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,0BAA0B,EAAE,OAAO,CAAC;IACpC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;IACzB,IAAI,EAAE,kBAAkB,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;IACzB,KAAK,EAAE,0BAA0B,CAAC;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,2BAA2B,CAAC;IAC3C,aAAa,CAAC,EAAE,2BAA2B,CAAC;IAC5C,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,SAAS,EAAE,CAAC,GAAG,EAAE,wBAAwB,KAAK,MAAM,CAAC;CACrD,CAAC;AAyCF,iBAAS,cAAc;WA6yBT,OAAO,IAA6B;;;;+BA5C7B,cAAc;YAkCJ,GAAG;;;;EAejC;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Schema } from 'prosemirror-model';
|
|
2
2
|
import { Command } from 'prosemirror-state';
|
|
3
3
|
import { TextColorName } from '../extensions/markdown/color';
|
|
4
|
+
import { TextBackgroundColorName } from '../extensions/markdown/background-color';
|
|
4
5
|
import { ImageObjectFit } from '../extensions/markdown/image';
|
|
5
6
|
export declare function getBasicNodeType(schema: Schema, name: string): import('prosemirror-model').NodeType;
|
|
6
7
|
export declare function getBasicMarkType(schema: Schema, name: string): import('prosemirror-model').MarkType;
|
|
@@ -8,5 +9,6 @@ export declare function createTableCommand(rows?: number, columns?: number): Com
|
|
|
8
9
|
export declare function insertFileCommand(schema: Schema, href: string, name: string): Command;
|
|
9
10
|
export declare function insertImageCommand(schema: Schema, src: string, alt: string, title?: string): Command;
|
|
10
11
|
export declare function setColorCommand(schema: Schema, color: TextColorName): Command;
|
|
12
|
+
export declare function setBackgroundColorCommand(schema: Schema, color: TextBackgroundColorName): Command;
|
|
11
13
|
export declare function setImageDisplayCommand(width?: number | string, objectFit?: ImageObjectFit, height?: number | null): Command;
|
|
12
14
|
//# sourceMappingURL=basic-editor-command-helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic-editor-command-helpers.d.ts","sourceRoot":"","sources":["../../src/core/basic-editor-command-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAGjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAGnE,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,wCAI5D;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,wCAI5D;AAED,wBAAgB,kBAAkB,CAAC,IAAI,SAAI,EAAE,OAAO,SAAI,GAAG,OAAO,CAEjE;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAQrF;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAcpG;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"basic-editor-command-helpers.d.ts","sourceRoot":"","sources":["../../src/core/basic-editor-command-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,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AmB,CAAC;
|
|
1
|
+
{"version":3,"file":"basic-editor-markdown.d.ts","sourceRoot":"","sources":["../../src/core/basic-editor-markdown.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,aAAa,CAAC;AAKrC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AA4D3C,OAAO,EAAyB,aAAa,EAAE,MAAM,YAAY,CAAC;AAyDlE,eAAO,MAAM,mBAAmB,EAAE,MAmChC,CAAC;AA6CH,wBAAgB,wBAAwB,CAAC,QAAQ,aAAgD,GAAG,UAAU,CAgE7G;AAiGD,eAAO,MAAM,kBAAkB,eAG7B,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { MarkdownDirectiveComponents } from '../directives';
|
|
|
4
4
|
import { SelectionContextOptions } from '../extensions/behavior/selection-context';
|
|
5
5
|
import { ImageObjectFit } from '../extensions/markdown/image';
|
|
6
6
|
import { TextColorName } from '../extensions/markdown/color';
|
|
7
|
+
import { TextBackgroundColorName } from '../extensions/markdown/background-color';
|
|
7
8
|
import { MarkdownFeatures } from '../public-types';
|
|
8
9
|
export interface BasicEditorCommands {
|
|
9
10
|
addMathInline: Command;
|
|
@@ -38,6 +39,7 @@ export interface BasicEditorCommands {
|
|
|
38
39
|
quote: Command;
|
|
39
40
|
redo: Command;
|
|
40
41
|
setColor(color: TextColorName): Command;
|
|
42
|
+
setBackgroundColor(color: TextBackgroundColorName): Command;
|
|
41
43
|
sinkListItem: Command;
|
|
42
44
|
splitListItem: Command;
|
|
43
45
|
strikethrough: Command;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic-editor-types.d.ts","sourceRoot":"","sources":["../../src/core/basic-editor-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEtC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM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IACjC,mBAAmB,CAAC,EAAE,2BAA2B,CAAC;IAClD,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,IAAI,OAAO,CAAC;IACrB,iBAAiB,CAAC,CAAC,SAAS,EAAE,0BAA0B,GAAG,IAAI,CAAC;IAChE,QAAQ,CAAC,IAAI,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,gBAAgB,CAAC,EAAE,uBAAuB,CAAC;IAC3C,MAAM,EAAE,WAAW,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic-editor.d.ts","sourceRoot":"","sources":["../../src/core/basic-editor.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAgC,MAAM,mBAAmB,CAAC;AAC9E,OAAO,KAAK,EAAE,MAAM,EAAe,MAAM,mBAAmB,CAAC;AAO7D,OAAO,wCAAwC,CAAC;AAGhD,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"basic-editor.d.ts","sourceRoot":"","sources":["../../src/core/basic-editor.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAgC,MAAM,mBAAmB,CAAC;AAC9E,OAAO,KAAK,EAAE,MAAM,EAAe,MAAM,mBAAmB,CAAC;AAO7D,OAAO,wCAAwC,CAAC;AAGhD,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAkClF,OAAO,KAAK,EACX,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,8BAA8B,EAC9B,MAAM,sBAAsB,CAAC;AAE9B,YAAY,EACX,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,8BAA8B,GAC9B,MAAM,sBAAsB,CAAC;AAc9B,wBAAgB,8BAA8B,IAAI,MAAM,CAEvD;AAuDD,mFAAmF;AACnF,wBAAgB,yBAAyB,IAAI,mBAAmB,CA8C/D;AAED,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,WAAW,GAAG,0BAA0B,CAO5F;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EACvC,mBAAmB,EACnB,mBAAmB,EACnB,QAAa,EACb,QAAe,EACf,YAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,QAAQ,EACR,WAAgB,EAChB,OAAY,EACZ,gBAAgB,EAChB,MAAM,GACN,EAAE,8BAA8B,GAAG,kBAAkB,CAwFrD"}
|
package/dist/core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, E as r, a as t, b as i, c as o, L as n, L as c, M as d, d as m, e as g, f as l, P as k, g as y, S as M, h as u, i as w, j as E, k as L, W as P, l as S, m as p, n as f, o as x, p as B, s as C, q as R, r as h, t as W, u as b } from "./markup-commands-
|
|
1
|
+
import { A as s, E as r, a as t, b as i, c as o, L as n, L as c, M as d, d as m, e as g, f as l, P as k, g as y, S as M, h as u, i as w, j as E, k as L, W as P, l as S, m as p, n as f, o as x, p as B, s as C, q as R, r as h, t as W, u as b } from "./markup-commands-DW5NFQUO.js";
|
|
2
2
|
import { c as T, a as V, b as j, d as D, e as I, f as z, j as A, l as q, m as H, s as K, t as N } from "./base-BOV5nzwj.js";
|
|
3
3
|
export {
|
|
4
4
|
s as ActionsManager,
|
|
@@ -15,6 +15,7 @@ export * from './behavior/selection';
|
|
|
15
15
|
export * from './behavior/selection-context';
|
|
16
16
|
export * from './markdown/blockquote';
|
|
17
17
|
export * from './markdown/bold';
|
|
18
|
+
export * from './markdown/background-color';
|
|
18
19
|
export * from './markdown/breaks';
|
|
19
20
|
export * from './markdown/code';
|
|
20
21
|
export * from './markdown/code-block';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/extensions/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/extensions/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as MarkdownIt } from 'markdown-it';
|
|
2
|
+
import { MarkSpec } from 'prosemirror-model';
|
|
3
|
+
import { ParseSpec } from 'prosemirror-markdown';
|
|
4
|
+
export declare const textBackgroundColorNames: readonly ["gray", "yellow", "orange", "red", "green", "blue", "violet"];
|
|
5
|
+
export declare const textBackgroundColorMenuNames: readonly ["default", "gray", "yellow", "orange", "red", "green", "blue", "violet"];
|
|
6
|
+
export type TextBackgroundColorName = (typeof textBackgroundColorMenuNames)[number];
|
|
7
|
+
type TextBackgroundColorMessageKey = 'backgroundColorDefault' | 'backgroundColorGray' | 'backgroundColorYellow' | 'backgroundColorOrange' | 'backgroundColorRed' | 'backgroundColorGreen' | 'backgroundColorBlue' | 'backgroundColorViolet';
|
|
8
|
+
export declare const textBackgroundColorMessageKeys: Record<TextBackgroundColorName, TextBackgroundColorMessageKey>;
|
|
9
|
+
export declare const textBackgroundColorCssVariables: Record<TextBackgroundColorName, string>;
|
|
10
|
+
export declare function isTextBackgroundColorName(value: string): value is TextBackgroundColorName;
|
|
11
|
+
export declare function getTextBackgroundColorCssValue(color: string): string;
|
|
12
|
+
export declare const backgroundColorMarkSpec: MarkSpec;
|
|
13
|
+
export declare const backgroundColorTokenSpec: ParseSpec;
|
|
14
|
+
export declare function configureBackgroundColorMarkdown(markdown: MarkdownIt): MarkdownIt;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=background-color.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background-color.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/background-color.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,eAAO,MAAM,wBAAwB,yEAA0E,CAAC;AAChH,eAAO,MAAM,4BAA4B,oFAAoD,CAAC;AAE9F,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,CAAC,CAAC;AACpF,KAAK,6BAA6B,GAC/B,wBAAwB,GACxB,qBAAqB,GACrB,uBAAuB,GACvB,uBAAuB,GACvB,oBAAoB,GACpB,sBAAsB,GACtB,qBAAqB,GACrB,uBAAuB,CAAC;AAE3B,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,uBAAuB,EAAE,6BAA6B,CASzG,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAAC,uBAAuB,EAAE,MAAM,CAQnF,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAEzF;AAED,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAGpE;AAED,eAAO,MAAM,uBAAuB,EAAE,QASrC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,SAGtC,CAAC;AAEF,wBAAgB,gCAAgC,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CA8BjF"}
|
|
@@ -2,8 +2,9 @@ import { default as MarkdownIt } from 'markdown-it';
|
|
|
2
2
|
import { MarkSpec } from 'prosemirror-model';
|
|
3
3
|
import { ParseSpec } from 'prosemirror-markdown';
|
|
4
4
|
export declare const textColorNames: readonly ["gray", "yellow", "orange", "red", "green", "blue", "violet"];
|
|
5
|
-
export
|
|
6
|
-
type
|
|
5
|
+
export declare const textColorMenuNames: readonly ["default", "gray", "yellow", "orange", "red", "green", "blue", "violet"];
|
|
6
|
+
export type TextColorName = (typeof textColorMenuNames)[number];
|
|
7
|
+
type TextColorMessageKey = 'colorDefault' | 'colorGray' | 'colorYellow' | 'colorOrange' | 'colorRed' | 'colorGreen' | 'colorBlue' | 'colorViolet';
|
|
7
8
|
export declare const textColorMessageKeys: Record<TextColorName, TextColorMessageKey>;
|
|
8
9
|
export declare const textColorCssVariables: Record<TextColorName, string>;
|
|
9
10
|
export declare function isTextColorName(value: string): value is TextColorName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/color.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,eAAO,MAAM,cAAc,yEAA0E,CAAC;
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/color.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,eAAO,MAAM,cAAc,yEAA0E,CAAC;AACtG,eAAO,MAAM,kBAAkB,oFAA0C,CAAC;AAE1E,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAChE,KAAK,mBAAmB,GACrB,cAAc,GACd,WAAW,GACX,aAAa,GACb,aAAa,GACb,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,CAAC;AAEjB,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,aAAa,EAAE,mBAAmB,CAS3E,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAQ/D,CAAC;AAEF,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAErE;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAG1D;AAED,eAAO,MAAM,aAAa,EAAE,QAK3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,SAG5B,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CA8BvE"}
|
package/dist/extensions.js
CHANGED
|
@@ -1,66 +1,67 @@
|
|
|
1
|
-
import { B as s, g as o, h as t, i, k as l, n as
|
|
2
|
-
import {
|
|
1
|
+
import { B as s, g as o, h as t, i as r, k as l, n as i, C as n, o as c, p as d, q as k, r as m, D as b, E as p, F as g, G as u, H as S, u as N, v as T, w as B, x as M, y as f, z as C, I as h, A as H, J as z, L, K as y, M as A, N as I, O as x, P as R, Q as w, R as D, S as q, T as v, U as P, V as Q, W as E, X as F, Y as O, Z as Y, _ as U, $ as G, a0 as K, a1 as V, a2 as j, a3 as J, a4 as W, a5 as X, a6 as Z, a7 as _, a8 as $, a9 as aa, aa as ea, ab as sa, ac as oa, ad as ta, ae as ra, af as la, ag as ia, ah as na, ai as ca, aj as da, ak as ka, al as ma, am as ba, an as pa, ao as ga, ap as ua, aq as Sa, ar as Na, as as Ta, at as Ba, au as Ma, av as fa, aw as Ca, ax as ha, ay as Ha, az as za, aA as La, aB as ya, aC as Aa, aD as Ia, aE as xa, aF as Ra, aG as wa, aH as Da, aI as qa, aJ as va, aK as Pa, aL as Qa, aM as Ea, aN as Fa, aO as Oa, aP as Ya, aQ as Ua, aR as Ga, aS as Ka, aT as Va, aU as ja, aV as Ja, aW as Wa, aX as Xa, aY as Za, aZ as _a, a_ as $a, a$ as ae, b0 as ee, b1 as se, b2 as oe, b3 as te, b4 as re, b5 as le, b6 as ie, b7 as ne, b8 as ce, b9 as de, ba as ke, bb as me, bc as be, bd as pe, be as ge, bf as ue, bg as Se, bh as Ne, bi as Te, bj as Be, bk as Me, bl as fe, bm as Ce, bn as he, bo as He, bp as ze, bq as Le, br as ye, bs as Ae, bt as Ie, bu as xe, bv as Re, bw as we, bx as De, by as qe, bz as ve, bA as Pe, bB as Qe, bC as Ee, bD as Fe, bE as Oe, bF as Ye, bG as Ue, bH as Ge, bI as Ke, bJ as Ve, bK as je, bL as Je, bM as We, bN as Xe, bO as Ze, bP as _e, bQ as $e, bR as as, bS as es, bT as ss, bU as os, bV as ts, bW as rs, bX as ls, bY as is, bZ as ns, b_ as cs, b$ as ds, c0 as ks, c1 as ms, c2 as bs, c3 as ps } from "./base-BOV5nzwj.js";
|
|
2
|
+
import { b as us, a as Ss, c as Ns, g as Ts, i as Bs, t as Ms, d as fs, e as Cs, f as hs } from "./background-color-DJ1tENTK.js";
|
|
3
|
+
import { B as zs, a as Ls, b as ys, c as As, d as Is, C as xs, e as Rs, f as ws, D as Ds, g as qs, h as vs, H as Ps, i as Qs, I as Es, j as Fs, L as Os, k as Ys, T as Us, l as Gs, m as Ks, n as Vs, o as js, p as Js, q as Ws, r as Xs, s as Zs, t as _s, u as $s, v as ao, w as eo, x as so, y as oo, z as to, A as ro, E as lo, F as io, G as no, J as co, K as ko, M as mo, N as bo, O as po, P as go, Q as uo, R as So, S as No, U as To, V as Bo, W as Mo, X as fo, Y as Co, Z as ho, _ as Ho, $ as zo, a0 as Lo, a1 as yo, a2 as Ao, a3 as Io, a4 as xo, a5 as Ro, a6 as wo, a7 as Do, a8 as qo, a9 as vo, aa as Po, ab as Qo, ac as Eo, ad as Fo } from "./heading-specs-Dnjn5FYs.js";
|
|
3
4
|
export {
|
|
4
5
|
s as BaseInputRules,
|
|
5
6
|
o as BaseKeymap,
|
|
6
7
|
t as BaseSchema,
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
r as Blockquote,
|
|
9
|
+
zs as BlockquoteSpecs,
|
|
9
10
|
l as Bold,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
Ls as BoldAttrs,
|
|
12
|
+
ys as BoldSpecs,
|
|
13
|
+
As as BreakNodeName,
|
|
14
|
+
i as Breaks,
|
|
15
|
+
Is as BreaksSpecs,
|
|
15
16
|
n as ClicksOnEdges,
|
|
16
17
|
c as Clipboard,
|
|
17
18
|
d as Code,
|
|
18
19
|
k as CodeBlock,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
xs as CodeBlockAttrs,
|
|
21
|
+
Rs as CodeBlockSpecs,
|
|
22
|
+
ws as CodeSpecs,
|
|
22
23
|
m as Cursor,
|
|
23
24
|
b as Deflist,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
Ds as DeflistAttr,
|
|
26
|
+
qs as DeflistNode,
|
|
27
|
+
vs as DeflistSpecs,
|
|
27
28
|
p as EditorModeKeymap,
|
|
28
29
|
g as FoldingHeading,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
u as GapCursorSelection,
|
|
31
|
+
S as Heading,
|
|
32
|
+
Ps as HeadingSpecs,
|
|
32
33
|
N as History,
|
|
33
34
|
T as HistoryAction,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
B as HorizontalRule,
|
|
36
|
+
Qs as HorizontalRuleSpecs,
|
|
37
|
+
M as Html,
|
|
37
38
|
f as HtmlAttr,
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
C as HtmlNode,
|
|
40
|
+
h as Image,
|
|
40
41
|
H as ImageAttr,
|
|
41
42
|
z as Italic,
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
Es as ItalicAttrs,
|
|
44
|
+
Fs as ItalicSpecs,
|
|
44
45
|
L as Link,
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
Os as LinkAttr,
|
|
47
|
+
Ys as LinkSpecs,
|
|
47
48
|
y as Lists,
|
|
48
49
|
A as Mark,
|
|
49
50
|
I as Math,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
x as MathNode,
|
|
52
|
+
R as Mermaid,
|
|
53
|
+
w as Placeholder,
|
|
54
|
+
D as QuoteLink,
|
|
55
|
+
q as Resizable,
|
|
55
56
|
v as Selection,
|
|
56
57
|
P as SelectionContext,
|
|
57
58
|
Q as Strike,
|
|
58
59
|
E as Subscript,
|
|
59
60
|
F as Table,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
Us as TableAttrs,
|
|
62
|
+
Gs as TableCellAlign,
|
|
63
|
+
Ks as TableNode,
|
|
64
|
+
Vs as TableSpecs,
|
|
64
65
|
O as Underline,
|
|
65
66
|
Y as YfmHtmlBlock,
|
|
66
67
|
U as addBreak,
|
|
@@ -72,30 +73,33 @@ export {
|
|
|
72
73
|
W as addParagraphToStart,
|
|
73
74
|
X as addTableColumn,
|
|
74
75
|
Z as addTableRow,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
76
|
+
us as backgroundColorMarkSpec,
|
|
77
|
+
Ss as backgroundColorTokenSpec,
|
|
78
|
+
js as blockquoteNodeName,
|
|
79
|
+
Js as blockquoteNodeSpec,
|
|
80
|
+
Ws as blockquoteTokenSpec,
|
|
81
|
+
Xs as boldMarkName,
|
|
82
|
+
Zs as boldMarkSpec,
|
|
83
|
+
_s as boldTokenSpec,
|
|
84
|
+
$s as breakTokenSpecs,
|
|
85
|
+
ao as codeBlockNodeName,
|
|
86
|
+
eo as codeBlockNodeSpec,
|
|
87
|
+
so as codeBlockTokenSpecs,
|
|
88
|
+
oo as codeMarkName,
|
|
89
|
+
to as codeMarkSpec,
|
|
90
|
+
ro as codeTokenSpec,
|
|
91
|
+
Ns as configureBackgroundColorMarkdown,
|
|
88
92
|
_ as configureImageMarkdown,
|
|
89
|
-
|
|
93
|
+
lo as configureLinkMarkdown,
|
|
90
94
|
$ as configureMathMarkdown,
|
|
91
95
|
aa as configureMermaidMarkdown,
|
|
92
96
|
ea as configureQuoteLinkMarkdown,
|
|
93
97
|
sa as configureYfmHtmlBlockMarkdown,
|
|
94
98
|
oa as createGapCursorPlugin,
|
|
95
99
|
ta as createHistoryActions,
|
|
96
|
-
|
|
100
|
+
ra as createLatexPastePlugin,
|
|
97
101
|
la as createListActions,
|
|
98
|
-
|
|
102
|
+
ia as createMarkdownMarkInputRule,
|
|
99
103
|
na as createMathInlineInputRule,
|
|
100
104
|
ca as createMathNodeSpecs,
|
|
101
105
|
da as createMermaidNodeSpec,
|
|
@@ -104,40 +108,41 @@ export {
|
|
|
104
108
|
ba as defaultMathLatex,
|
|
105
109
|
pa as defaultMermaidSource,
|
|
106
110
|
ga as defaultYfmHtml,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
111
|
+
io as deflistNodeSpecs,
|
|
112
|
+
no as deflistSerializerNodes,
|
|
113
|
+
co as deflistTokenSpecs,
|
|
114
|
+
ua as deleteTable,
|
|
115
|
+
Sa as deleteTableColumn,
|
|
112
116
|
Na as deleteTableRow,
|
|
113
117
|
Ta as getBlockquoteType,
|
|
114
|
-
|
|
115
|
-
|
|
118
|
+
Ba as getBoldType,
|
|
119
|
+
Ma as getCodeBlockType,
|
|
116
120
|
fa as getCodeType,
|
|
117
|
-
|
|
118
|
-
|
|
121
|
+
Ca as getCurrentLink,
|
|
122
|
+
ha as getDeflistTypes,
|
|
119
123
|
Ha as getHeadingType,
|
|
120
124
|
za as getHorizontalRuleType,
|
|
121
125
|
La as getImageType,
|
|
122
126
|
ya as getItalicType,
|
|
123
127
|
Aa as getLinkType,
|
|
124
128
|
Ia as getMarkType,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
129
|
+
xa as getMathNodeType,
|
|
130
|
+
Ra as getQuoteLinkType,
|
|
131
|
+
wa as getStrikeType,
|
|
132
|
+
Da as getSubscriptType,
|
|
133
|
+
Ts as getTextBackgroundColorCssValue,
|
|
134
|
+
qa as getUnderlineType,
|
|
130
135
|
va as goToTableCell,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
ko as hardBreakNodeSpec,
|
|
137
|
+
mo as headingLevelAttr,
|
|
138
|
+
bo as headingLineNumberAttr,
|
|
139
|
+
po as headingNodeName,
|
|
140
|
+
go as headingNodeSpec,
|
|
141
|
+
uo as headingTokenSpec,
|
|
142
|
+
So as horizontalRuleMarkupAttr,
|
|
143
|
+
No as horizontalRuleNodeName,
|
|
144
|
+
To as horizontalRuleNodeSpec,
|
|
145
|
+
Bo as horizontalRuleTokenSpec,
|
|
141
146
|
Pa as htmlNodeSpecs,
|
|
142
147
|
Qa as htmlSerializerNodes,
|
|
143
148
|
Ea as htmlTokenSpecs,
|
|
@@ -154,21 +159,22 @@ export {
|
|
|
154
159
|
Xa as isGapCursorSelection,
|
|
155
160
|
Za as isInsideCode,
|
|
156
161
|
_a as isLatexMode,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
162
|
+
Bs as isTextBackgroundColorName,
|
|
163
|
+
Mo as italicMarkName,
|
|
164
|
+
fo as italicMarkSpec,
|
|
165
|
+
Co as italicTokenSpec,
|
|
160
166
|
$a as liftFromQuote,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
167
|
+
ho as linkMarkName,
|
|
168
|
+
Ho as linkMarkSpec,
|
|
169
|
+
zo as linkTokenSpec,
|
|
164
170
|
ae as markMarkName,
|
|
165
171
|
ee as markMarkSpec,
|
|
166
172
|
se as markTokenSpec,
|
|
167
173
|
oe as mathBlockActionName,
|
|
168
174
|
te as mathInlineActionName,
|
|
169
|
-
|
|
175
|
+
re as mathNodeSpecs,
|
|
170
176
|
le as mathSerializerNodes,
|
|
171
|
-
|
|
177
|
+
ie as mathTokenSpecs,
|
|
172
178
|
ne as mermaidActionName,
|
|
173
179
|
ce as mermaidNodeName,
|
|
174
180
|
de as mermaidNodeSpec,
|
|
@@ -177,42 +183,42 @@ export {
|
|
|
177
183
|
be as moveCursorRightOfMathInline,
|
|
178
184
|
pe as moveToNextTableRow,
|
|
179
185
|
ge as newlineInCode,
|
|
180
|
-
|
|
181
|
-
|
|
186
|
+
ue as openHeadingAndCreateParagraphAfter,
|
|
187
|
+
Se as parseLatexFormulas,
|
|
182
188
|
Ne as quoteLinkActionName,
|
|
183
189
|
Te as quoteLinkNodeName,
|
|
184
|
-
|
|
185
|
-
|
|
190
|
+
Be as quoteLinkNodeSpec,
|
|
191
|
+
Me as quoteLinkTokenSpec,
|
|
186
192
|
fe as removeCurrentLink,
|
|
187
|
-
|
|
188
|
-
|
|
193
|
+
Ce as removeFoldingAtHeadingStart,
|
|
194
|
+
he as removeLink,
|
|
189
195
|
He as resetCodeBlock,
|
|
190
196
|
ze as resetHeading,
|
|
191
197
|
Le as selectMathInlineBeforeCursor,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
198
|
+
Lo as serializeBlockquote,
|
|
199
|
+
yo as serializeBold,
|
|
200
|
+
Ao as serializeCode,
|
|
201
|
+
Io as serializeCodeBlock,
|
|
202
|
+
xo as serializeHardBreak,
|
|
203
|
+
Ro as serializeHeading,
|
|
204
|
+
wo as serializeHorizontalRule,
|
|
199
205
|
ye as serializeImage,
|
|
200
|
-
|
|
201
|
-
|
|
206
|
+
Do as serializeItalic,
|
|
207
|
+
qo as serializeLink,
|
|
202
208
|
Ae as serializeMark,
|
|
203
209
|
Ie as serializeMermaid,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
+
xe as serializeQuoteLink,
|
|
211
|
+
vo as serializeSoftBreak,
|
|
212
|
+
Re as serializeStrike,
|
|
213
|
+
we as serializeSubscript,
|
|
214
|
+
De as serializeUnderline,
|
|
215
|
+
qe as serializeYfmHtmlBlock,
|
|
210
216
|
ve as setCodeBlock,
|
|
211
217
|
Pe as setCodeBlockLanguage,
|
|
212
218
|
Qe as setImageDisplay,
|
|
213
219
|
Ee as setLink,
|
|
214
220
|
Fe as setTableColumnAlignment,
|
|
215
|
-
|
|
221
|
+
Po as softBreakNodeSpec,
|
|
216
222
|
Oe as splitDeflist,
|
|
217
223
|
Ye as strikeMarkName,
|
|
218
224
|
Ue as strikeMarkSpec,
|
|
@@ -220,9 +226,13 @@ export {
|
|
|
220
226
|
Ke as subscriptMarkName,
|
|
221
227
|
Ve as subscriptMarkSpec,
|
|
222
228
|
je as subscriptTokenSpec,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
229
|
+
Qo as tableNodeSpecs,
|
|
230
|
+
Eo as tableSerializerNodes,
|
|
231
|
+
Fo as tableTokenSpecs,
|
|
232
|
+
Ms as textBackgroundColorCssVariables,
|
|
233
|
+
fs as textBackgroundColorMenuNames,
|
|
234
|
+
Cs as textBackgroundColorMessageKeys,
|
|
235
|
+
hs as textBackgroundColorNames,
|
|
226
236
|
Je as toHeading,
|
|
227
237
|
We as toMathBlock,
|
|
228
238
|
Xe as toggleBold,
|
|
@@ -234,9 +244,9 @@ export {
|
|
|
234
244
|
ss as toggleQuote,
|
|
235
245
|
os as toggleQuoteLink,
|
|
236
246
|
ts as toggleStrike,
|
|
237
|
-
|
|
247
|
+
rs as toggleSubscript,
|
|
238
248
|
ls as toggleUnderline,
|
|
239
|
-
|
|
249
|
+
is as underlineMarkName,
|
|
240
250
|
ns as underlineMarkSpec,
|
|
241
251
|
cs as underlineTokenSpec,
|
|
242
252
|
ds as wrapToDeflist,
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -9,7 +9,17 @@ declare const en: {
|
|
|
9
9
|
readonly codeLanguage: "Code language";
|
|
10
10
|
readonly doubleClickToEdit: "Double-click to edit";
|
|
11
11
|
readonly color: "Text color";
|
|
12
|
+
readonly backgroundColor: "Text background";
|
|
13
|
+
readonly backgroundColorBlue: "Blue";
|
|
14
|
+
readonly backgroundColorDefault: "Default";
|
|
15
|
+
readonly backgroundColorGray: "Gray";
|
|
16
|
+
readonly backgroundColorGreen: "Green";
|
|
17
|
+
readonly backgroundColorOrange: "Orange";
|
|
18
|
+
readonly backgroundColorRed: "Red";
|
|
19
|
+
readonly backgroundColorViolet: "Violet";
|
|
20
|
+
readonly backgroundColorYellow: "Yellow";
|
|
12
21
|
readonly colorBlue: "Blue";
|
|
22
|
+
readonly colorDefault: "Default";
|
|
13
23
|
readonly colorGray: "Gray";
|
|
14
24
|
readonly colorGreen: "Green";
|
|
15
25
|
readonly colorOrange: "Orange";
|
package/dist/i18n/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,QAAA,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,QAAA,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EE,CAAC;AAmFX,MAAM,MAAM,wBAAwB,GAAG,MAAM,OAAO,EAAE,CAAC;AACvD,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,MAAM,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC,CAAC;AAExF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,MAAM,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAAc,CAAC;AAEjH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,oBAAoB,GAAG,sBAAsB,CAE9F"}
|