Code Field
Version 3.0.12
January 15, 2024
Changed
- Updated docs to use node 20 & a new sitemap plugin
Version 3.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 3.0.10
August 6, 2023
Changed
- Clean up
IEditorOptionsSchema.json
to handle<Record>
types and refactorGoToLocationValues
to$def
- Automate release generation via GitHub action
Fixed
Version 3.0.9
April 16, 2023
Changed
- Refactor the
IEditorOptionsSchema.json
to use$defs
to make the JSON schema more structured/reusable
Version 3.0.8
April 13, 2023
Added
- Allow you to choose
text
ormediumtext
for 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 3.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 3.0.6
December 13, 2022
Changed
- Added
__toString()
method to theCodeData
class so that{{ entry.codeField }}
will work without needing to add.value
(#3)
Version 3.0.5
December 7, 2022
Changed
- Cleaned up the formatting of the Code Field field title
Version 3.0.4
November 30, 2022
Changed
- Wrap the fields in
<fieldset>
tags if the language selector is visible - Remove the odd Craft
modifiedAttributes
styling when a field value is changed (#12403)
Version 3.0.3
November 16, 2022
Added
- Added GraphQL support (#2)
Version 3.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 3.0.1
November 3, 2022
Fixed
- Fixed an issue where changes to the Language selector were not saved with the Code Field
Version 3.0.0
November 3, 2022
Added
- Initial release