Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research the Custom Highlight API for when it becomes available [🟧 awaiting firefox support] #2190

Open
chrisblakley opened this issue Jan 21, 2022 · 2 comments
Labels
Frontend (Script) Related to the client-side JavaScript. Frontend (Style) Related to the client-side CSS (or Sass) Low Priority Not of great importance, and certainly not urgent. Plugin / Library / API For third-party resources such as WordPress plugins, external APIs, and other libraries.
Milestone

Comments

@chrisblakley
Copy link
Owner

chrisblakley commented Jan 21, 2022

Initial implementation ideas for this would be for search results to replace (or extend) the Nebula highlighting function, and it could also assist the Nebula keyword filter function.

https://www.w3.org/TR/css-highlight-api-1/

https://caniuse.com/mdn-api_highlight

@chrisblakley chrisblakley added Plugin / Library / API For third-party resources such as WordPress plugins, external APIs, and other libraries. Frontend (Style) Related to the client-side CSS (or Sass) Frontend (Script) Related to the client-side JavaScript. labels Jan 21, 2022
@chrisblakley chrisblakley added this to the 10.0 Cygnus X milestone Jan 21, 2022
@chrisblakley chrisblakley modified the milestones: 10.0 Cygnus X, 11.0 TBD May 1, 2022
@chrisblakley chrisblakley modified the milestones: 11.0 Carina, 12.0 Flame May 1, 2023
@chrisblakley chrisblakley changed the title Research the Custom Highlight API for when it becomes available Research the Custom Highlight API for when it becomes available (awaiting support tracking) Jul 24, 2023
@chrisblakley chrisblakley changed the title Research the Custom Highlight API for when it becomes available (awaiting support tracking) Research the Custom Highlight API for when it becomes available (❌ awaiting support tracking) Jul 24, 2023
@chrisblakley
Copy link
Owner Author

More info here: https://developer.mozilla.org/en-US/docs/Web/CSS/::highlight

The example given is way more complicated than this needs to be and actually makes it look more involved than it is.

However, I don't know if I love that this involves JavaScript at all... May just keep the existing Nebula highlighting since it only needs CSS.

@chrisblakley
Copy link
Owner Author

chrisblakley commented Jan 24, 2024

@chrisblakley chrisblakley changed the title Research the Custom Highlight API for when it becomes available (❌ awaiting support tracking) Research the Custom Highlight API for when it becomes available [🟧 awaiting firefox support] Jan 24, 2024
@chrisblakley chrisblakley modified the milestones: 12.0 Flame, 13.0 Bubble May 1, 2024
@chrisblakley chrisblakley added the Low Priority Not of great importance, and certainly not urgent. label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend (Script) Related to the client-side JavaScript. Frontend (Style) Related to the client-side CSS (or Sass) Low Priority Not of great importance, and certainly not urgent. Plugin / Library / API For third-party resources such as WordPress plugins, external APIs, and other libraries.
Projects
None yet
Development

No branches or pull requests

1 participant