├── .bunfig.toml ├── .changelogrc.js ├── .commitlintrc.js ├── .cursor └── rules │ ├── coding-standards.mdc │ ├── debug-logging.mdc │ ├── documentation-standards.mdc │ ├── environment-setup.mdc │ ├── hotkey-standards.mdc │ ├── plugin-development.mdc │ ├── project-structure.mdc │ └── react-development.mdc ├── .dumirc.ts ├── .env.example ├── .eslintignore ├── .eslintrc.js ├── .fatherrc.ts ├── .github ├── ISSUE_TEMPLATE │ ├── 1_bug_report.yml │ ├── 2_feature_request.yml │ ├── 3_question.yml │ └── 4_other.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── issue-auto-comments.yml │ ├── issue-check-inactive.yml │ ├── issue-close-require.yml │ ├── pkg.pr.new.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .npmrc ├── .prettierignore ├── .prettierrc.js ├── .releaserc.js ├── .remarkrc.js ├── .stylelintrc.js ├── CHANGELOG.md ├── LICENSE ├── README.md ├── clean-package.config.js ├── docs ├── changelog.md ├── index.md └── index.tsx ├── nodeserver ├── package.json ├── pnpm-lock.yaml └── server.js ├── package.json ├── public └── robots.txt ├── renovate.json ├── scripts ├── build.ts ├── clean.ts └── patch-lexical-package-json.js ├── src ├── common │ ├── __tests__ │ │ └── sys.test.ts │ ├── canUseDOM.ts │ └── sys.ts ├── const │ └── hotkey.ts ├── editor-kernel │ ├── __tests__ │ │ ├── basic-kernel.test.ts │ │ ├── data-source.test.ts │ │ ├── decorator-registration.test.ts │ │ ├── event.test.ts │ │ ├── node.test.ts │ │ ├── plugin.test.ts │ │ └── utils.test.ts │ ├── data-source.ts │ ├── event.ts │ ├── index.ts │ ├── inode │ │ ├── helper.ts │ │ ├── i-element-node.ts │ │ ├── i-node.ts │ │ ├── index.ts │ │ ├── paragraph-node.ts │ │ ├── root-node.ts │ │ └── text-node.ts │ ├── kernel.ts │ ├── plugin.ts │ ├── react │ │ ├── LexicalErrorBoundary.tsx │ │ ├── PortalAnchor.tsx │ │ ├── index.ts │ │ ├── react-context.ts │ │ ├── react-editor.tsx │ │ ├── useAnchor.ts │ │ ├── useDecorators.tsx │ │ ├── useEditable.ts │ │ ├── useLexicalEditor.ts │ │ ├── useLexicalNodeSelection.ts │ │ └── useTranslation.ts │ ├── types.ts │ └── utils.ts ├── index.ts ├── locale │ └── index.ts ├── plugins │ ├── __tests__ │ │ └── basic-plugin.test.ts │ ├── auto-complete │ │ ├── index.ts │ │ ├── node │ │ │ └── placeholderNode.ts │ │ ├── plugin │ │ │ └── index.ts │ │ └── react │ │ │ ├── ReactAutoCompletePlugin.tsx │ │ │ ├── index.ts │ │ │ ├── style.ts │ │ │ └── type.ts │ ├── code │ │ ├── command │ │ │ └── index.ts │ │ ├── demos │ │ │ ├── data.json │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── node │ │ │ └── code.ts │ │ ├── plugin │ │ │ ├── index.ts │ │ │ └── registry.ts │ │ └── react │ │ │ ├── CodeReactPlugin.tsx │ │ │ ├── index.tsx │ │ │ ├── style.ts │ │ │ └── type.ts │ ├── codeblock │ │ ├── command │ │ │ └── index.ts │ │ ├── demos │ │ │ ├── data.json │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── plugin │ │ │ ├── CodeHighlighterShiki.ts │ │ │ ├── FacadeShiki.ts │ │ │ ├── index.ts │ │ │ └── invariant.ts │ │ ├── react │ │ │ ├── ReactCodeblockPlugin.tsx │ │ │ ├── index.tsx │ │ │ ├── style.ts │ │ │ └── type.ts │ │ └── utils │ │ │ └── language.ts │ ├── common │ │ ├── command │ │ │ └── index.ts │ │ ├── data-source │ │ │ ├── json-data-source.ts │ │ │ └── text-data-source.ts │ │ ├── demos │ │ │ ├── data.json │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── node │ │ │ ├── ElementDOMSlot.ts │ │ │ └── cursor.ts │ │ ├── plugin │ │ │ ├── __test__ │ │ │ │ └── markdown.test.ts │ │ │ ├── index.ts │ │ │ ├── mdReader.ts │ │ │ └── register.ts │ │ ├── react │ │ │ ├── Placeholder │ │ │ │ ├── index.tsx │ │ │ │ └── style.ts │ │ │ ├── ReactEditorContent.tsx │ │ │ ├── ReactPlainText.tsx │ │ │ ├── index.ts │ │ │ ├── style.ts │ │ │ └── type.ts │ │ └── utils │ │ │ ├── __test__ │ │ │ └── utils.test.ts │ │ │ └── index.ts │ ├── file │ │ ├── command │ │ │ └── index.ts │ │ ├── demos │ │ │ ├── data.json │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── node │ │ │ └── FileNode.ts │ │ ├── plugin │ │ │ └── index.ts │ │ ├── react │ │ │ ├── ReactFilePlugin.tsx │ │ │ ├── components │ │ │ │ └── ReactFile.tsx │ │ │ ├── index.ts │ │ │ ├── style.ts │ │ │ └── type.ts │ │ └── utils │ │ │ └── index.ts │ ├── hr │ │ ├── command │ │ │ └── index.ts │ │ ├── demos │ │ │ ├── data.json │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── node │ │ │ └── HorizontalRuleNode.ts │ │ ├── plugin │ │ │ └── index.ts │ │ └── react │ │ │ ├── ReactHRPlugin.tsx │ │ │ ├── components │ │ │ └── HRNode.tsx │ │ │ ├── index.tsx │ │ │ ├── style.ts │ │ │ └── type.ts │ ├── image │ │ ├── command │ │ │ └── index.ts │ │ ├── demos │ │ │ ├── data.json │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── node │ │ │ ├── basie-image-node.ts │ │ │ ├── block-image-node.tsx │ │ │ └── image-node.tsx │ │ ├── plugin │ │ │ └── index.ts │ │ └── react │ │ │ ├── ReactImagePlugin.tsx │ │ │ ├── components │ │ │ ├── BrokenImage.tsx │ │ │ ├── Image.tsx │ │ │ ├── LazyImage.tsx │ │ │ ├── ResizeHandle.tsx │ │ │ ├── style.ts │ │ │ └── useSupenseImage.ts │ │ │ ├── index.ts │ │ │ ├── style.ts │ │ │ └── type.ts │ ├── link-highlight │ │ ├── command │ │ │ └── index.ts │ │ ├── demos │ │ │ ├── data.json │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── node │ │ │ └── link-highlight.ts │ │ ├── plugin │ │ │ ├── index.ts │ │ │ └── registry.ts │ │ ├── react │ │ │ ├── ReactLinkHighlightPlugin.tsx │ │ │ ├── index.tsx │ │ │ ├── style.ts │ │ │ └── type.ts │ │ └── utils │ │ │ └── index.ts │ ├── link │ │ ├── command │ │ │ └── index.ts │ │ ├── demos │ │ │ ├── data.json │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── node │ │ │ └── LinkNode.ts │ │ ├── plugin │ │ │ ├── index.ts │ │ │ └── registry.ts │ │ ├── react │ │ │ ├── ReactLinkPlugin.tsx │ │ │ ├── components │ │ │ │ ├── LinkEdit.tsx │ │ │ │ └── LinkToolbar.tsx │ │ │ ├── index.tsx │ │ │ ├── style.ts │ │ │ └── type.ts │ │ ├── service │ │ │ └── i-link-service.ts │ │ └── utils │ │ │ └── index.ts │ ├── list │ │ ├── command │ │ │ └── index.ts │ │ ├── demos │ │ │ ├── data.json │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── plugin │ │ │ ├── checkList.ts │ │ │ ├── index.test.ts │ │ │ ├── index.ts │ │ │ └── registry.ts │ │ ├── react │ │ │ ├── ReactListPlugin.tsx │ │ │ ├── index.ts │ │ │ ├── style.ts │ │ │ └── type.ts │ │ └── utils │ │ │ └── index.ts │ ├── markdown │ │ ├── command │ │ │ └── index.ts │ │ ├── data-source │ │ │ ├── markdown-data-source.ts │ │ │ ├── markdown-writer-context.ts │ │ │ └── markdown │ │ │ │ ├── parse.test.ts │ │ │ │ ├── parse.ts │ │ │ │ └── supersub.ts │ │ ├── index.md │ │ ├── index.ts │ │ ├── plugin │ │ │ └── index.ts │ │ ├── react │ │ │ └── index.tsx │ │ ├── service │ │ │ ├── shortcut.ts │ │ │ └── transformers.ts │ │ └── utils │ │ │ ├── detectLanguage.ts │ │ │ ├── index.ts │ │ │ ├── logger.ts │ │ │ └── url-validator.ts │ ├── math │ │ ├── __tests__ │ │ │ └── math.test.ts │ │ ├── command │ │ │ └── index.ts │ │ ├── demos │ │ │ ├── data.json │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── node │ │ │ └── index.ts │ │ ├── plugin │ │ │ └── index.ts │ │ └── react │ │ │ ├── components │ │ │ ├── MathEditor.tsx │ │ │ ├── MathEditorContainer.tsx │ │ │ ├── MathEditorContent.tsx │ │ │ ├── MathInline.tsx │ │ │ └── Placeholder.tsx │ │ │ ├── index.tsx │ │ │ ├── style.ts │ │ │ └── type.ts │ ├── mention │ │ ├── command │ │ │ └── index.ts │ │ ├── demos │ │ │ ├── data.json │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── node │ │ │ └── MentionNode.ts │ │ ├── plugin │ │ │ ├── __tests__ │ │ │ │ └── mention.test.ts │ │ │ ├── index.ts │ │ │ └── register.ts │ │ └── react │ │ │ ├── ReactMentionPlugin.tsx │ │ │ ├── components │ │ │ └── Mention.tsx │ │ │ ├── index.ts │ │ │ ├── style.ts │ │ │ └── type.ts │ ├── slash │ │ ├── demos │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── plugin │ │ │ └── index.ts │ │ ├── react │ │ │ ├── ReactSlashOption.tsx │ │ │ ├── ReactSlashPlugin.tsx │ │ │ ├── components │ │ │ │ ├── DefaultSlashMenu.tsx │ │ │ │ └── SlashMenu.tsx │ │ │ ├── index.ts │ │ │ ├── style.ts │ │ │ ├── type.ts │ │ │ └── utils.ts │ │ ├── service │ │ │ └── i-slash-service.ts │ │ └── utils │ │ │ └── utils.ts │ ├── table │ │ ├── command │ │ │ └── index.ts │ │ ├── demos │ │ │ ├── data.json │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── node │ │ │ └── index.ts │ │ ├── plugin │ │ │ └── index.ts │ │ ├── react │ │ │ ├── TableActionMenu │ │ │ │ ├── ActionMenu.tsx │ │ │ │ ├── index.tsx │ │ │ │ ├── style.ts │ │ │ │ └── utils.ts │ │ │ ├── TableHoverActions │ │ │ │ ├── index.tsx │ │ │ │ ├── style.ts │ │ │ │ └── utils.ts │ │ │ ├── TableResize │ │ │ │ ├── index.tsx │ │ │ │ ├── style.ts │ │ │ │ └── utils.ts │ │ │ ├── hooks.ts │ │ │ ├── index.tsx │ │ │ ├── style.ts │ │ │ └── type.ts │ │ └── utils │ │ │ └── index.ts │ ├── toolbar │ │ ├── index.ts │ │ ├── react │ │ │ ├── index.tsx │ │ │ ├── style.ts │ │ │ └── type.ts │ │ └── utils │ │ │ ├── getDOMRangeRect.ts │ │ │ └── setFloatingElemPosition.ts │ └── upload │ │ ├── index.md │ │ ├── index.ts │ │ ├── plugin │ │ └── index.ts │ │ ├── service │ │ └── i-upload-service.ts │ │ └── utils │ │ └── index.ts ├── react │ ├── ChatInput │ │ ├── ChatInput.tsx │ │ ├── demos │ │ │ ├── ActionToolbar.tsx │ │ │ ├── Container.tsx │ │ │ ├── InputEditor.tsx │ │ │ ├── TypoToolbar.tsx │ │ │ ├── data.ts │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── style.ts │ │ └── type.ts │ ├── ChatInputActionBar │ │ ├── ChatInputActionBar.tsx │ │ ├── demos │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── style.ts │ │ └── type.ts │ ├── ChatInputActions │ │ ├── ChatInputActions.tsx │ │ ├── components │ │ │ ├── ActionItem.tsx │ │ │ ├── ActionRender.tsx │ │ │ ├── CollapsedActions.tsx │ │ │ └── useDisplayActionCount.ts │ │ ├── demos │ │ │ ├── Collapse.tsx │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── style.ts │ │ └── type.ts │ ├── CodeLanguageSelect │ │ ├── CodeLanguageSelect.tsx │ │ ├── demos │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── style.ts │ │ └── type.ts │ ├── Editor │ │ ├── Editor.tsx │ │ ├── demos │ │ │ ├── Container.tsx │ │ │ ├── Toolbar.tsx │ │ │ ├── actions.ts │ │ │ ├── data.json │ │ │ ├── disableMakrdownData.json │ │ │ ├── disableMarkdown.tsx │ │ │ ├── index.tsx │ │ │ └── useToolbarItems.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── type.ts │ │ └── utils.ts │ ├── EditorProvider │ │ ├── demos │ │ │ └── index.tsx │ │ ├── index.md │ │ └── index.tsx │ ├── FloatActions │ │ ├── FloatActions.tsx │ │ ├── components │ │ │ ├── ActionItem.tsx │ │ │ ├── ActionRender.tsx │ │ │ └── CollapsedActions.tsx │ │ ├── demos │ │ │ ├── Collapse.tsx │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── style.ts │ │ └── type.ts │ ├── FloatMenu │ │ ├── FloatMenu.tsx │ │ ├── index.ts │ │ ├── style.ts │ │ └── type.ts │ ├── SendButton │ │ ├── SendButton.tsx │ │ ├── components │ │ │ ├── SendIcon.tsx │ │ │ └── StopIcon.tsx │ │ ├── demos │ │ │ └── index.tsx │ │ ├── index.md │ │ ├── index.ts │ │ ├── style.ts │ │ └── type.ts │ ├── SlashMenu │ │ ├── SlashMenu.tsx │ │ ├── index.ts │ │ └── type.ts │ ├── hooks │ │ ├── useEditor.ts │ │ ├── useEditorState │ │ │ ├── index.ts │ │ │ └── utils.ts │ │ └── useSize.ts │ └── index.ts ├── types │ ├── global.d.ts │ ├── hotkey.ts │ ├── index.ts │ ├── kernel.ts │ └── locale.ts └── utils │ ├── debug.ts │ ├── hotkey │ ├── isHotkeyMatch.ts │ ├── parseHotkeys.ts │ └── registerHotkey.ts │ ├── updatePosition.ts │ └── url.ts ├── tests └── .gitkeep ├── tsconfig.json └── vitest.config.ts /.bunfig.toml: -------------------------------------------------------------------------------- 1 | [install.lockfile] 2 | 3 | save = false 4 | -------------------------------------------------------------------------------- /.changelogrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('@lobehub/lint').changelog; 2 | -------------------------------------------------------------------------------- /.commitlintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.commitlintrc.js -------------------------------------------------------------------------------- /.cursor/rules/coding-standards.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.cursor/rules/coding-standards.mdc -------------------------------------------------------------------------------- /.cursor/rules/debug-logging.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.cursor/rules/debug-logging.mdc -------------------------------------------------------------------------------- /.cursor/rules/documentation-standards.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.cursor/rules/documentation-standards.mdc -------------------------------------------------------------------------------- /.cursor/rules/environment-setup.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.cursor/rules/environment-setup.mdc -------------------------------------------------------------------------------- /.cursor/rules/hotkey-standards.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.cursor/rules/hotkey-standards.mdc -------------------------------------------------------------------------------- /.cursor/rules/plugin-development.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.cursor/rules/plugin-development.mdc -------------------------------------------------------------------------------- /.cursor/rules/project-structure.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.cursor/rules/project-structure.mdc -------------------------------------------------------------------------------- /.cursor/rules/react-development.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.cursor/rules/react-development.mdc -------------------------------------------------------------------------------- /.dumirc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.dumirc.ts -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | DEBUG="lobe-editor:*" -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.fatherrc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.fatherrc.ts -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/1_bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.github/ISSUE_TEMPLATE/1_bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/2_feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.github/ISSUE_TEMPLATE/2_feature_request.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/3_question.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.github/ISSUE_TEMPLATE/3_question.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/4_other.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.github/ISSUE_TEMPLATE/4_other.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/issue-auto-comments.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.github/workflows/issue-auto-comments.yml -------------------------------------------------------------------------------- /.github/workflows/issue-check-inactive.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.github/workflows/issue-check-inactive.yml -------------------------------------------------------------------------------- /.github/workflows/issue-close-require.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.github/workflows/issue-close-require.yml -------------------------------------------------------------------------------- /.github/workflows/pkg.pr.new.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.github/workflows/pkg.pr.new.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('@lobehub/lint').prettier; 2 | -------------------------------------------------------------------------------- /.releaserc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('@lobehub/lint').semanticRelease; 2 | -------------------------------------------------------------------------------- /.remarkrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.remarkrc.js -------------------------------------------------------------------------------- /.stylelintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/.stylelintrc.js -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/README.md -------------------------------------------------------------------------------- /clean-package.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/clean-package.config.js -------------------------------------------------------------------------------- /docs/changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/docs/changelog.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/docs/index.tsx -------------------------------------------------------------------------------- /nodeserver/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/nodeserver/package.json -------------------------------------------------------------------------------- /nodeserver/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/nodeserver/pnpm-lock.yaml -------------------------------------------------------------------------------- /nodeserver/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/nodeserver/server.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/package.json -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/public/robots.txt -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/renovate.json -------------------------------------------------------------------------------- /scripts/build.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/scripts/build.ts -------------------------------------------------------------------------------- /scripts/clean.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/scripts/clean.ts -------------------------------------------------------------------------------- /scripts/patch-lexical-package-json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/scripts/patch-lexical-package-json.js -------------------------------------------------------------------------------- /src/common/__tests__/sys.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/common/__tests__/sys.test.ts -------------------------------------------------------------------------------- /src/common/canUseDOM.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/common/canUseDOM.ts -------------------------------------------------------------------------------- /src/common/sys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/common/sys.ts -------------------------------------------------------------------------------- /src/const/hotkey.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/const/hotkey.ts -------------------------------------------------------------------------------- /src/editor-kernel/__tests__/basic-kernel.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/__tests__/basic-kernel.test.ts -------------------------------------------------------------------------------- /src/editor-kernel/__tests__/data-source.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/__tests__/data-source.test.ts -------------------------------------------------------------------------------- /src/editor-kernel/__tests__/decorator-registration.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/__tests__/decorator-registration.test.ts -------------------------------------------------------------------------------- /src/editor-kernel/__tests__/event.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/__tests__/event.test.ts -------------------------------------------------------------------------------- /src/editor-kernel/__tests__/node.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/__tests__/node.test.ts -------------------------------------------------------------------------------- /src/editor-kernel/__tests__/plugin.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/__tests__/plugin.test.ts -------------------------------------------------------------------------------- /src/editor-kernel/__tests__/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/__tests__/utils.test.ts -------------------------------------------------------------------------------- /src/editor-kernel/data-source.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/data-source.ts -------------------------------------------------------------------------------- /src/editor-kernel/event.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/event.ts -------------------------------------------------------------------------------- /src/editor-kernel/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/index.ts -------------------------------------------------------------------------------- /src/editor-kernel/inode/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/inode/helper.ts -------------------------------------------------------------------------------- /src/editor-kernel/inode/i-element-node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/inode/i-element-node.ts -------------------------------------------------------------------------------- /src/editor-kernel/inode/i-node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/inode/i-node.ts -------------------------------------------------------------------------------- /src/editor-kernel/inode/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/inode/index.ts -------------------------------------------------------------------------------- /src/editor-kernel/inode/paragraph-node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/inode/paragraph-node.ts -------------------------------------------------------------------------------- /src/editor-kernel/inode/root-node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/inode/root-node.ts -------------------------------------------------------------------------------- /src/editor-kernel/inode/text-node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/inode/text-node.ts -------------------------------------------------------------------------------- /src/editor-kernel/kernel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/kernel.ts -------------------------------------------------------------------------------- /src/editor-kernel/plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/plugin.ts -------------------------------------------------------------------------------- /src/editor-kernel/react/LexicalErrorBoundary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/react/LexicalErrorBoundary.tsx -------------------------------------------------------------------------------- /src/editor-kernel/react/PortalAnchor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/react/PortalAnchor.tsx -------------------------------------------------------------------------------- /src/editor-kernel/react/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/react/index.ts -------------------------------------------------------------------------------- /src/editor-kernel/react/react-context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/react/react-context.ts -------------------------------------------------------------------------------- /src/editor-kernel/react/react-editor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/react/react-editor.tsx -------------------------------------------------------------------------------- /src/editor-kernel/react/useAnchor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/react/useAnchor.ts -------------------------------------------------------------------------------- /src/editor-kernel/react/useDecorators.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/react/useDecorators.tsx -------------------------------------------------------------------------------- /src/editor-kernel/react/useEditable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/react/useEditable.ts -------------------------------------------------------------------------------- /src/editor-kernel/react/useLexicalEditor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/react/useLexicalEditor.ts -------------------------------------------------------------------------------- /src/editor-kernel/react/useLexicalNodeSelection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/react/useLexicalNodeSelection.ts -------------------------------------------------------------------------------- /src/editor-kernel/react/useTranslation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/react/useTranslation.ts -------------------------------------------------------------------------------- /src/editor-kernel/types.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/editor-kernel/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/editor-kernel/utils.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/locale/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/locale/index.ts -------------------------------------------------------------------------------- /src/plugins/__tests__/basic-plugin.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/__tests__/basic-plugin.test.ts -------------------------------------------------------------------------------- /src/plugins/auto-complete/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/auto-complete/index.ts -------------------------------------------------------------------------------- /src/plugins/auto-complete/node/placeholderNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/auto-complete/node/placeholderNode.ts -------------------------------------------------------------------------------- /src/plugins/auto-complete/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/auto-complete/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/auto-complete/react/ReactAutoCompletePlugin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/auto-complete/react/ReactAutoCompletePlugin.tsx -------------------------------------------------------------------------------- /src/plugins/auto-complete/react/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/auto-complete/react/index.ts -------------------------------------------------------------------------------- /src/plugins/auto-complete/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/auto-complete/react/style.ts -------------------------------------------------------------------------------- /src/plugins/auto-complete/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/auto-complete/react/type.ts -------------------------------------------------------------------------------- /src/plugins/code/command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/code/command/index.ts -------------------------------------------------------------------------------- /src/plugins/code/demos/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/code/demos/data.json -------------------------------------------------------------------------------- /src/plugins/code/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/code/demos/index.tsx -------------------------------------------------------------------------------- /src/plugins/code/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/code/index.md -------------------------------------------------------------------------------- /src/plugins/code/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/code/index.ts -------------------------------------------------------------------------------- /src/plugins/code/node/code.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/code/node/code.ts -------------------------------------------------------------------------------- /src/plugins/code/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/code/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/code/plugin/registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/code/plugin/registry.ts -------------------------------------------------------------------------------- /src/plugins/code/react/CodeReactPlugin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/code/react/CodeReactPlugin.tsx -------------------------------------------------------------------------------- /src/plugins/code/react/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/code/react/index.tsx -------------------------------------------------------------------------------- /src/plugins/code/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/code/react/style.ts -------------------------------------------------------------------------------- /src/plugins/code/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/code/react/type.ts -------------------------------------------------------------------------------- /src/plugins/codeblock/command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/command/index.ts -------------------------------------------------------------------------------- /src/plugins/codeblock/demos/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/demos/data.json -------------------------------------------------------------------------------- /src/plugins/codeblock/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/demos/index.tsx -------------------------------------------------------------------------------- /src/plugins/codeblock/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/index.md -------------------------------------------------------------------------------- /src/plugins/codeblock/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/index.ts -------------------------------------------------------------------------------- /src/plugins/codeblock/plugin/CodeHighlighterShiki.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/plugin/CodeHighlighterShiki.ts -------------------------------------------------------------------------------- /src/plugins/codeblock/plugin/FacadeShiki.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/plugin/FacadeShiki.ts -------------------------------------------------------------------------------- /src/plugins/codeblock/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/codeblock/plugin/invariant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/plugin/invariant.ts -------------------------------------------------------------------------------- /src/plugins/codeblock/react/ReactCodeblockPlugin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/react/ReactCodeblockPlugin.tsx -------------------------------------------------------------------------------- /src/plugins/codeblock/react/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/react/index.tsx -------------------------------------------------------------------------------- /src/plugins/codeblock/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/react/style.ts -------------------------------------------------------------------------------- /src/plugins/codeblock/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/react/type.ts -------------------------------------------------------------------------------- /src/plugins/codeblock/utils/language.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/codeblock/utils/language.ts -------------------------------------------------------------------------------- /src/plugins/common/command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/command/index.ts -------------------------------------------------------------------------------- /src/plugins/common/data-source/json-data-source.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/data-source/json-data-source.ts -------------------------------------------------------------------------------- /src/plugins/common/data-source/text-data-source.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/data-source/text-data-source.ts -------------------------------------------------------------------------------- /src/plugins/common/demos/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/demos/data.json -------------------------------------------------------------------------------- /src/plugins/common/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/demos/index.tsx -------------------------------------------------------------------------------- /src/plugins/common/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/index.md -------------------------------------------------------------------------------- /src/plugins/common/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/index.ts -------------------------------------------------------------------------------- /src/plugins/common/node/ElementDOMSlot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/node/ElementDOMSlot.ts -------------------------------------------------------------------------------- /src/plugins/common/node/cursor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/node/cursor.ts -------------------------------------------------------------------------------- /src/plugins/common/plugin/__test__/markdown.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/plugin/__test__/markdown.test.ts -------------------------------------------------------------------------------- /src/plugins/common/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/common/plugin/mdReader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/plugin/mdReader.ts -------------------------------------------------------------------------------- /src/plugins/common/plugin/register.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/plugin/register.ts -------------------------------------------------------------------------------- /src/plugins/common/react/Placeholder/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/react/Placeholder/index.tsx -------------------------------------------------------------------------------- /src/plugins/common/react/Placeholder/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/react/Placeholder/style.ts -------------------------------------------------------------------------------- /src/plugins/common/react/ReactEditorContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/react/ReactEditorContent.tsx -------------------------------------------------------------------------------- /src/plugins/common/react/ReactPlainText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/react/ReactPlainText.tsx -------------------------------------------------------------------------------- /src/plugins/common/react/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/react/index.ts -------------------------------------------------------------------------------- /src/plugins/common/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/react/style.ts -------------------------------------------------------------------------------- /src/plugins/common/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/react/type.ts -------------------------------------------------------------------------------- /src/plugins/common/utils/__test__/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/utils/__test__/utils.test.ts -------------------------------------------------------------------------------- /src/plugins/common/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/common/utils/index.ts -------------------------------------------------------------------------------- /src/plugins/file/command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/file/command/index.ts -------------------------------------------------------------------------------- /src/plugins/file/demos/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/file/demos/data.json -------------------------------------------------------------------------------- /src/plugins/file/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/file/demos/index.tsx -------------------------------------------------------------------------------- /src/plugins/file/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/file/index.md -------------------------------------------------------------------------------- /src/plugins/file/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/file/index.ts -------------------------------------------------------------------------------- /src/plugins/file/node/FileNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/file/node/FileNode.ts -------------------------------------------------------------------------------- /src/plugins/file/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/file/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/file/react/ReactFilePlugin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/file/react/ReactFilePlugin.tsx -------------------------------------------------------------------------------- /src/plugins/file/react/components/ReactFile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/file/react/components/ReactFile.tsx -------------------------------------------------------------------------------- /src/plugins/file/react/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/file/react/index.ts -------------------------------------------------------------------------------- /src/plugins/file/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/file/react/style.ts -------------------------------------------------------------------------------- /src/plugins/file/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/file/react/type.ts -------------------------------------------------------------------------------- /src/plugins/file/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/file/utils/index.ts -------------------------------------------------------------------------------- /src/plugins/hr/command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/hr/command/index.ts -------------------------------------------------------------------------------- /src/plugins/hr/demos/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/hr/demos/data.json -------------------------------------------------------------------------------- /src/plugins/hr/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/hr/demos/index.tsx -------------------------------------------------------------------------------- /src/plugins/hr/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/hr/index.md -------------------------------------------------------------------------------- /src/plugins/hr/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/hr/index.ts -------------------------------------------------------------------------------- /src/plugins/hr/node/HorizontalRuleNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/hr/node/HorizontalRuleNode.ts -------------------------------------------------------------------------------- /src/plugins/hr/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/hr/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/hr/react/ReactHRPlugin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/hr/react/ReactHRPlugin.tsx -------------------------------------------------------------------------------- /src/plugins/hr/react/components/HRNode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/hr/react/components/HRNode.tsx -------------------------------------------------------------------------------- /src/plugins/hr/react/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/hr/react/index.tsx -------------------------------------------------------------------------------- /src/plugins/hr/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/hr/react/style.ts -------------------------------------------------------------------------------- /src/plugins/hr/react/type.ts: -------------------------------------------------------------------------------- 1 | export interface ReactHRPluginProps { 2 | className?: string; 3 | } 4 | -------------------------------------------------------------------------------- /src/plugins/image/command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/command/index.ts -------------------------------------------------------------------------------- /src/plugins/image/demos/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/demos/data.json -------------------------------------------------------------------------------- /src/plugins/image/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/demos/index.tsx -------------------------------------------------------------------------------- /src/plugins/image/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/index.md -------------------------------------------------------------------------------- /src/plugins/image/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/index.ts -------------------------------------------------------------------------------- /src/plugins/image/node/basie-image-node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/node/basie-image-node.ts -------------------------------------------------------------------------------- /src/plugins/image/node/block-image-node.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/node/block-image-node.tsx -------------------------------------------------------------------------------- /src/plugins/image/node/image-node.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/node/image-node.tsx -------------------------------------------------------------------------------- /src/plugins/image/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/image/react/ReactImagePlugin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/react/ReactImagePlugin.tsx -------------------------------------------------------------------------------- /src/plugins/image/react/components/BrokenImage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/react/components/BrokenImage.tsx -------------------------------------------------------------------------------- /src/plugins/image/react/components/Image.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/react/components/Image.tsx -------------------------------------------------------------------------------- /src/plugins/image/react/components/LazyImage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/react/components/LazyImage.tsx -------------------------------------------------------------------------------- /src/plugins/image/react/components/ResizeHandle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/react/components/ResizeHandle.tsx -------------------------------------------------------------------------------- /src/plugins/image/react/components/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/react/components/style.ts -------------------------------------------------------------------------------- /src/plugins/image/react/components/useSupenseImage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/react/components/useSupenseImage.ts -------------------------------------------------------------------------------- /src/plugins/image/react/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/react/index.ts -------------------------------------------------------------------------------- /src/plugins/image/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/react/style.ts -------------------------------------------------------------------------------- /src/plugins/image/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/image/react/type.ts -------------------------------------------------------------------------------- /src/plugins/link-highlight/command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link-highlight/command/index.ts -------------------------------------------------------------------------------- /src/plugins/link-highlight/demos/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link-highlight/demos/data.json -------------------------------------------------------------------------------- /src/plugins/link-highlight/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link-highlight/demos/index.tsx -------------------------------------------------------------------------------- /src/plugins/link-highlight/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link-highlight/index.md -------------------------------------------------------------------------------- /src/plugins/link-highlight/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link-highlight/index.ts -------------------------------------------------------------------------------- /src/plugins/link-highlight/node/link-highlight.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link-highlight/node/link-highlight.ts -------------------------------------------------------------------------------- /src/plugins/link-highlight/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link-highlight/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/link-highlight/plugin/registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link-highlight/plugin/registry.ts -------------------------------------------------------------------------------- /src/plugins/link-highlight/react/ReactLinkHighlightPlugin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link-highlight/react/ReactLinkHighlightPlugin.tsx -------------------------------------------------------------------------------- /src/plugins/link-highlight/react/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link-highlight/react/index.tsx -------------------------------------------------------------------------------- /src/plugins/link-highlight/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link-highlight/react/style.ts -------------------------------------------------------------------------------- /src/plugins/link-highlight/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link-highlight/react/type.ts -------------------------------------------------------------------------------- /src/plugins/link-highlight/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link-highlight/utils/index.ts -------------------------------------------------------------------------------- /src/plugins/link/command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/command/index.ts -------------------------------------------------------------------------------- /src/plugins/link/demos/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/demos/data.json -------------------------------------------------------------------------------- /src/plugins/link/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/demos/index.tsx -------------------------------------------------------------------------------- /src/plugins/link/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/index.md -------------------------------------------------------------------------------- /src/plugins/link/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/index.ts -------------------------------------------------------------------------------- /src/plugins/link/node/LinkNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/node/LinkNode.ts -------------------------------------------------------------------------------- /src/plugins/link/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/link/plugin/registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/plugin/registry.ts -------------------------------------------------------------------------------- /src/plugins/link/react/ReactLinkPlugin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/react/ReactLinkPlugin.tsx -------------------------------------------------------------------------------- /src/plugins/link/react/components/LinkEdit.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/react/components/LinkEdit.tsx -------------------------------------------------------------------------------- /src/plugins/link/react/components/LinkToolbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/react/components/LinkToolbar.tsx -------------------------------------------------------------------------------- /src/plugins/link/react/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/react/index.tsx -------------------------------------------------------------------------------- /src/plugins/link/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/react/style.ts -------------------------------------------------------------------------------- /src/plugins/link/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/react/type.ts -------------------------------------------------------------------------------- /src/plugins/link/service/i-link-service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/service/i-link-service.ts -------------------------------------------------------------------------------- /src/plugins/link/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/link/utils/index.ts -------------------------------------------------------------------------------- /src/plugins/list/command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/command/index.ts -------------------------------------------------------------------------------- /src/plugins/list/demos/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/demos/data.json -------------------------------------------------------------------------------- /src/plugins/list/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/demos/index.tsx -------------------------------------------------------------------------------- /src/plugins/list/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/index.md -------------------------------------------------------------------------------- /src/plugins/list/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/index.ts -------------------------------------------------------------------------------- /src/plugins/list/plugin/checkList.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/plugin/checkList.ts -------------------------------------------------------------------------------- /src/plugins/list/plugin/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/plugin/index.test.ts -------------------------------------------------------------------------------- /src/plugins/list/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/list/plugin/registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/plugin/registry.ts -------------------------------------------------------------------------------- /src/plugins/list/react/ReactListPlugin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/react/ReactListPlugin.tsx -------------------------------------------------------------------------------- /src/plugins/list/react/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/react/index.ts -------------------------------------------------------------------------------- /src/plugins/list/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/react/style.ts -------------------------------------------------------------------------------- /src/plugins/list/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/react/type.ts -------------------------------------------------------------------------------- /src/plugins/list/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/list/utils/index.ts -------------------------------------------------------------------------------- /src/plugins/markdown/command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/command/index.ts -------------------------------------------------------------------------------- /src/plugins/markdown/data-source/markdown-data-source.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/data-source/markdown-data-source.ts -------------------------------------------------------------------------------- /src/plugins/markdown/data-source/markdown-writer-context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/data-source/markdown-writer-context.ts -------------------------------------------------------------------------------- /src/plugins/markdown/data-source/markdown/parse.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/data-source/markdown/parse.test.ts -------------------------------------------------------------------------------- /src/plugins/markdown/data-source/markdown/parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/data-source/markdown/parse.ts -------------------------------------------------------------------------------- /src/plugins/markdown/data-source/markdown/supersub.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/data-source/markdown/supersub.ts -------------------------------------------------------------------------------- /src/plugins/markdown/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/index.md -------------------------------------------------------------------------------- /src/plugins/markdown/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/index.ts -------------------------------------------------------------------------------- /src/plugins/markdown/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/markdown/react/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/react/index.tsx -------------------------------------------------------------------------------- /src/plugins/markdown/service/shortcut.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/service/shortcut.ts -------------------------------------------------------------------------------- /src/plugins/markdown/service/transformers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/service/transformers.ts -------------------------------------------------------------------------------- /src/plugins/markdown/utils/detectLanguage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/utils/detectLanguage.ts -------------------------------------------------------------------------------- /src/plugins/markdown/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/utils/index.ts -------------------------------------------------------------------------------- /src/plugins/markdown/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/utils/logger.ts -------------------------------------------------------------------------------- /src/plugins/markdown/utils/url-validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/markdown/utils/url-validator.ts -------------------------------------------------------------------------------- /src/plugins/math/__tests__/math.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/__tests__/math.test.ts -------------------------------------------------------------------------------- /src/plugins/math/command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/command/index.ts -------------------------------------------------------------------------------- /src/plugins/math/demos/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/demos/data.json -------------------------------------------------------------------------------- /src/plugins/math/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/demos/index.tsx -------------------------------------------------------------------------------- /src/plugins/math/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/index.md -------------------------------------------------------------------------------- /src/plugins/math/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/index.ts -------------------------------------------------------------------------------- /src/plugins/math/node/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/node/index.ts -------------------------------------------------------------------------------- /src/plugins/math/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/math/react/components/MathEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/react/components/MathEditor.tsx -------------------------------------------------------------------------------- /src/plugins/math/react/components/MathEditorContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/react/components/MathEditorContainer.tsx -------------------------------------------------------------------------------- /src/plugins/math/react/components/MathEditorContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/react/components/MathEditorContent.tsx -------------------------------------------------------------------------------- /src/plugins/math/react/components/MathInline.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/react/components/MathInline.tsx -------------------------------------------------------------------------------- /src/plugins/math/react/components/Placeholder.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/react/components/Placeholder.tsx -------------------------------------------------------------------------------- /src/plugins/math/react/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/react/index.tsx -------------------------------------------------------------------------------- /src/plugins/math/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/react/style.ts -------------------------------------------------------------------------------- /src/plugins/math/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/math/react/type.ts -------------------------------------------------------------------------------- /src/plugins/mention/command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/command/index.ts -------------------------------------------------------------------------------- /src/plugins/mention/demos/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/demos/data.json -------------------------------------------------------------------------------- /src/plugins/mention/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/demos/index.tsx -------------------------------------------------------------------------------- /src/plugins/mention/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/index.md -------------------------------------------------------------------------------- /src/plugins/mention/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/index.ts -------------------------------------------------------------------------------- /src/plugins/mention/node/MentionNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/node/MentionNode.ts -------------------------------------------------------------------------------- /src/plugins/mention/plugin/__tests__/mention.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/plugin/__tests__/mention.test.ts -------------------------------------------------------------------------------- /src/plugins/mention/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/mention/plugin/register.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/plugin/register.ts -------------------------------------------------------------------------------- /src/plugins/mention/react/ReactMentionPlugin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/react/ReactMentionPlugin.tsx -------------------------------------------------------------------------------- /src/plugins/mention/react/components/Mention.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/react/components/Mention.tsx -------------------------------------------------------------------------------- /src/plugins/mention/react/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/react/index.ts -------------------------------------------------------------------------------- /src/plugins/mention/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/react/style.ts -------------------------------------------------------------------------------- /src/plugins/mention/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/mention/react/type.ts -------------------------------------------------------------------------------- /src/plugins/slash/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/demos/index.tsx -------------------------------------------------------------------------------- /src/plugins/slash/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/index.md -------------------------------------------------------------------------------- /src/plugins/slash/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/index.ts -------------------------------------------------------------------------------- /src/plugins/slash/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/slash/react/ReactSlashOption.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/react/ReactSlashOption.tsx -------------------------------------------------------------------------------- /src/plugins/slash/react/ReactSlashPlugin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/react/ReactSlashPlugin.tsx -------------------------------------------------------------------------------- /src/plugins/slash/react/components/DefaultSlashMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/react/components/DefaultSlashMenu.tsx -------------------------------------------------------------------------------- /src/plugins/slash/react/components/SlashMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/react/components/SlashMenu.tsx -------------------------------------------------------------------------------- /src/plugins/slash/react/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/react/index.ts -------------------------------------------------------------------------------- /src/plugins/slash/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/react/style.ts -------------------------------------------------------------------------------- /src/plugins/slash/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/react/type.ts -------------------------------------------------------------------------------- /src/plugins/slash/react/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/react/utils.ts -------------------------------------------------------------------------------- /src/plugins/slash/service/i-slash-service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/service/i-slash-service.ts -------------------------------------------------------------------------------- /src/plugins/slash/utils/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/slash/utils/utils.ts -------------------------------------------------------------------------------- /src/plugins/table/command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/command/index.ts -------------------------------------------------------------------------------- /src/plugins/table/demos/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/demos/data.json -------------------------------------------------------------------------------- /src/plugins/table/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/demos/index.tsx -------------------------------------------------------------------------------- /src/plugins/table/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/index.md -------------------------------------------------------------------------------- /src/plugins/table/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/index.ts -------------------------------------------------------------------------------- /src/plugins/table/node/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/node/index.ts -------------------------------------------------------------------------------- /src/plugins/table/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/table/react/TableActionMenu/ActionMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/TableActionMenu/ActionMenu.tsx -------------------------------------------------------------------------------- /src/plugins/table/react/TableActionMenu/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/TableActionMenu/index.tsx -------------------------------------------------------------------------------- /src/plugins/table/react/TableActionMenu/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/TableActionMenu/style.ts -------------------------------------------------------------------------------- /src/plugins/table/react/TableActionMenu/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/TableActionMenu/utils.ts -------------------------------------------------------------------------------- /src/plugins/table/react/TableHoverActions/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/TableHoverActions/index.tsx -------------------------------------------------------------------------------- /src/plugins/table/react/TableHoverActions/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/TableHoverActions/style.ts -------------------------------------------------------------------------------- /src/plugins/table/react/TableHoverActions/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/TableHoverActions/utils.ts -------------------------------------------------------------------------------- /src/plugins/table/react/TableResize/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/TableResize/index.tsx -------------------------------------------------------------------------------- /src/plugins/table/react/TableResize/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/TableResize/style.ts -------------------------------------------------------------------------------- /src/plugins/table/react/TableResize/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/TableResize/utils.ts -------------------------------------------------------------------------------- /src/plugins/table/react/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/hooks.ts -------------------------------------------------------------------------------- /src/plugins/table/react/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/index.tsx -------------------------------------------------------------------------------- /src/plugins/table/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/style.ts -------------------------------------------------------------------------------- /src/plugins/table/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/react/type.ts -------------------------------------------------------------------------------- /src/plugins/table/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/table/utils/index.ts -------------------------------------------------------------------------------- /src/plugins/toolbar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './react'; 2 | -------------------------------------------------------------------------------- /src/plugins/toolbar/react/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/toolbar/react/index.tsx -------------------------------------------------------------------------------- /src/plugins/toolbar/react/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/toolbar/react/style.ts -------------------------------------------------------------------------------- /src/plugins/toolbar/react/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/toolbar/react/type.ts -------------------------------------------------------------------------------- /src/plugins/toolbar/utils/getDOMRangeRect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/toolbar/utils/getDOMRangeRect.ts -------------------------------------------------------------------------------- /src/plugins/toolbar/utils/setFloatingElemPosition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/toolbar/utils/setFloatingElemPosition.ts -------------------------------------------------------------------------------- /src/plugins/upload/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/upload/index.md -------------------------------------------------------------------------------- /src/plugins/upload/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/upload/index.ts -------------------------------------------------------------------------------- /src/plugins/upload/plugin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/upload/plugin/index.ts -------------------------------------------------------------------------------- /src/plugins/upload/service/i-upload-service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/upload/service/i-upload-service.ts -------------------------------------------------------------------------------- /src/plugins/upload/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/plugins/upload/utils/index.ts -------------------------------------------------------------------------------- /src/react/ChatInput/ChatInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInput/ChatInput.tsx -------------------------------------------------------------------------------- /src/react/ChatInput/demos/ActionToolbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInput/demos/ActionToolbar.tsx -------------------------------------------------------------------------------- /src/react/ChatInput/demos/Container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInput/demos/Container.tsx -------------------------------------------------------------------------------- /src/react/ChatInput/demos/InputEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInput/demos/InputEditor.tsx -------------------------------------------------------------------------------- /src/react/ChatInput/demos/TypoToolbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInput/demos/TypoToolbar.tsx -------------------------------------------------------------------------------- /src/react/ChatInput/demos/data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInput/demos/data.ts -------------------------------------------------------------------------------- /src/react/ChatInput/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInput/demos/index.tsx -------------------------------------------------------------------------------- /src/react/ChatInput/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInput/index.md -------------------------------------------------------------------------------- /src/react/ChatInput/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInput/index.ts -------------------------------------------------------------------------------- /src/react/ChatInput/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInput/style.ts -------------------------------------------------------------------------------- /src/react/ChatInput/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInput/type.ts -------------------------------------------------------------------------------- /src/react/ChatInputActionBar/ChatInputActionBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActionBar/ChatInputActionBar.tsx -------------------------------------------------------------------------------- /src/react/ChatInputActionBar/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActionBar/demos/index.tsx -------------------------------------------------------------------------------- /src/react/ChatInputActionBar/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActionBar/index.md -------------------------------------------------------------------------------- /src/react/ChatInputActionBar/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActionBar/index.ts -------------------------------------------------------------------------------- /src/react/ChatInputActionBar/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActionBar/style.ts -------------------------------------------------------------------------------- /src/react/ChatInputActionBar/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActionBar/type.ts -------------------------------------------------------------------------------- /src/react/ChatInputActions/ChatInputActions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActions/ChatInputActions.tsx -------------------------------------------------------------------------------- /src/react/ChatInputActions/components/ActionItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActions/components/ActionItem.tsx -------------------------------------------------------------------------------- /src/react/ChatInputActions/components/ActionRender.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActions/components/ActionRender.tsx -------------------------------------------------------------------------------- /src/react/ChatInputActions/components/CollapsedActions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActions/components/CollapsedActions.tsx -------------------------------------------------------------------------------- /src/react/ChatInputActions/components/useDisplayActionCount.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActions/components/useDisplayActionCount.ts -------------------------------------------------------------------------------- /src/react/ChatInputActions/demos/Collapse.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActions/demos/Collapse.tsx -------------------------------------------------------------------------------- /src/react/ChatInputActions/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActions/demos/index.tsx -------------------------------------------------------------------------------- /src/react/ChatInputActions/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActions/index.md -------------------------------------------------------------------------------- /src/react/ChatInputActions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActions/index.ts -------------------------------------------------------------------------------- /src/react/ChatInputActions/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActions/style.ts -------------------------------------------------------------------------------- /src/react/ChatInputActions/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/ChatInputActions/type.ts -------------------------------------------------------------------------------- /src/react/CodeLanguageSelect/CodeLanguageSelect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/CodeLanguageSelect/CodeLanguageSelect.tsx -------------------------------------------------------------------------------- /src/react/CodeLanguageSelect/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/CodeLanguageSelect/demos/index.tsx -------------------------------------------------------------------------------- /src/react/CodeLanguageSelect/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/CodeLanguageSelect/index.md -------------------------------------------------------------------------------- /src/react/CodeLanguageSelect/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/CodeLanguageSelect/index.ts -------------------------------------------------------------------------------- /src/react/CodeLanguageSelect/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/CodeLanguageSelect/style.ts -------------------------------------------------------------------------------- /src/react/CodeLanguageSelect/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/CodeLanguageSelect/type.ts -------------------------------------------------------------------------------- /src/react/Editor/Editor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/Editor/Editor.tsx -------------------------------------------------------------------------------- /src/react/Editor/demos/Container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/Editor/demos/Container.tsx -------------------------------------------------------------------------------- /src/react/Editor/demos/Toolbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/Editor/demos/Toolbar.tsx -------------------------------------------------------------------------------- /src/react/Editor/demos/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/Editor/demos/actions.ts -------------------------------------------------------------------------------- /src/react/Editor/demos/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/Editor/demos/data.json -------------------------------------------------------------------------------- /src/react/Editor/demos/disableMakrdownData.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/Editor/demos/disableMakrdownData.json -------------------------------------------------------------------------------- /src/react/Editor/demos/disableMarkdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/Editor/demos/disableMarkdown.tsx -------------------------------------------------------------------------------- /src/react/Editor/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/Editor/demos/index.tsx -------------------------------------------------------------------------------- /src/react/Editor/demos/useToolbarItems.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/Editor/demos/useToolbarItems.tsx -------------------------------------------------------------------------------- /src/react/Editor/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/Editor/index.md -------------------------------------------------------------------------------- /src/react/Editor/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/Editor/index.ts -------------------------------------------------------------------------------- /src/react/Editor/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/Editor/type.ts -------------------------------------------------------------------------------- /src/react/Editor/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/Editor/utils.ts -------------------------------------------------------------------------------- /src/react/EditorProvider/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/EditorProvider/demos/index.tsx -------------------------------------------------------------------------------- /src/react/EditorProvider/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/EditorProvider/index.md -------------------------------------------------------------------------------- /src/react/EditorProvider/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/EditorProvider/index.tsx -------------------------------------------------------------------------------- /src/react/FloatActions/FloatActions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatActions/FloatActions.tsx -------------------------------------------------------------------------------- /src/react/FloatActions/components/ActionItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatActions/components/ActionItem.tsx -------------------------------------------------------------------------------- /src/react/FloatActions/components/ActionRender.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatActions/components/ActionRender.tsx -------------------------------------------------------------------------------- /src/react/FloatActions/components/CollapsedActions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatActions/components/CollapsedActions.tsx -------------------------------------------------------------------------------- /src/react/FloatActions/demos/Collapse.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatActions/demos/Collapse.tsx -------------------------------------------------------------------------------- /src/react/FloatActions/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatActions/demos/index.tsx -------------------------------------------------------------------------------- /src/react/FloatActions/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatActions/index.md -------------------------------------------------------------------------------- /src/react/FloatActions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatActions/index.ts -------------------------------------------------------------------------------- /src/react/FloatActions/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatActions/style.ts -------------------------------------------------------------------------------- /src/react/FloatActions/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatActions/type.ts -------------------------------------------------------------------------------- /src/react/FloatMenu/FloatMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatMenu/FloatMenu.tsx -------------------------------------------------------------------------------- /src/react/FloatMenu/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatMenu/index.ts -------------------------------------------------------------------------------- /src/react/FloatMenu/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatMenu/style.ts -------------------------------------------------------------------------------- /src/react/FloatMenu/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/FloatMenu/type.ts -------------------------------------------------------------------------------- /src/react/SendButton/SendButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/SendButton/SendButton.tsx -------------------------------------------------------------------------------- /src/react/SendButton/components/SendIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/SendButton/components/SendIcon.tsx -------------------------------------------------------------------------------- /src/react/SendButton/components/StopIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/SendButton/components/StopIcon.tsx -------------------------------------------------------------------------------- /src/react/SendButton/demos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/SendButton/demos/index.tsx -------------------------------------------------------------------------------- /src/react/SendButton/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/SendButton/index.md -------------------------------------------------------------------------------- /src/react/SendButton/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/SendButton/index.ts -------------------------------------------------------------------------------- /src/react/SendButton/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/SendButton/style.ts -------------------------------------------------------------------------------- /src/react/SendButton/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/SendButton/type.ts -------------------------------------------------------------------------------- /src/react/SlashMenu/SlashMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/SlashMenu/SlashMenu.tsx -------------------------------------------------------------------------------- /src/react/SlashMenu/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/SlashMenu/index.ts -------------------------------------------------------------------------------- /src/react/SlashMenu/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/SlashMenu/type.ts -------------------------------------------------------------------------------- /src/react/hooks/useEditor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/hooks/useEditor.ts -------------------------------------------------------------------------------- /src/react/hooks/useEditorState/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/hooks/useEditorState/index.ts -------------------------------------------------------------------------------- /src/react/hooks/useEditorState/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/hooks/useEditorState/utils.ts -------------------------------------------------------------------------------- /src/react/hooks/useSize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/hooks/useSize.ts -------------------------------------------------------------------------------- /src/react/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/react/index.ts -------------------------------------------------------------------------------- /src/types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/types/global.d.ts -------------------------------------------------------------------------------- /src/types/hotkey.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/types/hotkey.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/types/kernel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/types/kernel.ts -------------------------------------------------------------------------------- /src/types/locale.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/types/locale.ts -------------------------------------------------------------------------------- /src/utils/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/utils/debug.ts -------------------------------------------------------------------------------- /src/utils/hotkey/isHotkeyMatch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/utils/hotkey/isHotkeyMatch.ts -------------------------------------------------------------------------------- /src/utils/hotkey/parseHotkeys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/utils/hotkey/parseHotkeys.ts -------------------------------------------------------------------------------- /src/utils/hotkey/registerHotkey.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/utils/hotkey/registerHotkey.ts -------------------------------------------------------------------------------- /src/utils/updatePosition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/utils/updatePosition.ts -------------------------------------------------------------------------------- /src/utils/url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/src/utils/url.ts -------------------------------------------------------------------------------- /tests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lobehub/lobe-editor/HEAD/vitest.config.ts --------------------------------------------------------------------------------