tleb
|
7ecb057b68
|
Isolate easymde instances so that they can be referenced
|
2019-10-16 12:18:23 +02:00 |
tleb
|
e932abfa74
|
Prevent pressing submit if the Markdown widget is empty
|
2019-10-15 10:41:10 +02:00 |
tleb
|
0011f4c7b0
|
Only register onchange once the submit button has been pressed
|
2019-10-15 10:23:15 +02:00 |
tleb
|
13312e9879
|
Highlight a markdown input in red if required and submit is pressed
Kind of copy the behaviour of a Firefox input
Once the submit button has been pressed, highlight in red the text
input if it's required but empty
|
2019-10-15 09:54:10 +02:00 |
tleb
|
ced90c23db
|
More JS-like, callback as last argument
|
2019-10-15 09:53:44 +02:00 |
Cyl
|
a4ed535b34
|
core: optimisation and take off the auto-download of Font Awesome
|
2019-05-10 15:49:20 +02:00 |
Cyl
|
ad6f17d309
|
core: replace simplemde with easymde
|
2019-05-06 20:42:35 +02:00 |
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 |