Skip to content

New feature: Ability to edit the span of text selected when editing an annotation #298

@lucaju

Description

@lucaju

Gives the user ability to correct text selection with precision, especially when the document runs through NERVE where text selection is done automatically.

Expected Behaviour

When editing an annotation:

  1. Show anchors at the start and end of selection.
  2. User can correct the span of text in the selection moving the anchors back and forward.
  3. Use the the new text span to anchor the annotation

Current Behaviour

There is currently no way to correct the selection besides removing the tag and added it again.

Possible Solution

Use the the DOM Selection API to manipulate the start and end anchors.

  • Warning: Selection API is still in its early stages of development.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions