Skip to content

Add toggle to show unannotated clean text view in annotation editor #5910

Description

@shreeya1810

Summary

Add a toggle button in the annotation editor toolbar that shows/hides a panel with the plain document text — no annotation highlights or colored spans.

Use Case

In densely annotated biomedical documents, the visual complexity of overlapping highlighted spans can make it hard to read the document. Annotators need to read the plain abstract to understand full context before or during annotation, without the distraction of existing markup.

Proposed Solution

  • Toggle button next to document title in toolbar
  • Shows/hides a panel above the annotation editor with raw document text
  • State persisted in AnnotationPreference.cleanTextMode
  • Styled for readability (serif font, justified, comfortable line height)
  • Updates via AJAX without full page reload

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions