WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 8 months ago

#23323 new enhancement

img quicktag is so inferior to add media, should be merged or removed

Reported by: mark-k Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.5
Component: Editor Keywords: close
Focuses: Cc:

Description

Right now, in the text editor there are two ways to add an image, with the "img" button or the "add media" button. "Add media" contains all the functionality of "img" and adds much more, while "img" is ugly and feels like an historical artifact.

IMO "img" should be deleted or be an alias to "add media"

Change History (7)

#1 @SergeyBiryukov
4 years ago

  • Component changed from General to Editor

#2 follow-up: @toscho
4 years ago

  • Cc info@… added
  • Keywords close added

The Text editor is in fact an HTML editor, it had a name reflecting that better in the past.

The img button is very useful if you want to use an image that is not part of the media library. Basic example:

This is our favicon: <img src="/favicon.ico" alt="" />

#3 in reply to: ↑ 2 @mark-k
4 years ago

Replying to toscho:

  1. (off topic) the text editor is *not* an HTML editor as HTML doesn't have shortcodes and you need to wrap content in p or div
  1. I can insert
<img src="/favicon.ico" alt="" />

both ways.
The workflow with "add media" will be

  1. click "add media"
  2. click "Insert from URL:
  3. fill data and insert into post

The work flow with the "img" button will be

  1. click "img"
  2. first window enter the URL
  3. second window enter alt text

So even without any of the advantages of the media library you get the exact same result, the "img" way is not faster and it is much uglier.

Just because I do some HTML editing doesn't mean that I want to use the same interface like it is 2000 all over again ;)

#4 @iseulde
18 months ago

  • Keywords close removed

Imo we should either remove it or just insert the tag without any prompts. Chrome even asks me if it should surpress additional prompts. Would be good to hear the opinion of people who use the text editor a lot.

#5 @helen
18 months ago

Why not the media modal?

Edit: I do know that this is a separate button :) Just wondering why people use this instead of Add Media.

Last edited 18 months ago by helen (previous) (diff)

#6 @afercia
9 months ago

  • Keywords close added

As I see it, "Quick Tags" is a pretty old tool intended to help users to quickly insert HTML tags. It still does its job, though we're at the end of 2015 and I guess we all would like to see some more modern tool introduced in its place. There's probably not so great value in trying to "refine" it.

@iseulde:

or just insert the tag without any prompts. Chrome even asks me if it should surpress additional prompts

the second one is necessary to insert the required alt attribute.

Also, no activity or patches in 9 months. I'd propose to close this ticket if no objections.

#7 @michaelarestad
8 months ago

or just insert the tag without any prompts.

I'd opt for that route if we keep it or just remove the quicktag altogether. I'd prefer we move a whole bunch of the quicktags, tbh: b-quote, code, del, ins, img, and maybe even ul, ol, li

Note: See TracTickets for help on using tickets.