Skip to content

Feature: create empty paragraph before/after code block if it's the first/last node #7912

@noamzaks

Description

@noamzaks

Description

The current behavior is that when pressing the right/down key in the current situation, nothing happens.

Image

I suggest changing this so that an empty paragraph is created after the code block.

Similarly, pressing the left/up key in the beginning of the code block does nothing, and I suggest changing this so that an empty paragraph is created before the code block.

For RTL, right/left should be inverted.

Impact

All users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement over existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions