Releases: nystudio107/craft-code-editor
Releases · nystudio107/craft-code-editor
Version 1.0.22
Version 1.0.21
Changed
- Update to
"monaco-editor": "^0.50.0"
Fixed
- Removes errors when editing CSS code that contains native CSS nesting or
:has()
selectors monaco-editor #4071
Version 1.0.20
Fixed
- Fixed an issue where the autocomplete endpoint could throw a
500
error when attempting to parse properties such as thesso
property with an insufficient edition of Craft
Version 1.0.19
Added
- Stable release for Craft CMS 5
Version 1.0.18
Version 1.0.17
Added
- Compatibility with Craft CMS 5
- Add
phpstan
andecs
code linting - Add
code-analysis.yaml
GitHub action
Changed
- PHPstan code cleanup
- ECS code cleanup
Fixed
- Use
getSections()
for Craft 3 & 4, and usegetEntries()
for Craft 5
Version 1.0.16
Changed
- Update to
"monaco-editor": "^0.44.0"
Fixed
- Fixed an issue where the global
monaco
API object was no longer set properly by theglobalAPI: true
config setting, so we now manually set it on thewindow
variable
Version 1.0.15
Fixed
- Fixed a regression that would cause the content height to be set to
50px
by default, when it should be growing to fix the available content
Version 1.0.14
Added
- Added a
maxEditorRows
setting toCodeEditorOptions
to allow you to control the maximum number of rows before the editor is fixed height, and has a scrollbar - Update for Craft CMS
^5.0.0-alpha.1
Version 1.0.13
Added
- Revert checking to see if any models exist before creating them, to allow for multiple instantiation of the same URI... because as implemented, it doesn't allow multiple instances of the editor on the same page