Skip to content

Paste: Single-line pastes should conform to current block #6555

@mcsf

Description

@mcsf

Issue Overview

A revisit of #5354. Per the last comment, this is the behavior we'd like to achieve when copying (a) list item(s) from a rich-text source:

  • If you are on an empty paragraph, respect the source [and create a new list block, for instance].
  • Otherwise, if you copied more than one line, respect the source [and create a new list block, for instance].
  • Otherwise, if you copy a single line, paste as plain text [and merely add to the current paragraph].

The last point is where behavior differs: currently, pasting will always create a new block (for a list, etc.) unless the clipboard only contains pure text.

Metadata

Metadata

Assignees

Labels

[Block] ListAffects the List Block[Feature] Paste[Feature] Writing FlowBlock selection, navigation, splitting, merging, deletion...[Priority] HighUsed to indicate top priority items that need quick attention[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions