lakelib 0.3.3 → 0.3.5
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/README.md +30 -24
- package/dist/lake.min.css +15 -15
- package/dist/lake.min.js +22 -22
- package/dist/lake.min.js.map +1 -1
- package/lib/lake.css +267 -39
- package/lib/lake.d.ts +2148 -0
- package/lib/lake.js +1323 -759
- package/lib/lake.js.map +1 -1
- package/package.json +31 -34
- package/lib/config/element-rules.d.ts +0 -1
- package/lib/config/menu-items.d.ts +0 -9
- package/lib/config/tag-names.d.ts +0 -6
- package/lib/config/toolbar-items.d.ts +0 -2
- package/lib/css/index.d.ts +0 -17
- package/lib/editor.d.ts +0 -93
- package/lib/elements/bookmark.d.ts +0 -2
- package/lib/elements/box.d.ts +0 -2
- package/lib/i18n/en-US/index.d.ts +0 -169
- package/lib/i18n/index.d.ts +0 -2
- package/lib/i18n/ja/index.d.ts +0 -169
- package/lib/i18n/ko/index.d.ts +0 -169
- package/lib/i18n/types.d.ts +0 -1233
- package/lib/i18n/zh-CN/index.d.ts +0 -169
- package/lib/icons/index.d.ts +0 -1
- package/lib/index.d.ts +0 -35
- package/lib/managers/box-manager.d.ts +0 -6
- package/lib/managers/command.d.ts +0 -23
- package/lib/managers/history.d.ts +0 -32
- package/lib/managers/keystroke.d.ts +0 -11
- package/lib/managers/plugin.d.ts +0 -7
- package/lib/managers/selection.d.ts +0 -40
- package/lib/models/box.d.ts +0 -25
- package/lib/models/fragment.d.ts +0 -8
- package/lib/models/nodes.d.ts +0 -98
- package/lib/models/range.d.ts +0 -56
- package/lib/operations/add-mark.d.ts +0 -3
- package/lib/operations/delete-contents.d.ts +0 -2
- package/lib/operations/insert-block.d.ts +0 -3
- package/lib/operations/insert-bookmark.d.ts +0 -6
- package/lib/operations/insert-box.d.ts +0 -4
- package/lib/operations/insert-contents.d.ts +0 -4
- package/lib/operations/remove-box.d.ts +0 -3
- package/lib/operations/remove-mark.d.ts +0 -2
- package/lib/operations/set-blocks.d.ts +0 -3
- package/lib/operations/split-block.d.ts +0 -3
- package/lib/operations/split-marks.d.ts +0 -3
- package/lib/operations/to-bookmark.d.ts +0 -6
- package/lib/parsers/html-parser.d.ts +0 -13
- package/lib/parsers/text-parser.d.ts +0 -6
- package/lib/plugins/align.d.ts +0 -3
- package/lib/plugins/arrow-keys.d.ts +0 -3
- package/lib/plugins/backspace-key.d.ts +0 -3
- package/lib/plugins/block-quote.d.ts +0 -3
- package/lib/plugins/bold.d.ts +0 -3
- package/lib/plugins/code-block/code-block-box.d.ts +0 -4
- package/lib/plugins/code-block/index.d.ts +0 -5
- package/lib/plugins/code.d.ts +0 -3
- package/lib/plugins/copy.d.ts +0 -3
- package/lib/plugins/cut.d.ts +0 -3
- package/lib/plugins/delete-key.d.ts +0 -3
- package/lib/plugins/drop.d.ts +0 -3
- package/lib/plugins/emoji/emoji-box.d.ts +0 -4
- package/lib/plugins/emoji/index.d.ts +0 -5
- package/lib/plugins/enter-key.d.ts +0 -3
- package/lib/plugins/equation/equation-box.d.ts +0 -4
- package/lib/plugins/equation/index.d.ts +0 -5
- package/lib/plugins/escape-key.d.ts +0 -3
- package/lib/plugins/file/file-box.d.ts +0 -4
- package/lib/plugins/file/index.d.ts +0 -5
- package/lib/plugins/font-color.d.ts +0 -3
- package/lib/plugins/font-family.d.ts +0 -3
- package/lib/plugins/font-size.d.ts +0 -3
- package/lib/plugins/format-painter.d.ts +0 -3
- package/lib/plugins/heading.d.ts +0 -3
- package/lib/plugins/highlight.d.ts +0 -3
- package/lib/plugins/hr/hr-box.d.ts +0 -4
- package/lib/plugins/hr/index.d.ts +0 -5
- package/lib/plugins/image/image-box.d.ts +0 -5
- package/lib/plugins/image/index.d.ts +0 -5
- package/lib/plugins/indent.d.ts +0 -3
- package/lib/plugins/italic.d.ts +0 -3
- package/lib/plugins/link/index.d.ts +0 -3
- package/lib/plugins/link/insert-link.d.ts +0 -3
- package/lib/plugins/link/link-popup.d.ts +0 -32
- package/lib/plugins/list.d.ts +0 -3
- package/lib/plugins/markdown.d.ts +0 -3
- package/lib/plugins/mention/index.d.ts +0 -5
- package/lib/plugins/mention/mention-box.d.ts +0 -4
- package/lib/plugins/mention/mention-menu.d.ts +0 -15
- package/lib/plugins/mention/types.d.ts +0 -6
- package/lib/plugins/paste.d.ts +0 -3
- package/lib/plugins/redo.d.ts +0 -3
- package/lib/plugins/remove-format.d.ts +0 -3
- package/lib/plugins/select-all.d.ts +0 -3
- package/lib/plugins/shift-enter-key.d.ts +0 -3
- package/lib/plugins/slash/index.d.ts +0 -3
- package/lib/plugins/slash/slash-items.d.ts +0 -2
- package/lib/plugins/slash/slash-menu.d.ts +0 -19
- package/lib/plugins/slash/types.d.ts +0 -20
- package/lib/plugins/special-character.d.ts +0 -3
- package/lib/plugins/strikethrough.d.ts +0 -3
- package/lib/plugins/subscript.d.ts +0 -3
- package/lib/plugins/superscript.d.ts +0 -3
- package/lib/plugins/tab-key.d.ts +0 -3
- package/lib/plugins/table/delete-column.d.ts +0 -2
- package/lib/plugins/table/delete-row.d.ts +0 -2
- package/lib/plugins/table/delete-table.d.ts +0 -2
- package/lib/plugins/table/index.d.ts +0 -4
- package/lib/plugins/table/insert-column.d.ts +0 -4
- package/lib/plugins/table/insert-row.d.ts +0 -4
- package/lib/plugins/table/insert-table.d.ts +0 -3
- package/lib/plugins/table/merge-cells.d.ts +0 -3
- package/lib/plugins/table/split-cell.d.ts +0 -3
- package/lib/plugins/table/utils.d.ts +0 -6
- package/lib/plugins/underline.d.ts +0 -3
- package/lib/plugins/undo.d.ts +0 -3
- package/lib/plugins/unlink.d.ts +0 -3
- package/lib/plugins/video/index.d.ts +0 -5
- package/lib/plugins/video/video-box.d.ts +0 -4
- package/lib/storage/box-instances.d.ts +0 -2
- package/lib/storage/boxes.d.ts +0 -2
- package/lib/storage/editors.d.ts +0 -2
- package/lib/types/box.d.ts +0 -15
- package/lib/types/corner-toolbar.d.ts +0 -7
- package/lib/types/dropdown.d.ts +0 -23
- package/lib/types/native.d.ts +0 -2
- package/lib/types/node.d.ts +0 -13
- package/lib/types/object.d.ts +0 -3
- package/lib/types/plugin.d.ts +0 -3
- package/lib/types/request.d.ts +0 -20
- package/lib/types/selection.d.ts +0 -14
- package/lib/types/toolbar.d.ts +0 -29
- package/lib/ui/button.d.ts +0 -19
- package/lib/ui/corner-toolbar.d.ts +0 -18
- package/lib/ui/dropdown.d.ts +0 -36
- package/lib/ui/floating-toolbar.d.ts +0 -16
- package/lib/ui/menu.d.ts +0 -33
- package/lib/ui/resizer.d.ts +0 -17
- package/lib/ui/toolbar.d.ts +0 -29
- package/lib/utils/append-break.d.ts +0 -2
- package/lib/utils/camel-case.d.ts +0 -1
- package/lib/utils/change-tag-name.d.ts +0 -2
- package/lib/utils/debug.d.ts +0 -1
- package/lib/utils/denormalize-value.d.ts +0 -1
- package/lib/utils/encode.d.ts +0 -1
- package/lib/utils/file-size.d.ts +0 -1
- package/lib/utils/fix-numbered-list.d.ts +0 -2
- package/lib/utils/from-base64.d.ts +0 -1
- package/lib/utils/get-box.d.ts +0 -3
- package/lib/utils/get-css.d.ts +0 -1
- package/lib/utils/get-deep-element.d.ts +0 -2
- package/lib/utils/in-string.d.ts +0 -1
- package/lib/utils/indent-block.d.ts +0 -2
- package/lib/utils/merge-nodes.d.ts +0 -5
- package/lib/utils/modifier-text.d.ts +0 -1
- package/lib/utils/morph.d.ts +0 -56
- package/lib/utils/normalize-value.d.ts +0 -1
- package/lib/utils/parse-style.d.ts +0 -2
- package/lib/utils/query.d.ts +0 -2
- package/lib/utils/remove-break.d.ts +0 -2
- package/lib/utils/remove-empty-marks.d.ts +0 -2
- package/lib/utils/remove-zws.d.ts +0 -2
- package/lib/utils/request.d.ts +0 -27
- package/lib/utils/scroll-to-node.d.ts +0 -2
- package/lib/utils/split-nodes.d.ts +0 -5
- package/lib/utils/template.d.ts +0 -1
- package/lib/utils/to-base64.d.ts +0 -1
- package/lib/utils/to-hex.d.ts +0 -1
- package/lib/utils/to-node-list.d.ts +0 -1
- package/lib/utils/unsafe-template.d.ts +0 -1
- package/lib/utils/upload-file.d.ts +0 -11
- package/lib/utils/visible-info.d.ts +0 -10
- package/lib/utils/wrap-node-list.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,32 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lakelib",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "Lake is a browser-based rich text editor
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
"wysiwyg",
|
|
8
|
-
"editor"
|
|
9
|
-
],
|
|
3
|
+
"version": "0.3.5",
|
|
4
|
+
"description": "Lake is a browser-based rich text editor built for modern applications that require content creation like blog posts, user comments, and email composition.",
|
|
5
|
+
"author": "Luo Longhao <luolonghao@gmail.com>",
|
|
6
|
+
"license": "MIT",
|
|
10
7
|
"homepage": "http://lakejs.org",
|
|
11
|
-
"bugs": {
|
|
12
|
-
"url": "https://github.com/lakejs/lake/issues"
|
|
13
|
-
},
|
|
14
8
|
"repository": {
|
|
15
9
|
"type": "git",
|
|
16
10
|
"url": "git+https://github.com/lakejs/lake.git"
|
|
17
11
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/lakejs/lake/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"rich text",
|
|
17
|
+
"wysiwyg",
|
|
18
|
+
"editor"
|
|
19
|
+
],
|
|
20
20
|
"main": "./lib/lake.js",
|
|
21
|
-
"types": "./lib/
|
|
21
|
+
"types": "./lib/lake.d.ts",
|
|
22
22
|
"files": [
|
|
23
23
|
"dist",
|
|
24
24
|
"lib"
|
|
25
25
|
],
|
|
26
|
-
"simple-git-hooks": {
|
|
27
|
-
"pre-commit": "pnpm sort:package && pnpm lint",
|
|
28
|
-
"commit-msg": "node ./scripts/verify-commit.mjs"
|
|
29
|
-
},
|
|
30
26
|
"dependencies": {
|
|
31
27
|
"@types/is-hotkey": "^0.1.10",
|
|
32
28
|
"debounce": "^2.2.0",
|
|
@@ -37,6 +33,7 @@
|
|
|
37
33
|
"typesafe-i18n": "^5.26.2"
|
|
38
34
|
},
|
|
39
35
|
"devDependencies": {
|
|
36
|
+
"@antfu/eslint-config": "^4.2.1",
|
|
40
37
|
"@rollup/plugin-alias": "^5.1.1",
|
|
41
38
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
42
39
|
"@rollup/plugin-json": "^6.1.0",
|
|
@@ -46,46 +43,46 @@
|
|
|
46
43
|
"@types/chai": "^5.0.1",
|
|
47
44
|
"@types/mocha": "^10.0.10",
|
|
48
45
|
"@types/sinon": "^17.0.3",
|
|
49
|
-
"
|
|
50
|
-
"@typescript-eslint/parser": "^7.18.0",
|
|
51
|
-
"chai": "^5.1.2",
|
|
46
|
+
"chai": "^5.2.0",
|
|
52
47
|
"clean-css": "^5.3.3",
|
|
53
48
|
"conventional-changelog-cli": "^5.0.0",
|
|
54
|
-
"eslint": "^
|
|
55
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
56
|
-
"eslint-config-prettier": "^9.1.0",
|
|
49
|
+
"eslint": "^9.20.1",
|
|
57
50
|
"execa": "^9.5.2",
|
|
58
51
|
"express": "^4.21.2",
|
|
59
52
|
"katex": "^0.16.21",
|
|
60
|
-
"lake-codemirror": "^2.0.
|
|
53
|
+
"lake-codemirror": "^2.0.2",
|
|
61
54
|
"mocha": "^11.1.0",
|
|
62
55
|
"multer": "1.4.5-lts.1",
|
|
63
56
|
"npm-run-all2": "^7.0.2",
|
|
64
57
|
"picocolors": "^1.1.1",
|
|
65
58
|
"prompts": "^2.4.2",
|
|
66
|
-
"puppeteer": "^24.1
|
|
59
|
+
"puppeteer": "^24.2.1",
|
|
67
60
|
"rimraf": "^6.0.1",
|
|
68
|
-
"rollup": "^4.
|
|
61
|
+
"rollup": "^4.34.7",
|
|
62
|
+
"rollup-plugin-dts": "^6.1.1",
|
|
63
|
+
"rollup-plugin-ignore-import": "^1.3.2",
|
|
69
64
|
"rollup-plugin-import-css": "^3.5.8",
|
|
70
65
|
"rollup-plugin-svg-import": "^3.0.0",
|
|
71
|
-
"semver": "^7.
|
|
66
|
+
"semver": "^7.7.1",
|
|
72
67
|
"simple-git-hooks": "^2.11.1",
|
|
73
68
|
"sinon": "^19.0.2",
|
|
74
|
-
"sort-package-json": "^2.14.0",
|
|
75
69
|
"tslib": "^2.8.1",
|
|
76
|
-
"typescript": "^5.7.3"
|
|
77
|
-
|
|
70
|
+
"typescript": "^5.7.3"
|
|
71
|
+
},
|
|
72
|
+
"simple-git-hooks": {
|
|
73
|
+
"pre-commit": "pnpm lint:fix",
|
|
74
|
+
"commit-msg": "node ./scripts/verify-commit.mjs"
|
|
78
75
|
},
|
|
79
76
|
"scripts": {
|
|
80
77
|
"dev": "npm-run-all --parallel --print-label dev:express dev:rollup",
|
|
81
|
-
"dev:express": "node ./scripts/start-server.mjs",
|
|
78
|
+
"dev:express": "node ./scripts/start-server.mjs 8080",
|
|
82
79
|
"dev:rollup": "rollup --watch --config rollup.config.mjs --example --test",
|
|
83
80
|
"dev:lib": "rollup --watch --config rollup.config.mjs --es",
|
|
84
81
|
"build": "rimraf ./dist ./lib && rollup --config rollup.config.mjs --iife --es",
|
|
85
82
|
"i18n": "typesafe-i18n --no-watch",
|
|
86
|
-
"install:chrome": "npx puppeteer browsers install chrome
|
|
87
|
-
"
|
|
88
|
-
"lint": "eslint . --config .
|
|
83
|
+
"install:chrome": "npx puppeteer browsers install chrome",
|
|
84
|
+
"lint": "eslint . --config eslint.config.mjs",
|
|
85
|
+
"lint:fix": "eslint . --fix --config eslint.config.mjs",
|
|
89
86
|
"test": "node ./scripts/run-tests.mjs",
|
|
90
87
|
"test:express": "node ./scripts/start-server.mjs 8081",
|
|
91
88
|
"test:rollup": "rollup --config rollup.config.mjs --test",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getElementRules(): any;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DropdownMenuItem } from '../types/dropdown';
|
|
2
|
-
export declare const headingMenuItems: DropdownMenuItem[];
|
|
3
|
-
export declare const listMenuItems: DropdownMenuItem[];
|
|
4
|
-
export declare const alignMenuItems: DropdownMenuItem[];
|
|
5
|
-
export declare const indentMenuItems: DropdownMenuItem[];
|
|
6
|
-
export declare const fontFamilyMenuItems: DropdownMenuItem[];
|
|
7
|
-
export declare const fontSizeMenuItems: DropdownMenuItem[];
|
|
8
|
-
export declare const moreStyleMenuItems: DropdownMenuItem[];
|
|
9
|
-
export declare const colorMenuItems: DropdownMenuItem[];
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const blockTagNames: Set<string>;
|
|
2
|
-
export declare const markTagNames: Set<string>;
|
|
3
|
-
export declare const voidTagNames: Set<string>;
|
|
4
|
-
export declare const headingTagNames: Set<string>;
|
|
5
|
-
export declare const listTagNames: Set<string>;
|
|
6
|
-
export declare const tableTagNames: Set<string>;
|
package/lib/css/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import './custom-properties.css';
|
|
2
|
-
import './keyframes.css';
|
|
3
|
-
import './core.css';
|
|
4
|
-
import './mark.css';
|
|
5
|
-
import './box.css';
|
|
6
|
-
import './button.css';
|
|
7
|
-
import './dropdown.css';
|
|
8
|
-
import './popup.css';
|
|
9
|
-
import './menu.css';
|
|
10
|
-
import './resizer.css';
|
|
11
|
-
import './corner-toolbar.css';
|
|
12
|
-
import './format-painter.css';
|
|
13
|
-
import './heading.css';
|
|
14
|
-
import './list.css';
|
|
15
|
-
import './block-quote.css';
|
|
16
|
-
import './toolbar.css';
|
|
17
|
-
import './floating-toolbar.css';
|
package/lib/editor.d.ts
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import EventEmitter from 'eventemitter3';
|
|
2
|
-
import { TranslationFunctions } from './i18n/types';
|
|
3
|
-
import { Nodes } from './models/nodes';
|
|
4
|
-
import { Selection } from './managers/selection';
|
|
5
|
-
import { Command } from './managers/command';
|
|
6
|
-
import { History } from './managers/history';
|
|
7
|
-
import { Keystroke } from './managers/keystroke';
|
|
8
|
-
import { BoxManager } from './managers/box-manager';
|
|
9
|
-
import { Plugin } from './managers/plugin';
|
|
10
|
-
import { Toolbar } from './ui/toolbar';
|
|
11
|
-
type OnMessage = (type: 'success' | 'error' | 'warning', message: string) => void;
|
|
12
|
-
type Config = {
|
|
13
|
-
value: string;
|
|
14
|
-
readonly: boolean;
|
|
15
|
-
spellcheck: boolean;
|
|
16
|
-
tabIndex: number;
|
|
17
|
-
placeholder: string;
|
|
18
|
-
indentWithTab: boolean;
|
|
19
|
-
lang: string;
|
|
20
|
-
minChangeSize: number;
|
|
21
|
-
historySize: number;
|
|
22
|
-
onMessage: OnMessage;
|
|
23
|
-
[name: string]: any;
|
|
24
|
-
};
|
|
25
|
-
type EditorConfig = {
|
|
26
|
-
root: string | Node | Nodes;
|
|
27
|
-
toolbar?: Toolbar;
|
|
28
|
-
value?: string;
|
|
29
|
-
readonly?: boolean;
|
|
30
|
-
spellcheck?: boolean;
|
|
31
|
-
tabIndex?: number;
|
|
32
|
-
placeholder?: string;
|
|
33
|
-
indentWithTab?: boolean;
|
|
34
|
-
lang?: string;
|
|
35
|
-
minChangeSize?: number;
|
|
36
|
-
onMessage?: OnMessage;
|
|
37
|
-
[name: string]: any;
|
|
38
|
-
};
|
|
39
|
-
export declare class Editor {
|
|
40
|
-
private unsavedInputData;
|
|
41
|
-
private unsavedInputCount;
|
|
42
|
-
private state;
|
|
43
|
-
private unmountPluginMap;
|
|
44
|
-
private readonly containerWrapper;
|
|
45
|
-
static readonly version: string;
|
|
46
|
-
static readonly box: BoxManager;
|
|
47
|
-
static readonly plugin: Plugin;
|
|
48
|
-
readonly root: Nodes;
|
|
49
|
-
readonly toolbar: Toolbar | undefined;
|
|
50
|
-
readonly config: Config;
|
|
51
|
-
readonly container: Nodes;
|
|
52
|
-
readonly overlayContainer: Nodes;
|
|
53
|
-
readonly event: EventEmitter;
|
|
54
|
-
readonly selection: Selection;
|
|
55
|
-
readonly command: Command;
|
|
56
|
-
readonly history: History;
|
|
57
|
-
readonly keystroke: Keystroke;
|
|
58
|
-
readonly box: BoxManager;
|
|
59
|
-
readonly readonly: boolean;
|
|
60
|
-
isComposing: boolean;
|
|
61
|
-
popup: any;
|
|
62
|
-
constructor(config: EditorConfig);
|
|
63
|
-
private copyListener;
|
|
64
|
-
private cutListener;
|
|
65
|
-
private pasteListener;
|
|
66
|
-
private selectionchangeListener;
|
|
67
|
-
private clickListener;
|
|
68
|
-
private updateSelectionRange;
|
|
69
|
-
private updateBoxSelectionStyle;
|
|
70
|
-
private emitStateChangeEvent;
|
|
71
|
-
private togglePlaceholderClass;
|
|
72
|
-
private moveBoxStripText;
|
|
73
|
-
private resetUnsavedInputData;
|
|
74
|
-
private handleInputEvent;
|
|
75
|
-
private bindInputEvents;
|
|
76
|
-
private removeBoxGarbage;
|
|
77
|
-
private bindHistoryEvents;
|
|
78
|
-
get locale(): TranslationFunctions;
|
|
79
|
-
setPluginConfig(name: string, config: {
|
|
80
|
-
[key: string]: any;
|
|
81
|
-
}): void;
|
|
82
|
-
fixContent(): boolean;
|
|
83
|
-
renderBoxes(): void;
|
|
84
|
-
scrollToCursor(): void;
|
|
85
|
-
hasFocus(): boolean;
|
|
86
|
-
focus(): void;
|
|
87
|
-
blur(): void;
|
|
88
|
-
setValue(value: string): void;
|
|
89
|
-
getValue(): string;
|
|
90
|
-
render(): void;
|
|
91
|
-
unmount(): void;
|
|
92
|
-
}
|
|
93
|
-
export {};
|
package/lib/elements/box.d.ts
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
toolbar: {
|
|
3
|
-
undo: string;
|
|
4
|
-
redo: string;
|
|
5
|
-
selectAll: string;
|
|
6
|
-
paragraph: string;
|
|
7
|
-
blockQuote: string;
|
|
8
|
-
numberedList: string;
|
|
9
|
-
bulletedList: string;
|
|
10
|
-
checklist: string;
|
|
11
|
-
alignLeft: string;
|
|
12
|
-
alignCenter: string;
|
|
13
|
-
alignRight: string;
|
|
14
|
-
alignJustify: string;
|
|
15
|
-
increaseIndent: string;
|
|
16
|
-
decreaseIndent: string;
|
|
17
|
-
bold: string;
|
|
18
|
-
italic: string;
|
|
19
|
-
underline: string;
|
|
20
|
-
strikethrough: string;
|
|
21
|
-
superscript: string;
|
|
22
|
-
subscript: string;
|
|
23
|
-
code: string;
|
|
24
|
-
removeFormat: string;
|
|
25
|
-
formatPainter: string;
|
|
26
|
-
link: string;
|
|
27
|
-
hr: string;
|
|
28
|
-
video: string;
|
|
29
|
-
codeBlock: string;
|
|
30
|
-
heading: string;
|
|
31
|
-
heading1: string;
|
|
32
|
-
heading2: string;
|
|
33
|
-
heading3: string;
|
|
34
|
-
heading4: string;
|
|
35
|
-
heading5: string;
|
|
36
|
-
heading6: string;
|
|
37
|
-
list: string;
|
|
38
|
-
table: string;
|
|
39
|
-
align: string;
|
|
40
|
-
indent: string;
|
|
41
|
-
fontFamily: string;
|
|
42
|
-
fontSize: string;
|
|
43
|
-
moreStyle: string;
|
|
44
|
-
fontColor: string;
|
|
45
|
-
highlight: string;
|
|
46
|
-
image: string;
|
|
47
|
-
file: string;
|
|
48
|
-
emoji: string;
|
|
49
|
-
equation: string;
|
|
50
|
-
removeColor: string;
|
|
51
|
-
};
|
|
52
|
-
slash: {
|
|
53
|
-
heading1: string;
|
|
54
|
-
heading1Desc: string;
|
|
55
|
-
heading2: string;
|
|
56
|
-
heading2Desc: string;
|
|
57
|
-
heading3: string;
|
|
58
|
-
heading3Desc: string;
|
|
59
|
-
heading4: string;
|
|
60
|
-
heading4Desc: string;
|
|
61
|
-
heading5: string;
|
|
62
|
-
heading5Desc: string;
|
|
63
|
-
heading6: string;
|
|
64
|
-
heading6Desc: string;
|
|
65
|
-
paragraph: string;
|
|
66
|
-
paragraphDesc: string;
|
|
67
|
-
blockQuote: string;
|
|
68
|
-
blockQuoteDesc: string;
|
|
69
|
-
numberedList: string;
|
|
70
|
-
numberedListDesc: string;
|
|
71
|
-
bulletedList: string;
|
|
72
|
-
bulletedListDesc: string;
|
|
73
|
-
checklist: string;
|
|
74
|
-
checklistDesc: string;
|
|
75
|
-
table: string;
|
|
76
|
-
tableDesc: string;
|
|
77
|
-
infoAlert: string;
|
|
78
|
-
infoAlertDesc: string;
|
|
79
|
-
tipAlert: string;
|
|
80
|
-
tipAlertDesc: string;
|
|
81
|
-
warningAlert: string;
|
|
82
|
-
warningAlertDesc: string;
|
|
83
|
-
dangerAlert: string;
|
|
84
|
-
dangerAlertDesc: string;
|
|
85
|
-
hr: string;
|
|
86
|
-
hrDesc: string;
|
|
87
|
-
codeBlock: string;
|
|
88
|
-
codeBlockDesc: string;
|
|
89
|
-
video: string;
|
|
90
|
-
videoDesc: string;
|
|
91
|
-
equation: string;
|
|
92
|
-
equationDesc: string;
|
|
93
|
-
image: string;
|
|
94
|
-
imageDesc: string;
|
|
95
|
-
file: string;
|
|
96
|
-
fileDesc: string;
|
|
97
|
-
};
|
|
98
|
-
link: {
|
|
99
|
-
newLink: string;
|
|
100
|
-
url: string;
|
|
101
|
-
title: string;
|
|
102
|
-
copy: string;
|
|
103
|
-
open: string;
|
|
104
|
-
save: string;
|
|
105
|
-
unlink: string;
|
|
106
|
-
};
|
|
107
|
-
table: {
|
|
108
|
-
fitTable: string;
|
|
109
|
-
cellBackground: string;
|
|
110
|
-
column: string;
|
|
111
|
-
insertColumnLeft: string;
|
|
112
|
-
insertColumnRight: string;
|
|
113
|
-
deleteColumn: string;
|
|
114
|
-
row: string;
|
|
115
|
-
insertRowAbove: string;
|
|
116
|
-
insertRowBelow: string;
|
|
117
|
-
deleteRow: string;
|
|
118
|
-
merge: string;
|
|
119
|
-
mergeUp: string;
|
|
120
|
-
mergeRight: string;
|
|
121
|
-
mergeDown: string;
|
|
122
|
-
mergeLeft: string;
|
|
123
|
-
split: string;
|
|
124
|
-
splitLeftRight: string;
|
|
125
|
-
splitTopBottom: string;
|
|
126
|
-
remove: string;
|
|
127
|
-
};
|
|
128
|
-
image: {
|
|
129
|
-
view: string;
|
|
130
|
-
remove: string;
|
|
131
|
-
previous: string;
|
|
132
|
-
next: string;
|
|
133
|
-
close: string;
|
|
134
|
-
loadingError: string;
|
|
135
|
-
zoomOut: string;
|
|
136
|
-
zoomIn: string;
|
|
137
|
-
align: string;
|
|
138
|
-
alignLeft: string;
|
|
139
|
-
alignCenter: string;
|
|
140
|
-
alignRight: string;
|
|
141
|
-
resize: string;
|
|
142
|
-
pageWidth: string;
|
|
143
|
-
originalWidth: string;
|
|
144
|
-
imageWidth: string;
|
|
145
|
-
open: string;
|
|
146
|
-
caption: string;
|
|
147
|
-
captionPlaceholder: string;
|
|
148
|
-
};
|
|
149
|
-
file: {
|
|
150
|
-
download: string;
|
|
151
|
-
remove: string;
|
|
152
|
-
};
|
|
153
|
-
video: {
|
|
154
|
-
embed: string;
|
|
155
|
-
remove: string;
|
|
156
|
-
description: string;
|
|
157
|
-
url: string;
|
|
158
|
-
urlError: string;
|
|
159
|
-
};
|
|
160
|
-
codeBlock: {
|
|
161
|
-
langType: string;
|
|
162
|
-
};
|
|
163
|
-
equation: {
|
|
164
|
-
save: string;
|
|
165
|
-
help: string;
|
|
166
|
-
placeholder: string;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
export default _default;
|
package/lib/i18n/index.d.ts
DELETED
package/lib/i18n/ja/index.d.ts
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
toolbar: {
|
|
3
|
-
undo: string;
|
|
4
|
-
redo: string;
|
|
5
|
-
selectAll: string;
|
|
6
|
-
paragraph: string;
|
|
7
|
-
blockQuote: string;
|
|
8
|
-
numberedList: string;
|
|
9
|
-
bulletedList: string;
|
|
10
|
-
checklist: string;
|
|
11
|
-
alignLeft: string;
|
|
12
|
-
alignCenter: string;
|
|
13
|
-
alignRight: string;
|
|
14
|
-
alignJustify: string;
|
|
15
|
-
increaseIndent: string;
|
|
16
|
-
decreaseIndent: string;
|
|
17
|
-
bold: string;
|
|
18
|
-
italic: string;
|
|
19
|
-
underline: string;
|
|
20
|
-
strikethrough: string;
|
|
21
|
-
superscript: string;
|
|
22
|
-
subscript: string;
|
|
23
|
-
code: string;
|
|
24
|
-
removeFormat: string;
|
|
25
|
-
formatPainter: string;
|
|
26
|
-
link: string;
|
|
27
|
-
hr: string;
|
|
28
|
-
video: string;
|
|
29
|
-
codeBlock: string;
|
|
30
|
-
heading: string;
|
|
31
|
-
heading1: string;
|
|
32
|
-
heading2: string;
|
|
33
|
-
heading3: string;
|
|
34
|
-
heading4: string;
|
|
35
|
-
heading5: string;
|
|
36
|
-
heading6: string;
|
|
37
|
-
list: string;
|
|
38
|
-
table: string;
|
|
39
|
-
align: string;
|
|
40
|
-
indent: string;
|
|
41
|
-
fontFamily: string;
|
|
42
|
-
fontSize: string;
|
|
43
|
-
moreStyle: string;
|
|
44
|
-
fontColor: string;
|
|
45
|
-
highlight: string;
|
|
46
|
-
image: string;
|
|
47
|
-
file: string;
|
|
48
|
-
emoji: string;
|
|
49
|
-
equation: string;
|
|
50
|
-
removeColor: string;
|
|
51
|
-
};
|
|
52
|
-
slash: {
|
|
53
|
-
heading1: string;
|
|
54
|
-
heading1Desc: string;
|
|
55
|
-
heading2: string;
|
|
56
|
-
heading2Desc: string;
|
|
57
|
-
heading3: string;
|
|
58
|
-
heading3Desc: string;
|
|
59
|
-
heading4: string;
|
|
60
|
-
heading4Desc: string;
|
|
61
|
-
heading5: string;
|
|
62
|
-
heading5Desc: string;
|
|
63
|
-
heading6: string;
|
|
64
|
-
heading6Desc: string;
|
|
65
|
-
paragraph: string;
|
|
66
|
-
paragraphDesc: string;
|
|
67
|
-
blockQuote: string;
|
|
68
|
-
blockQuoteDesc: string;
|
|
69
|
-
numberedList: string;
|
|
70
|
-
numberedListDesc: string;
|
|
71
|
-
bulletedList: string;
|
|
72
|
-
bulletedListDesc: string;
|
|
73
|
-
checklist: string;
|
|
74
|
-
checklistDesc: string;
|
|
75
|
-
table: string;
|
|
76
|
-
tableDesc: string;
|
|
77
|
-
infoAlert: string;
|
|
78
|
-
infoAlertDesc: string;
|
|
79
|
-
tipAlert: string;
|
|
80
|
-
tipAlertDesc: string;
|
|
81
|
-
warningAlert: string;
|
|
82
|
-
warningAlertDesc: string;
|
|
83
|
-
dangerAlert: string;
|
|
84
|
-
dangerAlertDesc: string;
|
|
85
|
-
hr: string;
|
|
86
|
-
hrDesc: string;
|
|
87
|
-
codeBlock: string;
|
|
88
|
-
codeBlockDesc: string;
|
|
89
|
-
video: string;
|
|
90
|
-
videoDesc: string;
|
|
91
|
-
equation: string;
|
|
92
|
-
equationDesc: string;
|
|
93
|
-
image: string;
|
|
94
|
-
imageDesc: string;
|
|
95
|
-
file: string;
|
|
96
|
-
fileDesc: string;
|
|
97
|
-
};
|
|
98
|
-
link: {
|
|
99
|
-
newLink: string;
|
|
100
|
-
url: string;
|
|
101
|
-
title: string;
|
|
102
|
-
copy: string;
|
|
103
|
-
open: string;
|
|
104
|
-
save: string;
|
|
105
|
-
unlink: string;
|
|
106
|
-
};
|
|
107
|
-
table: {
|
|
108
|
-
fitTable: string;
|
|
109
|
-
cellBackground: string;
|
|
110
|
-
column: string;
|
|
111
|
-
insertColumnLeft: string;
|
|
112
|
-
insertColumnRight: string;
|
|
113
|
-
deleteColumn: string;
|
|
114
|
-
row: string;
|
|
115
|
-
insertRowAbove: string;
|
|
116
|
-
insertRowBelow: string;
|
|
117
|
-
deleteRow: string;
|
|
118
|
-
merge: string;
|
|
119
|
-
mergeUp: string;
|
|
120
|
-
mergeRight: string;
|
|
121
|
-
mergeDown: string;
|
|
122
|
-
mergeLeft: string;
|
|
123
|
-
split: string;
|
|
124
|
-
splitLeftRight: string;
|
|
125
|
-
splitTopBottom: string;
|
|
126
|
-
remove: string;
|
|
127
|
-
};
|
|
128
|
-
image: {
|
|
129
|
-
view: string;
|
|
130
|
-
remove: string;
|
|
131
|
-
previous: string;
|
|
132
|
-
next: string;
|
|
133
|
-
close: string;
|
|
134
|
-
loadingError: string;
|
|
135
|
-
zoomOut: string;
|
|
136
|
-
zoomIn: string;
|
|
137
|
-
align: string;
|
|
138
|
-
alignLeft: string;
|
|
139
|
-
alignCenter: string;
|
|
140
|
-
alignRight: string;
|
|
141
|
-
resize: string;
|
|
142
|
-
pageWidth: string;
|
|
143
|
-
originalWidth: string;
|
|
144
|
-
imageWidth: "{0} 画像サイズ";
|
|
145
|
-
open: string;
|
|
146
|
-
caption: string;
|
|
147
|
-
captionPlaceholder: string;
|
|
148
|
-
};
|
|
149
|
-
file: {
|
|
150
|
-
download: string;
|
|
151
|
-
remove: string;
|
|
152
|
-
};
|
|
153
|
-
video: {
|
|
154
|
-
embed: string;
|
|
155
|
-
remove: string;
|
|
156
|
-
description: string;
|
|
157
|
-
url: string;
|
|
158
|
-
urlError: string;
|
|
159
|
-
};
|
|
160
|
-
codeBlock: {
|
|
161
|
-
langType: string;
|
|
162
|
-
};
|
|
163
|
-
equation: {
|
|
164
|
-
save: string;
|
|
165
|
-
help: string;
|
|
166
|
-
placeholder: string;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
export default _default;
|