-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recognize users cursor's highlighted text
The first step to the bootleg Google Docs commenting system is recognizing when an abstract's text is highlighted, and what text in particular. Using the web api `Window.getSelection()`, in the way that was suggested by Dasari Srinivas, one can highlight text and have it show up elsewhere. Right now, highlighted text is in a tentative spot in the comment div as a single comment that is not stored in any way, nor even tied to the `comment` field of `Submissions`. Issue #147 (Create comment object) Epic #131 (Submission Card View)
- Loading branch information
1 parent
77b5263
commit bb7eb13
Showing
3 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters