Enable to customize an icon HTML output

Created on 20 May 2022, over 2 years ago
Updated 15 July 2024, 4 months ago

Problem/Motivation

When changes from the default icon to the other, it is very difficult.
As previously described in ✨ Add template for the icon Postponed: needs info , need to rewrite whole Drupal.extlink.applyClassAndSpan to customize icon HTML output on current implementation.

Proposed resolution

Implement icon HTML output using Drupal.theme() JavaScript functions.
If defines icon HTML output on Drupal.theme(), it is easier to override HTML output from an other theme, no need to rewrite whole Drupal.extlink.applyClassAndSpan().

✨ Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡―πŸ‡΅Japan tom konda Kanagawa, Japan

Live updates comments and jobs are added and updated live.
  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024