lakelib 0.3.2 → 0.3.4

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.
Files changed (173) hide show
  1. package/README.md +28 -22
  2. package/dist/lake.min.css +1 -1
  3. package/dist/lake.min.js +22 -22
  4. package/dist/lake.min.js.map +1 -1
  5. package/lib/lake.css +4 -1
  6. package/lib/lake.d.ts +2148 -0
  7. package/lib/lake.js +1211 -605
  8. package/lib/lake.js.map +1 -1
  9. package/package.json +30 -33
  10. package/lib/config/element-rules.d.ts +0 -1
  11. package/lib/config/menu-items.d.ts +0 -9
  12. package/lib/config/tag-names.d.ts +0 -6
  13. package/lib/config/toolbar-items.d.ts +0 -2
  14. package/lib/css/index.d.ts +0 -17
  15. package/lib/editor.d.ts +0 -93
  16. package/lib/elements/bookmark.d.ts +0 -2
  17. package/lib/elements/box.d.ts +0 -2
  18. package/lib/i18n/en-US/index.d.ts +0 -169
  19. package/lib/i18n/index.d.ts +0 -2
  20. package/lib/i18n/ja/index.d.ts +0 -169
  21. package/lib/i18n/ko/index.d.ts +0 -169
  22. package/lib/i18n/types.d.ts +0 -1233
  23. package/lib/i18n/zh-CN/index.d.ts +0 -169
  24. package/lib/icons/index.d.ts +0 -1
  25. package/lib/index.d.ts +0 -35
  26. package/lib/managers/box-manager.d.ts +0 -6
  27. package/lib/managers/command.d.ts +0 -23
  28. package/lib/managers/history.d.ts +0 -32
  29. package/lib/managers/keystroke.d.ts +0 -11
  30. package/lib/managers/plugin.d.ts +0 -7
  31. package/lib/managers/selection.d.ts +0 -40
  32. package/lib/models/box.d.ts +0 -25
  33. package/lib/models/fragment.d.ts +0 -8
  34. package/lib/models/nodes.d.ts +0 -98
  35. package/lib/models/range.d.ts +0 -56
  36. package/lib/operations/add-mark.d.ts +0 -3
  37. package/lib/operations/delete-contents.d.ts +0 -2
  38. package/lib/operations/insert-block.d.ts +0 -3
  39. package/lib/operations/insert-bookmark.d.ts +0 -6
  40. package/lib/operations/insert-box.d.ts +0 -4
  41. package/lib/operations/insert-contents.d.ts +0 -4
  42. package/lib/operations/remove-box.d.ts +0 -3
  43. package/lib/operations/remove-mark.d.ts +0 -2
  44. package/lib/operations/set-blocks.d.ts +0 -3
  45. package/lib/operations/split-block.d.ts +0 -3
  46. package/lib/operations/split-marks.d.ts +0 -3
  47. package/lib/operations/to-bookmark.d.ts +0 -6
  48. package/lib/parsers/html-parser.d.ts +0 -13
  49. package/lib/parsers/text-parser.d.ts +0 -6
  50. package/lib/plugins/align.d.ts +0 -3
  51. package/lib/plugins/arrow-keys.d.ts +0 -3
  52. package/lib/plugins/backspace-key.d.ts +0 -3
  53. package/lib/plugins/block-quote.d.ts +0 -3
  54. package/lib/plugins/bold.d.ts +0 -3
  55. package/lib/plugins/code-block/code-block-box.d.ts +0 -4
  56. package/lib/plugins/code-block/index.d.ts +0 -5
  57. package/lib/plugins/code.d.ts +0 -3
  58. package/lib/plugins/copy.d.ts +0 -3
  59. package/lib/plugins/cut.d.ts +0 -3
  60. package/lib/plugins/delete-key.d.ts +0 -3
  61. package/lib/plugins/drop.d.ts +0 -3
  62. package/lib/plugins/emoji/emoji-box.d.ts +0 -4
  63. package/lib/plugins/emoji/index.d.ts +0 -5
  64. package/lib/plugins/enter-key.d.ts +0 -3
  65. package/lib/plugins/equation/equation-box.d.ts +0 -4
  66. package/lib/plugins/equation/index.d.ts +0 -5
  67. package/lib/plugins/escape-key.d.ts +0 -3
  68. package/lib/plugins/file/file-box.d.ts +0 -4
  69. package/lib/plugins/file/index.d.ts +0 -5
  70. package/lib/plugins/font-color.d.ts +0 -3
  71. package/lib/plugins/font-family.d.ts +0 -3
  72. package/lib/plugins/font-size.d.ts +0 -3
  73. package/lib/plugins/format-painter.d.ts +0 -3
  74. package/lib/plugins/heading.d.ts +0 -3
  75. package/lib/plugins/highlight.d.ts +0 -3
  76. package/lib/plugins/hr/hr-box.d.ts +0 -4
  77. package/lib/plugins/hr/index.d.ts +0 -5
  78. package/lib/plugins/image/image-box.d.ts +0 -5
  79. package/lib/plugins/image/index.d.ts +0 -5
  80. package/lib/plugins/indent.d.ts +0 -3
  81. package/lib/plugins/italic.d.ts +0 -3
  82. package/lib/plugins/link/index.d.ts +0 -3
  83. package/lib/plugins/link/insert-link.d.ts +0 -3
  84. package/lib/plugins/link/link-popup.d.ts +0 -32
  85. package/lib/plugins/list.d.ts +0 -3
  86. package/lib/plugins/markdown.d.ts +0 -3
  87. package/lib/plugins/mention/index.d.ts +0 -5
  88. package/lib/plugins/mention/mention-box.d.ts +0 -4
  89. package/lib/plugins/mention/mention-menu.d.ts +0 -15
  90. package/lib/plugins/mention/types.d.ts +0 -6
  91. package/lib/plugins/paste.d.ts +0 -3
  92. package/lib/plugins/redo.d.ts +0 -3
  93. package/lib/plugins/remove-format.d.ts +0 -3
  94. package/lib/plugins/select-all.d.ts +0 -3
  95. package/lib/plugins/shift-enter-key.d.ts +0 -3
  96. package/lib/plugins/slash/index.d.ts +0 -3
  97. package/lib/plugins/slash/slash-items.d.ts +0 -2
  98. package/lib/plugins/slash/slash-menu.d.ts +0 -19
  99. package/lib/plugins/slash/types.d.ts +0 -20
  100. package/lib/plugins/special-character.d.ts +0 -3
  101. package/lib/plugins/strikethrough.d.ts +0 -3
  102. package/lib/plugins/subscript.d.ts +0 -3
  103. package/lib/plugins/superscript.d.ts +0 -3
  104. package/lib/plugins/tab-key.d.ts +0 -3
  105. package/lib/plugins/table/delete-column.d.ts +0 -2
  106. package/lib/plugins/table/delete-row.d.ts +0 -2
  107. package/lib/plugins/table/delete-table.d.ts +0 -2
  108. package/lib/plugins/table/index.d.ts +0 -4
  109. package/lib/plugins/table/insert-column.d.ts +0 -4
  110. package/lib/plugins/table/insert-row.d.ts +0 -4
  111. package/lib/plugins/table/insert-table.d.ts +0 -3
  112. package/lib/plugins/table/merge-cells.d.ts +0 -3
  113. package/lib/plugins/table/split-cell.d.ts +0 -3
  114. package/lib/plugins/table/utils.d.ts +0 -6
  115. package/lib/plugins/underline.d.ts +0 -3
  116. package/lib/plugins/undo.d.ts +0 -3
  117. package/lib/plugins/unlink.d.ts +0 -3
  118. package/lib/plugins/video/index.d.ts +0 -5
  119. package/lib/plugins/video/video-box.d.ts +0 -4
  120. package/lib/storage/box-instances.d.ts +0 -2
  121. package/lib/storage/boxes.d.ts +0 -2
  122. package/lib/storage/editors.d.ts +0 -2
  123. package/lib/types/box.d.ts +0 -15
  124. package/lib/types/corner-toolbar.d.ts +0 -7
  125. package/lib/types/dropdown.d.ts +0 -23
  126. package/lib/types/native.d.ts +0 -2
  127. package/lib/types/node.d.ts +0 -13
  128. package/lib/types/object.d.ts +0 -3
  129. package/lib/types/plugin.d.ts +0 -3
  130. package/lib/types/request.d.ts +0 -20
  131. package/lib/types/selection.d.ts +0 -14
  132. package/lib/types/toolbar.d.ts +0 -29
  133. package/lib/ui/button.d.ts +0 -19
  134. package/lib/ui/corner-toolbar.d.ts +0 -18
  135. package/lib/ui/dropdown.d.ts +0 -36
  136. package/lib/ui/floating-toolbar.d.ts +0 -16
  137. package/lib/ui/menu.d.ts +0 -33
  138. package/lib/ui/resizer.d.ts +0 -17
  139. package/lib/ui/toolbar.d.ts +0 -29
  140. package/lib/utils/append-break.d.ts +0 -2
  141. package/lib/utils/camel-case.d.ts +0 -1
  142. package/lib/utils/change-tag-name.d.ts +0 -2
  143. package/lib/utils/debug.d.ts +0 -1
  144. package/lib/utils/denormalize-value.d.ts +0 -1
  145. package/lib/utils/encode.d.ts +0 -1
  146. package/lib/utils/file-size.d.ts +0 -1
  147. package/lib/utils/fix-numbered-list.d.ts +0 -2
  148. package/lib/utils/from-base64.d.ts +0 -1
  149. package/lib/utils/get-box.d.ts +0 -3
  150. package/lib/utils/get-css.d.ts +0 -1
  151. package/lib/utils/get-deep-element.d.ts +0 -2
  152. package/lib/utils/in-string.d.ts +0 -1
  153. package/lib/utils/indent-block.d.ts +0 -2
  154. package/lib/utils/merge-nodes.d.ts +0 -5
  155. package/lib/utils/modifier-text.d.ts +0 -1
  156. package/lib/utils/morph.d.ts +0 -56
  157. package/lib/utils/normalize-value.d.ts +0 -1
  158. package/lib/utils/parse-style.d.ts +0 -2
  159. package/lib/utils/query.d.ts +0 -2
  160. package/lib/utils/remove-break.d.ts +0 -2
  161. package/lib/utils/remove-empty-marks.d.ts +0 -2
  162. package/lib/utils/remove-zws.d.ts +0 -2
  163. package/lib/utils/request.d.ts +0 -27
  164. package/lib/utils/scroll-to-node.d.ts +0 -2
  165. package/lib/utils/split-nodes.d.ts +0 -5
  166. package/lib/utils/template.d.ts +0 -1
  167. package/lib/utils/to-base64.d.ts +0 -1
  168. package/lib/utils/to-hex.d.ts +0 -1
  169. package/lib/utils/to-node-list.d.ts +0 -1
  170. package/lib/utils/unsafe-template.d.ts +0 -1
  171. package/lib/utils/upload-file.d.ts +0 -11
  172. package/lib/utils/visible-info.d.ts +0 -10
  173. 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.2",
