Skip to content

release v1.2.0

Latest

Choose a tag to compare

@markrahimi markrahimi released this 11 Jun 16:15

What's new

Added

  • Code formatting inline <code> for selections, <pre> block for cursor; toggle to remove
  • RTL / LTR direction per-block direction with toggle; stores dir + inline style in HTML output
  • defaultDir prop set default text direction for the entire editor ("rtl" for Persian/Arabic)

Fixed

  • Typing after clearing the editor no longer produces bare text nodes, always starts inside <p>
  • Direction buttons now work without requiring a prior text selection