Skip to content

Truncate shortcode in shortcode popup #253

Open

Description

@JohnPixle

In the shortcode popup, can we truncate the text of the shortcode in order to make it fill in a single line? Users will be able to see it if they select it anyway, but most of the cases they will just copy it through the button.

Image attached!

Image

cc @imantsk @sheabunge

Activity

  1. sheabunge commented on Sep 12, 2025

    @sheabunge
    Member

    We can cut it off, sure. Is it worth having a scroll bar in there?

    One thing to keep in mind is that I believe copy functionality does not work for websites that use HTTP instead of HTTPS – hopefully something that's pretty rare these days, but it should still be functional without.

  2. JohnPixle commented on Sep 12, 2025

    @JohnPixle
    Author

    We can cut it off, sure. Is it worth having a scroll bar in there?

    Nah, I don't think a. scrollbar is necessary. User should be able to select the shortcode text anyway, and the UX is common/ familliar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions