Skip to content

Edit document page #237

Description

@stevemayne

See "Revised Review Screen - Proposal 1" here - https://app.uizard.io/prototypes/xP8YZgl9PvHdXAM08z3r

This page should be modelled on a Jupyter notebook-style interface.
Its state is stored in a Document entity
The bundle for the editor should be lazy-loaded if possible (assuming it's > 50kB)

[+] allows additional sections to be placed inbetween existing sections or at the beginning or end of the document.
[delete] removes a section after a confirmation dialog is displayed

Text sections should support basic Markdown styling (Bold, Italic, Strikethrough, Heading1-4, Code block, Underline, Link)

Support inclusion of images in JPG and PNG format

It should be possible to add references to the text.

How is the document to be stored and retrieved? Can we encapsulate everything into markdown (with specific link formatting for references, section breaks, etc?)

Image

Definition of done:

  • Load and display a "Document"
  • Allow references to be added, edited and removed
  • Allow sections to be added and removed
  • Allow text to be edited and formatted
  • Allow images to be uploaded into the document
  • Allow text to be copy/pasted from an external source and preserve formatting

Out of scope for MVP:

  • Support for tables (unless we have time) - users can upload images

Under discussion:

  • Document versioning and undo/redo functionality @uv14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions