-
Notifications
You must be signed in to change notification settings - Fork 426
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
Selection / highlighting breaks across <ul>'s #2010
Comments
What exactly do I need to select to reproduce this? And what is the actual symptom that you see? |
Is anyone else okay with me beginning to close all tickets related to problems induced by the highlighter markup and pushing for nickstenning/marks work instead? @nickstenning ? |
|
|
@tilgovi select text across a couple bullet points--which will span the ul's. The annotation won't "stick." As far as closing these go, we need to have a stated / determined replacement (marks...maybe?) and a plan for realizing it before close these. When we close them, it should be either because they're fixed or are now being tested with the new solution or being reported as feature requirements for the new thing. We shouldn't just loose them as they're at least useful test cases. |
Then we should garden/consolidate.
|
I can't reproduce any problem on that page with that markup. If you can, please provide greater detail on the expected and actual outcomes and what you did. |
This is probably a poor description and someone more familiar with Annotator and it's DOM manipulation / handling could say it better (and feel free to!).
Here's the situation:
On http://fivethirtyeight.com/features/how-the-fivethirtyeight-senate-forecast-model-works/
The bulleted list is...crazy. It's actually three separate
<ul>
's each with a single<li>
(for whitespace? 😕 )From what I can tell, the selection adding logic doesn't make it back that far in the hierarchy to create the selection
<span>
's in the DOM...or something.I used Firefox's HTML inspector and made it one single
<ul>
and all worked as expected.Not sure what would need to be changed about Annotator to make it bridge that gap.
Also, I'm happy to move this issue to the Annotator repo if that's better.
The text was updated successfully, but these errors were encountered: