[PR #1940] [MERGED] feat: Initialize appflowy block data and render block list #5030

Closed
opened 2026-03-23 22:16:54 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/1940
Author: @qinluhe
Created: 3/8/2023
Status: Merged
Merged: 3/9/2023
Merged by: @LucasXu0

Base: mainHead: feat-appflowy-initail-block


📝 Commits (1)

  • f99bed4 feat: Initialize appflowy block data and render block list

📊 Changes

27 files changed (+5463 additions, -14 deletions)

View changed files

📝 frontend/appflowy_tauri/package.json (+10 -0)
frontend/appflowy_tauri/pnpm-lock.yaml (+4740 -0)
frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/FormatButton.tsx (+51 -0)
frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/components.tsx (+5 -0)
frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/index.tsx (+50 -0)
frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockComponent.tsx (+33 -0)
frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockList.hooks.ts (+28 -0)
frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/index.tsx (+17 -0)
frontend/appflowy_tauri/src/appflowy_app/components/block/CodeBlock/index.tsx (+6 -0)
frontend/appflowy_tauri/src/appflowy_app/components/block/HeadingBlock/index.tsx (+21 -0)
frontend/appflowy_tauri/src/appflowy_app/components/block/ListBlock/index.tsx (+29 -0)
frontend/appflowy_tauri/src/appflowy_app/components/block/PageBlock/index.tsx (+6 -0)
frontend/appflowy_tauri/src/appflowy_app/components/block/TextBlock/Leaf.tsx (+28 -0)
frontend/appflowy_tauri/src/appflowy_app/components/block/TextBlock/index.tsx (+52 -0)
frontend/appflowy_tauri/src/appflowy_app/constants/toolbar.ts (+25 -0)
frontend/appflowy_tauri/src/appflowy_app/interfaces/index.ts (+51 -0)
frontend/appflowy_tauri/src/appflowy_app/utils/block_context.ts (+8 -0)
frontend/appflowy_tauri/src/appflowy_app/utils/editor/format.ts (+25 -0)
frontend/appflowy_tauri/src/appflowy_app/utils/editor/hotkey.ts (+22 -0)
frontend/appflowy_tauri/src/appflowy_app/utils/editor/toolbar.ts (+28 -0)

...and 7 more files

📄 Description

  1. Initialize appflowy block data
  2. Simple render component
  3. Embed SlateEditor as TextBlock
  4. Provide a floating toolbar for TextBlock

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/1940 **Author:** [@qinluhe](https://github.com/qinluhe) **Created:** 3/8/2023 **Status:** ✅ Merged **Merged:** 3/9/2023 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `feat-appflowy-initail-block` --- ### 📝 Commits (1) - [`f99bed4`](https://github.com/AppFlowy-IO/AppFlowy/commit/f99bed49e9d5a04d17e35aa7715bee5f314ecf52) feat: Initialize appflowy block data and render block list ### 📊 Changes **27 files changed** (+5463 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_tauri/package.json` (+10 -0) ➕ `frontend/appflowy_tauri/pnpm-lock.yaml` (+4740 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/FormatButton.tsx` (+51 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/components.tsx` (+5 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/HoveringToolbar/index.tsx` (+50 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockComponent.tsx` (+33 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/BlockList.hooks.ts` (+28 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/BlockList/index.tsx` (+17 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/CodeBlock/index.tsx` (+6 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/HeadingBlock/index.tsx` (+21 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/ListBlock/index.tsx` (+29 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/PageBlock/index.tsx` (+6 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/TextBlock/Leaf.tsx` (+28 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/block/TextBlock/index.tsx` (+52 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/constants/toolbar.ts` (+25 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/interfaces/index.ts` (+51 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/utils/block_context.ts` (+8 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/utils/editor/format.ts` (+25 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/utils/editor/hotkey.ts` (+22 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/utils/editor/toolbar.ts` (+28 -0) _...and 7 more files_ </details> ### 📄 Description 1. Initialize appflowy block data 2. Simple render component 3. Embed SlateEditor as TextBlock 4. Provide a floating toolbar for TextBlock --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:16:54 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#5030
No description provided.