- Issue created by @Revathidinesh
- Issue was unassigned.
- 🇳🇱Netherlands askibinski
Sure, sounds like an improvement.
Note, that you can currently alter the labels using the provided hook.
Want to have the label created from Entity Browsers instead of "Select content"
Enable this module. Enable the Linkit module and configure it for Full HTML or any Text formats. In the Text formats, select the entity browser. Open the create/edit content and in body field, click on Linkit. This will show the label 'Select content' which comes from code from this file. ckeditor5_entity_browser\src\Plugin\CKEditor5Plugin\CkeditorEntityBrowser.php
Change the following line 142 on the file ckeditor5_entity_browser\src\Plugin\CKEditor5Plugin\CkeditorEntityBrowser.php.
Current code: 'label' => $this->t('Select content'),
Proposed code: 'label' => $entity_browser_entity->label,
Active
1.0
Code
Sure, sounds like an improvement.
Note, that you can currently alter the labels using the provided hook.