Default icon is ambiguous, confusing

Created on 9 July 2020, almost 4 years ago
Updated 28 March 2024, 3 months ago

The current default icon is a musical note with film behind it. While I understand the connection between that and the purpose of this module (the URLs we are embedding often represent some kind of media), I think that metaphor is not obvious enough. Furthermore, many advanced WYSIWYG use cases also use Core's media embed button, which looks very similar (musical note with image behind it).

In order to make the url embed button more obvious and make it less likely to be confused with the media embed button, I propose we change the default icon. Here are a few ideas:

"Share" icon


Users often have to click on an icon like this one to obtain the url that they want to embed. (by Pixel perfect from www.flaticon.com)

"Code" icon


Users familiar with html would recognize the angle brackets/slash as a reasonable symbol for an embed code (which this button is an alternative to). (by Freepik from www.flaticon.com)

"Scheme" icon

Finally, an icon that just has:

://

Would pretty clearly indicate a URL.

The images are just examples, not the actual images I propose we add to the codebase.

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States xaqrox Washington, D.C.

Live updates comments and jobs are added and updated live.
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.

  • πŸ‡ΊπŸ‡ΈUnited States mark_fullmer Tucson

    The icon in the 2.x branch has been updated to be less ambiguous: https://git.drupalcode.org/project/url_embed/-/blob/2.x/js/ckeditor5_plu...

    This icon is intended to be disambiguated from both the core "Image" icon and the core "Media" icon.

    I'm happy to entertain better icons, but since this issue hasn't received comment in 4 years, I propose we close this as outdated. Further discussion related to the new icon can happen in a new issue, if needed.

    Thanks!

  • πŸ‡³πŸ‡±Netherlands Dries Arnolds πŸ‡³πŸ‡± Amsterdam

    Is there a reason that we can't just change the icon ourselves through the Embed Buttons configuration at /admin/config/content/embed?

    I mean, I can change it there, but nothing happens. Not even after rigorous cache clearing...

  • πŸ‡ΊπŸ‡ΈUnited States mark_fullmer Tucson

    I mean, I can change it there, but nothing happens.

    I think the pertinent bit is that this icon is intended for use with the CKEditor 4 toolbar; it's still in the interface to support that version of CKEditor. It is not relevant if you are using CKEditor 5, and the 3.x version of this module will remove the interface, along with support for CKEditor 4.

Production build 0.69.0 2024