mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-28 09:56:08 +00:00
[GH-ISSUE #2451] [Bug] Highlight default background #1053
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#1053
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 @annieappflowy on GitHub (May 3, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2451
Originally assigned to: @LucasXu0, @vuzzer on GitHub.
Bug Description
If I highlight in purple, there is no way to go back plain
How to Reproduce
Highlight text in purple
Expected Behavior
There should be an option for me to undo highlight in any color
Operating System
MacOS
AppFlowy Version(s)
Main branch
Screenshots
No response
Additional Context
No response
@vuzzer commented on GitHub (May 3, 2023):
Hey @annieappflowy , could I have some screenshot.
@annieappflowy commented on GitHub (May 4, 2023):
When choosing this default background option, the highlight color is changed to blue, although it should've undone any highlight color.
@vuzzer commented on GitHub (May 4, 2023):
Hey @annieappflowy, could you assign it to me.
@annieappflowy commented on GitHub (May 5, 2023):
Assigned! Thank you
@vuzzer commented on GitHub (May 6, 2023):
Hey @annieappflowy, if
default backgroundoption is to remove the background color, it would be better to rename this option toremove background. What do you think about it ?@annieappflowy commented on GitHub (May 7, 2023):
@vuzzer , "clear background" or "none"?
@annieappflowy commented on GitHub (May 8, 2023):
Hi @vuzzer , can this be done by Friday? Hope this bug can be fixed by Friday in the upcoming release (v0.1.5)
@vuzzer commented on GitHub (May 8, 2023):
Hey @annieappflowy, of course, it will be done before Friday.
@richardshiue commented on GitHub (May 10, 2023):
My two cents:
I thought that the default background color depends on the theme, in this case it's blue.
The current way to de-highlight (if that's a word) text is to click on the button again. However, there is a bug where if a color other than the default were selected, it would first clear the custom color (and use the default), and then a subsequent selection and click will de-highlight the default highlight color.
It definitely would be better if I can also deselect color by clicking on it (e.g. if it's highlighted purple, I can click on purple and it will be de-highlighted).
@vuzzer commented on GitHub (May 10, 2023):
I have difficulties to detect in the code base the part dedicated to the menu that appears when you select a text. I don't think I can solve this Friday.However, I am actively working on this problem. Any help is welcome. @annieappflowy @richardshiue
@vuzzer commented on GitHub (May 10, 2023):
I have found this problem as well @richardshiue. I have difficulties to detect in the code base the part dedicated to the menu that appears when you select a text.
@Xazin commented on GitHub (May 10, 2023):
This is an issue with the software design. Text background and highlight are two separate things, thus causing this weird behavior, whilst they should either be the same feature, or there should be noticeably different behavior.
@vuzzer commented on GitHub (May 10, 2023):
of course, although I have activated Select widget mode, to determine the toolbar that appears when you underline the text, it detects every time this widget
AppFlowyEditor.@annieappflowy commented on GitHub (May 11, 2023):
Thanks @vuzzer for letting us know. I moved this issue to v0.2
@LucasXu0 commented on GitHub (May 12, 2023):
Hey, @vuzzer. You can take a look in the appflowy_editor
mobilebranch. we have removed the highlight item and separated the text color and the background color into two items.@vuzzer commented on GitHub (May 12, 2023):
Hey @LucasXu0, Thank you very much, I am looking into it.