mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 21:00:19 +00:00
[GH-ISSUE #8202] [FR] Rounded corners for colored texts #3645
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#3645
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @baranwalsh on GitHub (Aug 31, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8202
Originally assigned to: @ChiragKr04 on GitHub.
Description
Please make it rounded like this
Impact
Everyone. it's an aesthetic thing.
Additional Context
@ChiragKr04 commented on GitHub (Sep 30, 2025):
Hey, is anybody working on this. Would love to work on this! @MayurSMahajan @annieappflowy
@RishiAhuja commented on GitHub (Oct 5, 2025):
Hi team! I'm a new contributor with my local development environment set up and running. I'd love to pick up this issue as my first contribution. Please let me know if it's available and if there's any specific guidance I should follow. Thanks! @MayurSMahajan @annieappflowy
@MayurSMahajan commented on GitHub (Oct 5, 2025):
@ChiragKr04 @RishiAhuja, according to AppFlowy's guidelines I will assign this issue to @ChiragKr04.
Don't worry @RishiAhuja about not being assigned before starting work on it. Even if you aren't assigned, all pull requests that solve a GitHub issue are appreciated.
Reference:
https://docs.appflowy.io/docs/documentation/appflowy/draft-how-to-contribute-to-appflowy#finding-an-issue-to-work-on
@RishiAhuja commented on GitHub (Oct 6, 2025):
@MayurSMahajan As a new contributor, I'm still getting familiar with the codebase, but I've started to investigate. I tried looking for the code to solve this certain issue.
My initial search led me to
lib/plugins/document/presentation/editor_style.dartandeditor_configuration.dart, as they seem to handle editor styling. However, I'm having trouble pinpointing the exact code that renders the background highlight for a selected block (the part that needs to be rounded).Could someone point me in the right direction for the widget or decorator that applies this background style? Any guidance on where this block-level decoration is defined would be a huge help.
Thanks for your time!
cc @ChiragKR04
@ChiragKr04 commented on GitHub (Oct 7, 2025):
@RishiAhuja
If you go over to this file
/lib/plugins/document/presentation/editor_plugins/actions/option/color_option_action.dartthis is the file where you will find the function which updated the background color of the heading/para etc, widget/block.The problem is the background color and styling you see is grouped with the
node(look at the code below)blockComponentBackgroundColoris getting updated which handles widget's background color.And to update the UI or color related to node we need to go to different repository which is AppflowyEditor
As under the hood all the UI widgets/blocks you see in Appflowy is using AppflowyEditor through a package under the hood
This issue is not easy as it looks 😅 kinda tricky in a way! Or maybe im overthinking 😅
The fix I already found out in AppflowyEditor inside file
lib/src/editor/block_component/heading_block_component/heading_block_component.dartwhich handles only heading block not the other blocksLooking more into this if we can somehow do it at one place.
@RishiAhuja commented on GitHub (Oct 7, 2025):
I see 😅
So from what I can understand, we'd need to either,
Change the AppFlowyEditor package directly to modify the rendering or
intercept the rendering somewhere in the pipeline and do custom rendering there, which doesn't feel like good practice and could break things down the line.
@annieappflowy commented on GitHub (Nov 5, 2025):
Supported in the upcoming release (v0.10.4)