Skip to content

Commit

Permalink
Merge pull request #52 from delyriand/feature/render-elements-by-locale
Browse files Browse the repository at this point in the history
feat: add locale for renderer of rich editor
  • Loading branch information
delyriand authored Jul 18, 2023
2 parents 3cbcfd1 + 828e428 commit eed36d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"php": "~7.4|~8.0",
"sylius/sylius": ">=1.8 <1.13",
"gedmo/doctrine-extensions": "^2.4.12 || ^3.0",
"monsieurbiz/sylius-rich-editor-plugin": "^2.0"
"monsieurbiz/sylius-rich-editor-plugin": "^2.2"
},
"require-dev": {
"behat/behat": "^3.6.1",
Expand Down
1 change: 1 addition & 0 deletions src/Form/Type/PageTranslationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
])
->add('content', RichEditorType::class, [
'label' => 'monsieurbiz_cms_page.ui.form.content',
'locale' => $builder->getName(),
])
->add('metaTitle', TextType::class, [
'required' => false,
Expand Down

0 comments on commit eed36d1

Please sign in to comment.