Commit Graph

13 Commits

Author SHA1 Message Date
Antoine Bartuccio d2c5908c89 core: workaround for crsf token in production for MarkdownInput
See https://docs.djangoproject.com/en/2.0/ref/csrf/#acquiring-the-token-if-csrf-use-sessions-is-true
2018-12-20 18:19:50 +01:00
Antoine Bartuccio d53d725415 core: fix validation error on generic create view with MarkdownInput 2018-12-20 15:03:41 +01:00
Antoine Bartuccio 8111ae107a core: move centralized custom scripts on top of base.jinja and move getCookie inside 2018-12-20 14:15:57 +01:00
Antoine Bartuccio 97b06b160b core: add delay on live preview for MarkdownInput to avoid making too much request to the API 2018-12-20 14:06:30 +01:00
Antoine Bartuccio 19c1361e47 core: fix heading in MarkdownInput 2018-12-19 14:10:39 +01:00
Antoine Bartuccio 542a2ede32 core: translations for MarkdownInupt 2018-12-19 14:02:45 +01:00
Antoine Bartuccio ea538dbab3 core: handle all basic editing actions in MarkdownInput 2018-12-19 12:25:59 +01:00
Antoine Bartuccio 55ff492ec8 core: edit buttons on MarkdownInupt 2018-12-18 14:39:05 +01:00
Antoine Bartuccio 3b08603635 core: avoid inserting automatic whitespace in MarkdownInput 2018-12-18 14:13:15 +01:00
Antoine Bartuccio 4d866843e1 core: move jquery to header section 2018-12-18 13:54:53 +01:00
Antoine Bartuccio 4afd7a0023 core: avoid blinking in MarkdownInput preview 2018-12-14 18:02:01 +01:00
Antoine Bartuccio d6f08d3706 core: use pure js to get cookie in markdown input 2018-12-14 17:53:25 +01:00
Antoine Bartuccio 775f456c40 core: introduce new markdown input
To fix
* Avoid blinking in preview
* Don't insert stupid space on empty textarea
2018-12-14 16:24:11 +01:00