Some tests fail because the iframe hasn't loaded the inner hedgedoc renderer yet
but cypress tries to travel through the dom and verify the render results.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Change cypress settings in CI job
* Catch error from highlight js chunk loading in auto completion
* Refactor code
* Show notification if highlightjs loading failed
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Update history on editor load and title change
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Add pinning to history from sidebar
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Add CHANGELOG entry
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Only update local history entries
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Update property names to match backend ones
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Show error notification on failure
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Apply requested changes from review
- rename use hook to reflect the situation that only local entries will be updated
- extract the update ready check from the hook
- rename vars to make comparison more clear
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
- Fix error that the border of table cells was invisible in dark mode
- Add margin to table cells
- Add full border to table cells
- Change border-color while hovering over table cells
Signed-off-by: Philip Molares <philip.molares@udo.edu>
The original idea of the basic-markdown-renderer and the full-markdown-renderer was to reduce the complexity. The basic markdown renderer should just render markdown code and the full markdown renderer should implement all the special hedgedoc stuff like the embeddings.
While developing other aspects of the software I noticed, that it makes more sense to split the markdown-renderer by the view and not by the features. E.g.: The slide markdown renderer must translate <hr> into <sections> for the slides and the document markdown renderer must provide precise scroll positions. But both need e.g. the ability to show a youtube video.
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>