question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unmark one of the many instances of same class

See original GitHub issue

This is in continuation of issue#101 I have updated the JSFiddle

Now i am trying to unmark the text user selected. After marking any word just click on that marked word and hover on the unmark div to unmark.

Issue i am facing is when same class is applied to multiple words in same p tag, and if i select one of those marked word and hover over unmark div, all the marks with same class gets removed. For example, if all the instances of word ‘Hello’ in 2nd line are marked separately, and i click on one of these and hover on unmark div, all the marks in that line gets removed. Any way to solve this?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
uzair08inatorcommented, Jan 4, 2017

Oh…I realized i have to learn a lot 😃 Thanks for the support. U r doing a great job

0reactions
stale[bot]commented, Aug 20, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java multiple instances of same class share the same running ...
I'm doing a multithreaded Java optimization algorhithm which initiates various instances of the same subclass, for time improvement reason.
Read more >
2.1. Objects - Instances of Classes — AP CSAwesome
Objects are the variables created from a class definition, and they are instances of a class. We've created String objects in Unit 1...
Read more >
object oriented - Multiple instance of the same class?
You can always create multiple instances of a class! This is what classes are designed for! Each object will hold its own individual...
Read more >
Deselect object when another instance is selected
Relevant: C#, 2D My problem is I have a couple instances of a prefab that are selectable by mouse click. I want it...
Read more >
Understanding Class Members (The Java™ Tutorials ...
At the same time, you need a field to keep track of how many Bicycle objects have been created so that you know...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found