Tilman Vatteroth
6a6f6105b9
Upgrade to CodeMirror 6 ( #1787 )
...
Upgrade to CodeMirror 6
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-13 11:14:01 +00:00
Tilman Vatteroth
ca49eb957d
Added NEXT_PUBLIC_IGNORE_IFRAME_ORIGIN_CONFIG ( #1738 )
...
* Added NEXT_PUBLIC_IGNORE_IFRAME_ORIGIN_CONFIG
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 23:05:02 +00:00
Tilman Vatteroth
6594e1bb86
Move markdown split into redux ( #1681 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-14 10:16:25 +01:00
Tilman Vatteroth
a96b06c95b
Fix renderer type test ( #1647 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-21 12:48:30 +01:00
Tilman Vatteroth
a398660c18
Add cypress id attribute only in test mode ( #1566 )
...
* Add function for test attribute
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Adjust components
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Fix naming of attribute
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename method
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename method, interface, attribute and use interface
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Lint and format fix
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-17 21:20:23 +02:00
renovate[bot]
2abe40ef1d
Update dependency eslint-plugin-import to v2.25.2 ( #1555 )
...
* Update dependency eslint-plugin-import to v2.25.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Make type imports more explicit
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Enforce use of type imports
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-17 18:45:58 +02:00
Tilman Vatteroth
36e445e631
Add slide mode with reveal.js
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-15 21:27:06 +02:00
Tilman Vatteroth
bd036b5b68
Refactor iframe load callback to fix race condition ( #1536 )
...
* Refactor iframe load callback to fix race condition
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-13 22:07:46 +02:00
Tilman Vatteroth
f1e91b4574
Restructure Communicator ( #1510 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-26 11:09:46 +02:00
Erik Michelson
04e16d8880
Move frontmatter extraction from renderer to redux ( #1413 )
2021-09-02 11:15:31 +02:00
Tilman Vatteroth
015a5cf496
Extract the render ready status into an extra redux state
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-21 21:38:36 +02:00
Tilman Vatteroth
1fef30bebc
Add new data property to iframe that indicates if the content is ready.
...
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>
2021-06-19 16:41:43 +02:00
Tilman Vatteroth
cfb2de8909
Add renderer ready state to global application state
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-19 16:02:55 +02:00
Tilman Vatteroth
31ca77ebfa
Throw error if no communicator was found in a react context
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-17 23:32:47 +02:00
Tilman Vatteroth
6285af458a
Iframe communicator context (2/3) ( #1310 )
...
* Add type
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Extract code and add new context provider
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Adjust import
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-12 16:14:46 +02:00
Tilman Vatteroth
829cc2fe48
Add application state hook ( #1308 )
...
* Add application state hook
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Add docs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-11 15:21:24 +02:00
Erik Michelson
0aae1f70d2
Add prettier for codestyle and re-format everything ( #1294 )
2021-06-06 23:14:00 +02:00
Philip Molares
9cf7980334
Fix Communication between frontend and backend ( #1201 )
...
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-05-01 21:01:42 +00:00
Tilman Vatteroth
af887877aa
Add context for iframe communicator in editor page ( #1146 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-03 12:59:14 +02:00
Tilman Vatteroth
7f6e0e53a7
Add custom intro page by fetching markdown content from a file ( #697 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-08 15:03:11 +01:00
Tilman Vatteroth
e12dc523f8
Adjust editor config ( #976 )
...
* Adjust editor config
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2021-02-03 22:13:04 +01:00
Tilman Vatteroth
0180c75e55
Remove wider mode #999
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-02 22:13:31 +00:00
Tilman Vatteroth
123f959fb3
Move and rename files (2/4) ( #987 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-02 00:03:47 +01:00