mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 11:37:02 -04:00
Added markdown-file import (#645)
* Added markdown-file import * Reset file input after read, don't add unnecessary blank lines * Add cypress-file-upload dependency * Add cypress tests for md file importing * Added CHANGELOG entry
This commit is contained in:
parent
c1d4ac1014
commit
729ad652b3
11 changed files with 113 additions and 7 deletions
|
@ -115,7 +115,7 @@ export const Editor: React.FC = () => {
|
|||
<DocumentTitle title={documentTitle}/>
|
||||
<div className={'d-flex flex-column vh-100'}>
|
||||
<AppBar/>
|
||||
<DocumentBar title={documentTitle} noteContent={markdownContent}/>
|
||||
<DocumentBar title={documentTitle} noteContent={markdownContent} updateNoteContent={(newContent) => setMarkdownContent(newContent)}/>
|
||||
<Splitter
|
||||
showLeft={editorMode === EditorMode.EDITOR || editorMode === EditorMode.BOTH}
|
||||
left={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue