Skip to content

[RNMobile]: Split pasted content correctly between title and body #35733

@guarani

Description

@guarani

What problem does this address?

In the native mobile editor, it's not possible to paste content into the editor title field and have it split correctly between the title and body.

Web Native Mobile
Screen recording showing how pasted text in the title field of the web editor is split correctly between title and body Screen recording showing how pasted text in the title field of the native mobile editor is not split correctly between title and body

What is your proposed solution?

Just like on the web, content pasted into the title field should split correctly between the title and body. It might be reasonable to put whatever follows the first new-line character in the body, keeping what's before it in the title. That said, there might be a web implementation we can use to avoid re-implementing this.

Metadata

Metadata

Assignees

Labels

Mobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Priority] HighUsed to indicate top priority items that need quick attention[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions