[wp-trac] [WordPress Trac] #51897: add usemap attribute to images in gutenberg
WordPress Trac
noreply at wordpress.org
Mon Nov 30 06:33:07 UTC 2020
#51897: add usemap attribute to images in gutenberg
-------------------------+-----------------------------
Reporter: argaliano | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
'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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51897>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list