Skip to content

contribMan/annotate

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

annotate

ReactJS tool for highlighting text πŸ“ (to help create annotations πŸ’­)

Getting Started

This is a WIP. I am trying to create a tool that can help me get information when highlight/selecting text.

Goal

  • Create a component that we can wrap around text that we want to annotate
<Wrapper>
  <p>The enemy soldiers repidly run towards the fort's entrance.</p>
  <p className="extra-bold">Kotha Singh and Madan Singh embody fortitude and fire their guns towards them.</p>
</Wrapper>
  • When a piece of text is selected in the Wrapper child, we should be get back some important information: selectedText, startIdx, endIdx, anchorNode, etc.
  • Optional argument to highlight the text (like with CSS)

Similar OSS

There are other great tools that deserve a shout-out.

About

ReactJS tool for highlighting text πŸ“ (to help create annotations πŸ’­)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 93.4%
  • HTML 4.2%
  • CSS 2.3%
  • Shell 0.1%