Make WordPress Core

Opened 3 years ago

Last modified 6 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:
Focuses: Cc:


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 (5)

comment:1 @SergeyBiryukov3 years ago

  • Component changed from General to Editor

comment:2 follow-up: @toscho3 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="" />

comment:3 in reply to: ↑ 2 @mark-k3 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 ;)

comment:4 @iseulde6 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.

comment:5 @helen6 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 6 months ago by helen (previous) (diff)
Note: See TracTickets for help on using tickets.