[wp-trac] [WordPress Trac] #38315: Implement a new Highlight button in tiny MCE using the semantic <mark> html tag

WordPress Trac noreply at wordpress.org
Wed Oct 19 23:20:16 UTC 2016


#38315: Implement a new Highlight button in tiny MCE using the semantic <mark> html
tag
-----------------------------------+-----------------------
 Reporter:  hugobaeta              |       Owner:  azaozz
     Type:  enhancement            |      Status:  assigned
 Priority:  normal                 |   Milestone:  4.7
Component:  TinyMCE                |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  ui-feedback has-patch  |     Focuses:  ui
-----------------------------------+-----------------------

Comment (by mrwweb):

 Regarding icons, that 1st icon is very similar to buttons in other editors
 (Word, G Docs, etc.) where the end-user gets to pick the highlight color.
 I think that sends the wrong message to users.

 I like 3 the most as it's rather literal. I think 2 could work with some
 refinement to make it more highlighter-y. Just searching for
 [https://www.google.com/search?safe=off&site=imghp&tbm=isch&source=hp&biw=1448&bih=761&q=highlight+icon&oq=highlight+icon&gs_l=img.3..0l2j0i5i30k1l2j0i8i30k1j0i24k1l2.1125.3116.0.3329.14.11.0.3.3.0.106.617.10j1.11.0....0...1ac.1.64.img..0.14.623
 .qvPR-OQ_1sc#safe=off&tbm=isch&q=highlight+text+icon "highlight text
 icon"] there are lots of icons that take an approach similar to the
 strikethrough icon (i.e. "ABC").

 Given the current discussions of semantic formatting, I think we should
 keep the [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark
 definition and intention of <mark> in mind when thinking about an icon]:

 > The HTML Mark Element (<mark>) represents highlighted text, i.e., a run
 of text marked for reference purpose, due to its relevance in a particular
 context.

 > - In a quotation or another block, the highlighted text typically marks
 text that is referenced outside the quote, or marked for specific scrutiny
 even though the original author didn't consider it important.
 > - In the main text, the highlighted text typically marks text that may
 be of special relevance for the

 Two rough options that play off the strikethrough icon:

 [[Image(https://cldup.com/xj54O6S1e3.thumb.jpg)]]
 [[Image(https://cldup.com/oqo1MV8VB4.thumb.jpg)]]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38315#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list