Enable to customize an icon HTML output

Created on 20 May 2022, over 2 years ago
Updated 24 June 2024, 6 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

1.0

Component

Code

Created by

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

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

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