尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证This repository is a Text Editor made using React library Tiptap
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A rich document editor built with Next.js, React, TypeScript, and TipTap. It includes formatting tools, page layout controls, image handling, table editing, PDF/Word export, and a polished landing experience.
git clone https://github.com/amananandrai/document-editor-with-tiptap.git
cd document-editor-with-tiptap
npm install
npm run dev
Open http://localhost:3000.
npm run dev starts the development servernpm run build creates a production buildnpm run start runs the production buildnpm run lint runs ESLintnpm run test runs Jest testsnpm run test:watch runs Jest in watch modenpm run test:coverage generates coverage outputnpm run test:ci runs tests in CI modeapp/
contact-us/
page.tsx # Contact page
documentation/
page.tsx # Documentation page
editor/
editor-client.tsx # Client wrapper for the editor experience
features.js # Landing-page feature metadata
layout.tsx # Focus mode provider for editor routes
page.tsx # Main editor page
help-center/
page.tsx # Help center page
globals.css # Global design tokens and base styles
layout.tsx # Root app layout
page.tsx # Landing page
components/
editor/
find-replace-modal.tsx # Find and replace functionality
header-footer.tsx # Header and footer components
image-extension.ts # Image extension for TipTap
image-resize-component.tsx
link-modal.tsx # Link insertion modal
margin-ruler.tsx # Margin ruler component
page-break-component.tsx
page-break-extension.tsx
rich-editor.tsx # Main rich text editor
status-bar.tsx # Editor status bar
tiptap-extensions.ts # TipTap extension helpers
toc-extension.tsx # Table of contents extension
toolbar.tsx # Editor toolbar
use-image-upload.ts # Image upload hook
ui/
backButton.tsx
button.tsx
colorpicker.tsx
dialog.tsx
dropdown-menu.tsx
input.tsx
label.tsx
popover.tsx
tooltip.tsx
BackToTopButton.tsx
focus-mode-context.tsx
footer.tsx
navbar.tsx
RootLayoutClient.tsx
theme-provider.tsx
theme-toggle.tsx
lib/
local-storage.ts
utils.ts
public/
logo.png
pattern-bg.svg
placeholder-bg.jpg
__tests__/
components/
lib/
setup/
components/editor/.app/globals.css.components/ui/ and are used across the editor, navigation, dialogs, and controls.Update the design tokens in app/globals.css to change colors, radius values, and shared theme settings.
Editor extensions are composed in components/editor/rich-editor.tsx, with reusable extension helpers in components/editor/tiptap-extensions.ts.
Shared UI building blocks live in components/ui/ and are used across the editor, navigation, dialogs, and controls.
npm run test
npm run test:watch
This project can be deployed anywhere that supports Next.js, including Vercel, Netlify, Railway, and AWS Amplify.