[PR #3674] [MERGED] feat: support toggling the markdown style by shortcuts #5821

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/3674
Author: @LucasXu0
Created: 10/11/2023
Status: Merged
Merged: 10/11/2023
Merged by: @LucasXu0

Base: mainHead: toggle_style_by_shortcuts


📝 Commits (5)

  • 6d03ecd feat: support toggling the markdown style by shortcuts
  • 05e5a93 chore: update translations for Vietnamese (#3632)
  • 16d6f25 refactor: rename flowy-test to event-integration (#3667)
  • 151fc83 Merge branch 'main' into toggle_style_by_shortcuts
  • 491a2e5 fix: integration test

📊 Changes

18 files changed (+48 additions, -76 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/database_row_page_test.dart (+1 -1)
📝 frontend/appflowy_flutter/integration_test/document/document_create_and_delete_test.dart (+1 -1)
📝 frontend/appflowy_flutter/integration_test/sidebar/sidebar_test.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/block_action_option_button.dart (+2 -2)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/editor_action_wrapper.dart (+0 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/option_action_button.dart (+0 -27)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/align_toolbar_item/align_toolbar_item.dart (+3 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/link_to_page_widget.dart (+4 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/find_and_replace/find_and_replace_menu.dart (+6 -6)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/font/customize_font_toolbar_item.dart (+3 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/inline_math_equation/inline_math_equation_toolbar_item.dart (+1 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/smart_edit_toolbar_item.dart (+3 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toggle/toggle_block_component.dart (+11 -8)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_style.dart (+4 -6)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/emoji_picker/emoji_menu_item.dart (+2 -2)
📝 frontend/appflowy_flutter/pubspec.lock (+3 -3)
📝 frontend/appflowy_flutter/pubspec.yaml (+1 -1)

📄 Description

Feature Preview


PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 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/3674 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 10/11/2023 **Status:** ✅ Merged **Merged:** 10/11/2023 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `toggle_style_by_shortcuts` --- ### 📝 Commits (5) - [`6d03ecd`](https://github.com/AppFlowy-IO/AppFlowy/commit/6d03ecd05408dd090fec5439da0693d1d56845b1) feat: support toggling the markdown style by shortcuts - [`05e5a93`](https://github.com/AppFlowy-IO/AppFlowy/commit/05e5a939e1d19bff34ab377fff88fcf1440635c9) chore: update translations for Vietnamese (#3632) - [`16d6f25`](https://github.com/AppFlowy-IO/AppFlowy/commit/16d6f2572ff472add0e782b880445f396e09e404) refactor: rename flowy-test to event-integration (#3667) - [`151fc83`](https://github.com/AppFlowy-IO/AppFlowy/commit/151fc83a3a3bc190494b53ab463316d45c11d20d) Merge branch 'main' into toggle_style_by_shortcuts - [`491a2e5`](https://github.com/AppFlowy-IO/AppFlowy/commit/491a2e54535483594b17ba079f54233bac38e261) fix: integration test ### 📊 Changes **18 files changed** (+48 additions, -76 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/database_row_page_test.dart` (+1 -1) 📝 `frontend/appflowy_flutter/integration_test/document/document_create_and_delete_test.dart` (+1 -1) 📝 `frontend/appflowy_flutter/integration_test/sidebar/sidebar_test.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/block_action_option_button.dart` (+2 -2) ➖ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/editor_action_wrapper.dart` (+0 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/option_action_button.dart` (+0 -27) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/align_toolbar_item/align_toolbar_item.dart` (+3 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/link_to_page_widget.dart` (+4 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/find_and_replace/find_and_replace_menu.dart` (+6 -6) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/font/customize_font_toolbar_item.dart` (+3 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/inline_math_equation/inline_math_equation_toolbar_item.dart` (+1 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/smart_edit_toolbar_item.dart` (+3 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toggle/toggle_block_component.dart` (+11 -8) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_style.dart` (+4 -6) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/emoji_picker/emoji_menu_item.dart` (+2 -2) 📝 `frontend/appflowy_flutter/pubspec.lock` (+3 -3) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+1 -1) </details> ### 📄 Description <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> ### Feature Preview * feat: integrate the new search service. * feat: enable toggling and canceling of the formatting with shortcuts. https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/4a7a0e54-11d5-4841-9bfd-5ecd83b9bfa4 * fix: cursor blinks at the wrong location when inserting text. * fix: the cursor will be blocked if the background color of the text isn't transparent. <img width="236" alt="Screenshot 2023-10-11 at 20 21 40" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/fe2043af-0265-4f3b-8234-fdd89fbe4cae"> * fix: expand the background color of the block component. <img width="1203" alt="Screenshot 2023-10-11 at 20 18 40" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/7c4dfbf3-ceed-4a0e-97bc-04b14d228829"> * fix: pinyin IME on Linux <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [x] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [ ] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [ ] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:20:28 +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#5821
No description provided.