Code Field
Version 4.0.13
May 17, 2025
Fixed
- Field editor form no longer breaks when changing entry type with same named code field (#16)
Added
- Add
phpstanandecscode linting - Add
code-analysis.yamlGitHub action
Version 4.0.12
January 15, 2024
Changed
- Updated docs to use node 20 & a new sitemap plugin
Version 4.0.11
October 9, 2023
Changed
- Ensure that the code field is rendered as formatted (but read-only) code when viewing a revision (#12)
Version 4.0.10
August 6, 2023
Changed
- Clean up
IEditorOptionsSchema.jsonto handle<Record>types and refactorGoToLocationValuesto$def - Automate release generation via GitHub action
Fixed
Version 4.0.9
April 16, 2023
Changed
- Refactor the
IEditorOptionsSchema.jsonto use$defsto make the JSON schema more structured/reusable
Version 4.0.8
April 13, 2023
Added
- Allow you to choose
textormediumtextfor the content column storage for Code Editor fields (under Advanced Settings) (#6) - Added full autocomplete of the JSON blob of Monaco EditorOptions in the Code Field's Advanced Settings
- Added a Default Value setting for the Code Field (#7)
Version 4.0.7
February 15, 2023
Changed
- Refactored the docs buildchain to use a dynamic docker container setup
Fixed
- Fixed an issue that would cause the editor to display outside of the field's display area (#4)
Version 4.0.6
December 13, 2022
Changed
- Added
__toString()method to theCodeDataclass so that{{ entry.codeField }}will work without needing to add.value(#3)
Version 4.0.5
December 7, 2022
Changed
- Cleaned up the formatting of the Code Field field title
Version 4.0.4
November 30, 2022
Changed
- Wrap the fields in
<fieldset>tags if the language selector is visible - Remove the odd Craft
modifiedAttributesstyling when a field value is changed (#12403)
Version 4.0.3
November 16, 2022
Added
- Added GraphQL support (#2)
Version 4.0.2
November 4, 2022
Added
- Added Auto as the default theme setting, which automatically sets the theme to match the browser's dark mode setting
Version 4.0.1
November 3, 2022
Fixed
- Fixed an issue where changes to the Language selector were not saved with the Code Field
Version 4.0.0
November 3, 2022
Added
- Initial release