This file contains hidden or 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
ezrichtext_extension: | |
custom_classes: | |
p: [p-class-1, p-class-2, p-class-3] | |
table: [table-class-1, table-class-2] | |
custom_attributes: | |
tr: | |
hide: | |
type: checkbox | |
p: | |
max-length: |
This file contains hidden or 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
php bin/console bazinga:js-translation:dump web/assets --merge-domains | |
yarn encore dev |
This file contains hidden or 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
$bundles = [ | |
... | |
new ContextualCode\EzPlatformCustomAttributesBundle\EzPlatformCustomAttributesBundle(), | |
]; |
This file contains hidden or 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
composer require contextualcode/ezplatform-custom-attributes |
This file contains hidden or 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
cd /var/www/ezplatform | |
composer require your-namespace/my-bundle |
This file contains hidden or 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
"repositories": [ | |
{ | |
"type": "path", | |
"url": "/var/www/my-bundle" | |
} | |
], |
This file contains hidden or 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
{ | |
"name": "your-namespace/my-bundle", | |
"license": "GPL-2.0-only", | |
"version": "0.0.1", | |
"type": "symfony-bundle", | |
"description": "Cool and reusable bundle", | |
"minimum-stability": "dev", | |
"autoload": { | |
"psr-4": { | |
"your-namespace\\MyBundle\\": "src/bundle/" |
This file contains hidden or 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
mkdir -p /var/www/my-bundle |
This file contains hidden or 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
const ezParagraphConfig = new window.eZ.ezAlloyEditor.ezParagraphConfig({ customStyles: this.customStylesConfigurations }); | |
const ezCustomStyleConfig = new window.eZ.ezAlloyEditor.ezCustomStyleConfig({ customStyles: this.customStylesConfigurations }); | |
const pluginButtons = ['Smiley', 'random']; | |
ezCustomStyleConfig.buttons = ezCustomStyleConfig.buttons.concat(pluginButtons); | |
ezParagraphConfig.buttons = ezParagraphConfig.buttons.concat(pluginButtons); |
This file contains hidden or 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
CKEDITOR.plugins.addExternal( 'smiley', '/bundles/extendedadminui/js/alloyeditor/plugins/smiley/' ); |