Skip to content

Releases: nystudio107/craft-code-editor

Version 1.0.22

23 Sep 17:21
Compare
Choose a tag to compare

Fixed

  • Handle PHP >= 8.1 enums properly

Version 1.0.21

13 Sep 02:34
Compare
Choose a tag to compare

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

22 Aug 02:12
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where the autocomplete endpoint could throw a 500 error when attempting to parse properties such as the sso property with an insufficient edition of Craft

Version 1.0.19

22 Aug 02:12
Compare
Choose a tag to compare

Added

  • Stable release for Craft CMS 5

Version 1.0.18

19 Mar 20:19
Compare
Choose a tag to compare

Fixed

  • Fixed an issue that would cause the SectionShorthandFieldsAutocomplete to throw an exception if you were running PHP < 8.0 (#7)
  • Prefix the generated Tailwind CSS (which ironically, we're not using anyway) with craft-code-editor- to avoid namespace collisions (#8)

Version 1.0.17

30 Jan 03:20
Compare
Choose a tag to compare

Added

  • Compatibility with Craft CMS 5
  • Add phpstan and ecs code linting
  • Add code-analysis.yaml GitHub action

Changed

  • PHPstan code cleanup
  • ECS code cleanup

Fixed

  • Use getSections() for Craft 3 & 4, and use getEntries() for Craft 5

Version 1.0.16

08 Dec 14:40
Compare
Choose a tag to compare

Changed

  • Update to "monaco-editor": "^0.44.0"

Fixed

  • Fixed an issue where the global monaco API object was no longer set properly by the globalAPI: true config setting, so we now manually set it on the window variable

Version 1.0.15

30 Nov 19:22
Compare
Choose a tag to compare

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

25 Nov 16:57
Compare
Choose a tag to compare

Added

  • Added a maxEditorRows setting to CodeEditorOptions 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

16 Aug 02:32
Compare
Choose a tag to compare

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