1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-25 01:33:58 +03:00
gitea/public
Cherrg 6fbfffeeb8 wiki - editor - enable side-by-side button (#7242)
* wiki - enable side-by-side button in editor

and add some delay so side-by-side live preview is updated
* every 10th keypress
* if keypress < 10 -> apter no input for 1 sec

affects #5436


Signed-off-by: Michael Gnehr <michael@gnehr.de>

* decrease timeinterval user need to stop before rendering is triggered

Signed-off-by: Michael Gnehr <michael@gnehr.de>

* removed not needed code with simpleMDE placeholder

Signed-off-by: Michael Gnehr <michael@gnehr.de>

* run highlight.js on markdown preview

Signed-off-by: Michael Gnehr <michael@gnehr.de>

* fix white border around side-by-side preview

Signed-off-by: Michael Gnehr <michael@gnehr.de>
2019-11-16 10:20:07 +08:00
..
css wiki - editor - enable side-by-side button (#7242) 2019-11-16 10:20:07 +08:00
img Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
js wiki - editor - enable side-by-side button (#7242) 2019-11-16 10:20:07 +08:00
vendor Pack web_src/js/draw.js to public/js/index.js (#8975) 2019-11-14 20:27:50 -05:00