Skip to content

Commit

Permalink
feat: add locale for renderer of rich editor
Browse files Browse the repository at this point in the history
  • Loading branch information
delyriand committed May 24, 2023
1 parent 96830da commit 828e428
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 828e428

Please sign in to comment.