Skip to content

Commit

Permalink
Merge branch 'release/2.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
jalendport committed Dec 5, 2022
2 parents 68a0abc + f587879 commit 28a85d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2.0.2 - 2022-12-05
### Fixed
- Updated reference to Twigfield

## 2.0.1 - 2022-12-02
### Changed
- Updated to use craft-code-editor instead of craft-twigfield ([#87](https://github.com/besteadfast/craft-preparse-field/pull/87) - thanks @khalwat)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "besteadfast/craft-preparse-field",
"description": "A fieldtype that parses Twig when an element is saved and saves the result as plain text.",
"type": "craft-plugin",
"version": "2.0.1",
"version": "2.0.2",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/templates/_components/fields/_settings.twig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% set codeEditorOptions = {
wrapperClass:"monaco-editor-background-frame"
} %}
{{ twigfield.textareaField( {
{{ codeEditor.textareaField( {
label: "Twig code to parse"|t,
instructions: "Enter the twig code that you want to parse after the entry has been saved.\nIf the column type is set to Date (datetime), the parsed Twig should output a date formatted as `Y-m-d H:i:s`."|t,
id: 'fieldTwig',
Expand Down

0 comments on commit 28a85d6

Please sign in to comment.