4
- "description": "Lake is a browser-based rich text editor designed for creating content like blogs, comments, and emails.",
5
- "keywords": [
6
- "rich text",
7
- "wysiwyg",
8
- "editor"
9
- ],
3
+ "version": "0.3.4",
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
- "license": "MIT",
19
- "author": "Luo Longhao <luolonghao@gmail.com>",
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/index.d.ts",
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.0",
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
- "@typescript-eslint/eslint-plugin": "^7.18.0",
50
- "@typescript-eslint/parser": "^7.18.0",
51
46
  "chai": "^5.1.2",
52
47
  "clean-css": "^5.3.3",
53
48
  "conventional-changelog-cli": "^5.0.0",
54
- "eslint": "^8.57.1",
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.1",
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.0",
59
+ "puppeteer": "^24.2.0",
67
60
  "rimraf": "^6.0.1",
68
- "rollup": "^4.31.0",
61
+ "rollup": "^4.34.6",
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.6.3",
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
- "wait-on": "^8.0.2"
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-headless-shell",
87
- "sort:package": "sort-package-json",
88
- "lint": "eslint . --config .eslintrc.cjs --ext \".ts,.js,.cjs,.mjs\"",
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>;
@@ -1,2 +0,0 @@
1
- import { ToolbarItem } from '../types/toolbar';
2
- export declare const toolbarItems: ToolbarItem[];
@@ -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 {};
@@ -1,2 +0,0 @@
1
- declare class BookmarkElement extends HTMLElement {
2
- }
@@ -1,2 +0,0 @@
1
- declare class BoxElement extends HTMLElement {
2
- }
@@ -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;
@@ -1,2 +0,0 @@
1
- import type { Locales, TranslationFunctions } from './types';
2
- export declare const i18nObject: (locale: Locales) => TranslationFunctions;
@@ -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;