Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
EZP-28009: Provided compatibility with external RichText package (#2302)
* [RichText] Moved richtext settings to their own file The file is only loaded if the RichText bundle class doesn't exist. Part of EZP-28009. * [RichText] Disable the config parser if the package is installed * Added tests for richtext core extension settings loading * EZP-28009: Don't load richtext services if richtext bundle is loaded
- Loading branch information
Showing
24 changed files
with
457 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
eZ/Bundle/EzPublishCoreBundle/Resources/config/ezrichtext_default_settings.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
parameters: | ||
# Rich Text Custom Tags global configuration | ||
ezplatform.ezrichtext.custom_tags: {} | ||
# Rich Text Custom Tags default scope (for SiteAccess) configuration | ||
ezsettings.default.fieldtypes.ezrichtext.custom_tags: [] | ||
|
||
# Rich Text Custom Styles global configuration | ||
ezplatform.ezrichtext.custom_styles: {} | ||
# Rich Text Custom Styles default scope (for SiteAccess) configuration | ||
ezsettings.default.fieldtypes.ezrichtext.custom_styles: [] | ||
|
||
# Default XSL stylesheets for RichText rendering to HTML5. | ||
# Built-in stylesheets are treated as custom for the sake of extensibility. | ||
ezsettings.default.fieldtypes.ezrichtext.output_custom_xsl: | ||
- | ||
path: '%kernel.root_dir%/../vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/FieldType/RichText/Resources/stylesheets/docbook/xhtml5/output/core.xsl' | ||
priority: 0 | ||
|
||
ezsettings.default.fieldtypes.ezrichtext.edit_custom_xsl: | ||
- | ||
path: '%kernel.root_dir%/../vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/FieldType/RichText/Resources/stylesheets/docbook/xhtml5/edit/core.xsl' | ||
priority: 0 | ||
|
||
ezsettings.default.fieldtypes.ezrichtext.input_custom_xsl: [] | ||
|
||
# RichText field type template tag settings | ||
# 'default' and 'default_inline' tag identifiers are reserved for fallback | ||
ezsettings.default.fieldtypes.ezrichtext.tags.default: | ||
template: EzPublishCoreBundle:FieldType/RichText/tag:default.html.twig | ||
ezsettings.default.fieldtypes.ezrichtext.tags.default_inline: | ||
template: EzPublishCoreBundle:FieldType/RichText/tag:default_inline.html.twig | ||
|
||
# RichText field type template style settings | ||
# 'default' and 'default_inline' tag identifiers are reserved for fallback | ||
ezsettings.default.fieldtypes.ezrichtext.styles.default: | ||
template: EzPublishCoreBundle:FieldType/RichText/style:default.html.twig | ||
ezsettings.default.fieldtypes.ezrichtext.styles.default_inline: | ||
template: EzPublishCoreBundle:FieldType/RichText/style:default_inline.html.twig | ||
|
||
# RichText field type embed settings | ||
ezsettings.default.fieldtypes.ezrichtext.embed.content: | ||
template: EzPublishCoreBundle:FieldType/RichText/embed:content.html.twig | ||
ezsettings.default.fieldtypes.ezrichtext.embed.content_denied: | ||
template: EzPublishCoreBundle:FieldType/RichText/embed:content_denied.html.twig | ||
ezsettings.default.fieldtypes.ezrichtext.embed.content_inline: | ||
template: EzPublishCoreBundle:FieldType/RichText/embed:content_inline.html.twig | ||
ezsettings.default.fieldtypes.ezrichtext.embed.content_inline_denied: | ||
template: EzPublishCoreBundle:FieldType/RichText/embed:content_inline_denied.html.twig | ||
ezsettings.default.fieldtypes.ezrichtext.embed.location: | ||
template: EzPublishCoreBundle:FieldType/RichText/embed:location.html.twig | ||
ezsettings.default.fieldtypes.ezrichtext.embed.location_denied: | ||
template: EzPublishCoreBundle:FieldType/RichText/embed:location_denied.html.twig | ||
ezsettings.default.fieldtypes.ezrichtext.embed.location_inline: | ||
template: EzPublishCoreBundle:FieldType/RichText/embed:location_inline.html.twig | ||
ezsettings.default.fieldtypes.ezrichtext.embed.location_inline_denied: | ||
template: EzPublishCoreBundle:FieldType/RichText/embed:location_inline_denied.html.twig |
Oops, something went wrong.