Code Field Changelog.

Link 3.0.12 · 2024.01.15

changed - 2024.01.15

  • Updated docs to use node 20 & a new sitemap plugin

Link 3.0.11 · 2023.10.09

changed - 2023.10.09

  • Ensure that the code field is rendered as formatted (but read-only) code when viewing a revision (#12)

Link 3.0.10 · 2023.08.06

changed - 2023.08.06

  • Clean up IEditorOptionsSchema.json to handle <Record> types and refactor GoToLocationValues to $def
  • Automate release generation via GitHub action

fixed - 2023.08.06

  • Handle the case where an existing field is being converted over to a Code Field, and it contains JSON data (#11)
  • Fixed an issue that would cause the All checkbox for the Available Languages field setting to not display the language dropdown (#9)

Link 3.0.9 · 2023.04.16

changed - 2023.04.16

  • Refactor the IEditorOptionsSchema.json to use $defs to make the JSON schema more structured/reusable

Link 3.0.8 · 2023.04.13

added - 2023.04.13

  • Allow you to choose text or mediumtext 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)

Link 3.0.7 · 2023.02.15

changed - 2023.02.15

  • Refactored the docs buildchain to use a dynamic docker container setup

fixed - 2023.02.15

  • Fixed an issue that would cause the editor to display outside of the field's display area (#4)

Link 3.0.6 · 2022.12.13

changed - 2022.12.13

  • Added __toString() method to the CodeData class so that {{ entry.codeField }} will work without needing to add .value (#3)

Link 3.0.5 · 2022.12.07

changed - 2022.12.07

  • Cleaned up the formatting of the Code Field field title

Link 3.0.4 · 2022.11.30

changed - 2022.11.30

  • 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)

Link 3.0.3 · 2022.11.16

added - 2022.11.16

  • Added GraphQL support (#2)

Link 3.0.2 · 2022.11.04

added - 2022.11.04

  • Added Auto as the default theme setting, which automatically sets the theme to match the browser's dark mode setting

Link 3.0.1 · 2022-11-03

fixed - 2022-11-03

  • Fixed an issue where changes to the Language selector were not saved with the Code Field

Link 3.0.0 · 2022-11-03

added - 2022-11-03

  • Initial release