Adding Buttons to AlloyEditor's Toolbars

AlloyEditor’s toolbars contain several useful functions out-of-the-box. You may, however, want to customize the default configuration to include a button you’ve created, to add an existing button to a toolbar, or to add an existing CKEditor button that’s bundled with Liferay DXP’s AlloyEditor. The EditorConfigContributor interface, provides everything you need to modify an editor’s configuration, including adding buttons to AlloyEditor’s toolbars. CKEditor Configuration settings that modify the editor’s behavior (excluding UI modifications) can also be passed down through this configuration object.

The module is the example throughout these tutorials. If you want to use it as a starting point for your own configuration or follow along with the tutorials, you can download the module’s zip file from the Github repo.

« AlloyEditorCreating the OSGi Module and Configuring the EditorConfigContributor Class »
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0