Skip to content

Add creation Article in new window editable #15

@kasdihacene

Description

@kasdihacene
  • The aim of this issue is to create a new article:

  • As a developper I can see a new button (Add article) when connected as admin

  • when I click on the button I will be redirected to a page /new-article

  • On the new page a section with title and texte area will be displayed to fill a title and presentation of the article

  • a group of three buttons (TITLE - IMAGE - CODE) will be displayed in the button of the page

  • at the beggining I display input text (Title) and presentation section

  • I delimit the text area and buttons with . . . than I put the group of buttons

  • a group of button will be displayed under the . . . (+ Title) (+ Text) (+ Image) (+ Code) - float right

  • a button (Save article) will be displayed in the same line as a group of buttons on the left

Scenarios

  1. Four buttons are enabled:
  • when we have a text area as last element in the new-article page
  1. (+ Title) is disabled:
  • when we have a title as last element in the page

Technical solution:

  • Every element will be presented as a TS object
  • The content of the article will be stored as markdown content
  • The compiler will generate the html and the html (preview) will be persisted as value of key (articleName, contentHtml from md)

Metadata

Metadata

Assignees

Labels

FRONTENDfornt end implementationenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions