mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[GH-ISSUE #4905] [FR] When pasting text into an empty blcok with formatting, is it possible to not replace the block style? #2178
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#2178
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 @q200892907 on GitHub (Mar 15, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4905
Description
When pasting text into an empty blcok with formatting, is it possible to not replace the block style?
For example, in an empty H1, pasting text will be replaced with text style. I want it to maintain the style of H1. The same is true for other formats, which is more in line with most people's operating habits.
Impact
The empty block style will not change into the format I don’t want.
Additional Context
No response
@q200892907 commented on GitHub (Mar 15, 2024):
The idea is that when pasting is in text format and is empty, the format is maintained and pasted. If it is formatted, the text is pasted.
@LucasXu0 commented on GitHub (Mar 15, 2024):
@q200892907 So, your expectation is to apply formatting only to pasted text when the block is a paragraph, not to headings, bulleted lists, etc.
@q200892907 commented on GitHub (Mar 15, 2024):
https://github.com/AppFlowy-IO/AppFlowy/assets/4517301/3c64ded8-2cca-4fbb-8154-eacab916d0fc
Just like recording the screen
If you paste formatted text in a formatted block, only the text will be pasted
If you paste it in a standard text block, the original format will be maintained
@LucasXu0
@LucasXu0 commented on GitHub (Mar 15, 2024):
@q200892907 It's clear. I've merged your pull request.
@dandv commented on GitHub (Dec 10, 2024):
The standard expectation when pasting unformatted text (Ctrl+Shift+V) is to preserve the existing formatting (i.e. apply it to the pasted text) and discard any rich text metadata from the clipboard.