Skip to content

v0.4.0 (2023-11-14)

Choose a tag to compare

@github-actions github-actions released this 14 Nov 18:26
· 19 commits to main since this release
65e9ab6

🚀 New Features:

  • Added lineWrap Option:
    • Introducing the lineWrap option that enables text to wrap to the next line when it reaches the end of the editor width. This feature enhances readability by preventing excessively long lines.

💥 Breaking Changes:

  • Custom Highlighting Not Supported:
    • Due to the introduction of the lineWrap option, the editor no longer supports custom highlights. The code is now split into lines, treating each line as an independent block. This change may affect the performance and accuracy of external syntax highlighters, such as highlight.js or Prism, particularly with multiline strings or code blocks.

🐛 Bug fixes

  • Prevent catastrophic backtracking in some regex for highlight (a42ea02).