- 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 - [x] at the beggining I display input text (Title) and presentation section - [x] I delimit the text area and buttons with . . . than I put the group of buttons - [x] a group of button will be displayed under the . . . (+ Title) (+ Text) (+ Image) (+ Code) - float right - [x] 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: - [x] when we have a text area as last element in the new-article page 2. (+ Title) is disabled: - [x] when we have a title as last element in the page ### Technical solution: - [x] Every element will be presented as a TS object - [x] The content of the article will be stored as markdown content - [x] The compiler will generate the html and the html (preview) will be persisted as value of key (articleName, contentHtml from md)
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
Technical solution: