Repository navigation
Releases: jmjuanes/mokai
Releases · jmjuanes/mokai
Release list
v0.6.1
What's Changed
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- feat!: rename project and keep only basic editor features by @jmjuanes in #11
- feat(mokai-syntax): add syntax highlight as a package by @jmjuanes in #12
- feat(themes): add mokai-themes as a package by @jmjuanes in #13
- chore: update and adapt main README of mokai editor by @jmjuanes in #14
- feat!: simplify editor api and update README and types by @jmjuanes in #15
- feat(syntax): add json and yaml syntax highlights by @jmjuanes in #16
- fix: types definition fix for mokai by @jmjuanes in #17
- ci: add workflows to generate the gh release and publish to npm by @jmjuanes in #18
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- feat: remove linewrap option and restore support for custom highlights by @jmjuanes in #9
- ci: update versions in workflows by @jmjuanes in #10
Full Changelog: v0.4.2...v0.5.0
v0.4.2 (2024-03-22)
🐛 Bug fixes
- Fix multiline paste for firefox by @TheLazySquid in #8
v0.4.1 (2024-03-13)
🚀 New features
- Add type declarations by @TheLazySquid in #7
v0.4.0 (2023-11-14)
🚀 New Features:
- Added
lineWrapOption:- Introducing the
lineWrapoption 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.
- Introducing the
💥 Breaking Changes:
- Custom Highlighting Not Supported:
- Due to the introduction of the
lineWrapoption, 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.
- Due to the introduction of the
🐛 Bug fixes
- Prevent catastrophic backtracking in some regex for highlight (a42ea02).
v0.3.0 (2023-10-19)
v0.2.1 (2023-10-17)
v0.2.0 (2023-09-27)
🚀 New Features
- Support JSX syntax highlight (64b0161).
v0.1.3 (2023-09-13)
🐛 Bug fixes
- Avoid trapping keyboard focus (99fd006) Thanks to @binyamin in #3.
- Fixed typo in README (5d6a922) Thanks to @akivajgordon.