You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).