Skip to content

Commit

Permalink
Merge pull request #128 from RRZE-Webteam/FAU-422
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrann0us authored May 7, 2024
2 parents b936811 + 99ad3c6 commit 5799834
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Support WordPress "Quote" block in content fields.

### Changed

- Make "Duration of studies in semester" a single line input.
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions resources/ts/components/ContentField/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const ALLOWED_BLOCK_TYPES = [
'core/list-item',
'core/heading',
'core/shortcode',
'core/quote',
'fau/description-list',
'fau/description-term',
'fau/description-details',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const TextControlCollection = ( {
onChange(
fields.filter( ( f ) => !! f.value ).map( ( f ) => f.value )
);
}, [ fields, onChange ] );
}, [ fields ] );

const { required } = useFieldContext();

Expand Down

0 comments on commit 5799834

Please sign in to comment.