Skip to content

Block autoformat could work in all kind of blocks #6170

Closed
@Reinmar

Description

📝 Provide a description of the improvement

So, right now when you're in at the beginning of a heading 2 and type ### it is not going to change it to a heading 3. It's only possible to turn a paragraph into other types of blocks.

This means that you can't easily toggle between block types. Also, if you made a mistake, you need to get back to a paragraph (e.g. by undoing) and only then you can use autoformatting.

One example of an application where you can always switch between block types is Notion and I use this quite a lot. Especially when I'm changing heading levels (cause I'm reorganizing a document).

Another aspect is that currently you can only apply autoformatting to an empty block. We'd also like to apply formatting for blocks that have some content in it, as long as your cursor is at the beginning of the line.

Related issue:

cc @jodator @panr @oleq


If you'd like to see this improvement implemented, add a 👍 reaction to this post.

Metadata

Assignees

Labels

domain:ui/uxThis issue reports a problem related to UI or UX.introGood first ticket.package:autoformattype:improvementThis issue reports a possible enhancement of an existing feature.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions