Page MenuHomePhabricator

VisualEditor: Tool to set/unset text as highlighted (<mark>)
Open, LowPublicFeature

Description

I want to use the HTML code <mark> in the newsletter and still be able to edit the draft page in VisualEditor. Right now, adding <mark> produces nowiki tags, and opening a page with <mark> already on it prevents editing the marked text (alienated content).


Version: unspecified
Severity: enhancement

Details

Reference
bz64376

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:18 AM
bzimport set Reference to bz64376.

Change 141605 had a related patch set uploaded by Jforrester:
Split out ve.{dm,ce}.TextStyleAnnotation into parts, add other annotations

https://gerrit.wikimedia.org/r/141605

Change 141605 merged by jenkins-bot:
Split out ve.{dm,ce}.TextStyleAnnotation into parts, add other annotations

https://gerrit.wikimedia.org/r/141605

Will this only allow marking the text in yellow?

(In reply to Elitre from comment #3)

Will this only allow marking the text in yellow?

It will mark the text with <mark>. It's up to users' browsers to decide how to show it as marked, but yes, all major browsers ape the neon-lemon-yellow highlighter colour to show this currently.

I'm unhappy. I demand the ability to pick my favorite color when highlighting.

(In reply to Elitre from comment #5)

I'm unhappy. I demand the ability to pick my favorite color when
highlighting.

Talk to W3C. ;-)

No! Google Docs allows highlighting text in the color I want. Please make that happen somehow?

(In reply to Elitre from comment #7)

No! Google Docs allows highlighting text in the color I want. Please make
that happen somehow?

That's not highlighting with <mark>, that's setting text background colour which is bug 73041.

I had seen that, but given that it didn't mention the word "text" and that elsewhere you were so strongly against the idea, I had to assume it was actually about the page color.
The ability to set a text background in whatever color we want (#FC0FC0, in my case) will IMHO make using <mark> unnecessary.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM
Aklapper removed subscribers: rmoen, TrevorParscal.