WordPress.org

Make WordPress Core

Opened 11 months ago

Closed 3 months ago

#51897 closed enhancement (reported-upstream)

add usemap attribute to images in gutenberg

Reported by: anonymized_18421028 Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.7
Component: Editor Keywords:
Focuses: Cc:

Description

'Usemap' is something that is sorely lacking. Gutenberg complains / erases the html img usemap attribute. It should take the developer about one minute of cut-and-paste to add this feature. You don't need to worry about how it is used, just stop erasing it!

This is so easy and so sorely lacking that it should be given top priority and be in the next maintenance release.

FYI: I create the image maps in GIMP and paste them into html blocks. That works great except that at present I also have to put the figure code in the html block as well or Guty complains about it. That is literally an ugly solution. The resulting maps are not responsive, but I don't care, they are not critical. A month after you add this feature, the plugin kiddies will have a dozen responsive image map plugins written for it.

At the same time, you could also add user-defined image id attributes.

Change History (1)

#1 @sabernhardt
3 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Thanks for the report!

This request is moved to GitHub:
https://github.com/WordPress/gutenberg/issues/33711

Note: See TracTickets for help on using tickets.