Skip to content

Commit

Permalink
Add new Rich editor recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
maximehuran committed Sep 5, 2024
1 parent bea59a7 commit 8cb864f
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
imports:
- { resource: "@MonsieurBizSyliusRichEditorPlugin/Resources/config/config.yaml" }
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
monsieurbiz_richeditor_admin:
resource: "@MonsieurBizSyliusRichEditorPlugin/Resources/config/routing/admin.yaml"
prefix: /%sylius_admin.path_name%
24 changes: 24 additions & 0 deletions monsieurbiz/sylius-rich-editor-plugin/2.9-dev/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"bundles": {
"MonsieurBiz\\SyliusRichEditorPlugin\\MonsieurBizSyliusRichEditorPlugin": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"add-lines": [
{
"file": "composer.json",
"content": "\n \"vendor/monsieurbiz/sylius-rich-editor-plugin/scripts/replace_intl_extension.php\": \"php-script\",\n",
"position": "after_target",
"target": "\"auto-scripts\": {"
}
],
"env": {
"MONSIEURBIZ_SYLIUS_RICH_EDITOR_UPLOAD_DIR": "/media/rich-editor",
"MONSIEURBIZ_SYLIUS_RICH_EDITOR_IMAGE_UPLOAD_DIR": "/media/image",
"MONSIEURBIZ_SYLIUS_RICH_EDITOR_ENABLED_HIGHLIGHT_JS_SHOP": "false",
"MONSIEURBIZ_SYLIUS_RICH_EDITOR_ENABLED_HIGHLIGHT_JS_THEME": "default"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
imports:
- { resource: "@MonsieurBizSyliusRichEditorPlugin/Resources/config/config.yaml" }
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
monsieurbiz_richeditor_admin:
resource: "@MonsieurBizSyliusRichEditorPlugin/Resources/config/routing/admin.yaml"
prefix: /%sylius_admin.path_name%
24 changes: 24 additions & 0 deletions monsieurbiz/sylius-rich-editor-plugin/2.9/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"bundles": {
"MonsieurBiz\\SyliusRichEditorPlugin\\MonsieurBizSyliusRichEditorPlugin": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"add-lines": [
{
"file": "composer.json",
"content": "\n \"vendor/monsieurbiz/sylius-rich-editor-plugin/scripts/replace_intl_extension.php\": \"php-script\",\n",
"position": "after_target",
"target": "\"auto-scripts\": {"
}
],
"env": {
"MONSIEURBIZ_SYLIUS_RICH_EDITOR_UPLOAD_DIR": "/media/rich-editor",
"MONSIEURBIZ_SYLIUS_RICH_EDITOR_IMAGE_UPLOAD_DIR": "/media/image",
"MONSIEURBIZ_SYLIUS_RICH_EDITOR_ENABLED_HIGHLIGHT_JS_SHOP": "false",
"MONSIEURBIZ_SYLIUS_RICH_EDITOR_ENABLED_HIGHLIGHT_JS_THEME": "default"
}
}

0 comments on commit 8cb864f

Please sign in to comment.