尚未偵測到更新。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.