Skip to content

Handling line breaks within blocks #6

Description

@dburrows

Support for line breaks is needed, especially in code blocks.

Probably best to use the meta key (e.metaKey) modifier to add line breaks instead of creating a new block.

Code blocks: '\n' should work fine if we wrap with


Paragraphs: we'll need to insert a '
' as an inline tag and convert on exit

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions