Skip to content

Insert markdown when click on Add Delivery #161

@nasdan

Description

@nasdan

Implement insert evaluation markdown in Trainer module.

  • Right now there is a dummy DeliveryPanelComponentunder ./src/pages/trainer/training/edit/components/panels/evaluation/deliveryPanelComponent.tsx.

Steps:

  • Create a fork.

  • Create new branch called feature/<issue_number>_<issue_title>(where issue_number is the id of this issue given by Github).

  • The idea is insert the filled delivery title link into current markdown editor.

  • When click on 'Save' button, insert title into markdown text area (./src/pages/trainer/training/edit/components/editor.tsx) a link like: [Test delivery title](url).

  • Don't worry about the url value or delivery description, for now.

  • The funtionality could be some similiar as toolbar link button.
    ./src/pages/trainer/training/edit/components/toolbar/buttons/toolbarMarkdownButton.tsx
    `./src/pages/trainer/training/edit/components/toolbar/groups/linksGroupComponent.tsx

  • Important: Follow this work flow

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions