- Issue created by @ericdsd
- 🇮🇳India ravi kant Jaipur
@ericdsd
If i am not wrong, this module is not providing option to add attributes.
Also can you provide recreation steps for this issue? - 🇫🇷France ericdsd France
@Ravi Kant, i actually suggest to add data-attributes to the back office widget options to allow making it more "wysiwyg", not to change the markup genrated in the frontend by the module.
- 🇺🇸United States justcaldwell Austin, Texas
Rather than attempting to style the link dropdown UI, you can make the link/button style CSS available to the wysiwyg text area via [New API for adding theme-specific styles in CKEditor 5 | Drupal.org]( https://www.drupal.org/node/3259165 → ). With this approach, your editors will see the resulting style changes on their actual content as soon as they select a link style or styles.
- 🇫🇷France ericdsd France
Hi justcaldwell that's of course what i'll also do, but it's clearly easier for editor to see the layout of the button style they use. That's why having a way to target option to apply custom style would be very nice to have.