Skip to content

Eliminate leaf text nodes on web #239

@tomekzaw

Description

@tomekzaw

Current Behavior

Currently we treat text that is not wrapped with markdown as a text node and line breaks as \n, this makes the library prone to errors related with scrolling & cursor movement.

Expected Behavior

  1. All leaf text nodes should be wrapped by an individual tag
  2. We should use <br> instead of \n
  3. (optional) Each new paragraph / line of text should be wrapped with <p> tag

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions