[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
Thu Oct 20 17:39: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 iseulde):
Replying to [comment:22 mrwweb]:
> Replying to [comment:20 iseulde]:
> > Is there a way we can make this clearer? Should we maybe only enable
it inside quotes?
>
> What about putting it above `pre` in the `formatselect` and calling it
"Highlight" or "Mark"? Buries it a bit, labels it clearly, and avoids icon
issues.
`formatselect` contains block markup that cannot be used together. You
cannot have headings inside headings, paragraphs, or `<pre>` tags. See
https://www.w3.org/TR/html-markup/pre.html. This would be a bad place for
`<mark>`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38315#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list