Skip to content

Commit f96a2e9

Browse files
authored
Merge pull request #5 from olymk2/master
Small tweaks mainly small issues encountered
2 parents 03e4c94 + e450dbe commit f96a2e9

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ Setting Configurations ``settings.py``
9797
Please register application in https://api.imgur.com/oauth2/addclient
9898
to get ``IMGUR_CLIENT_ID`` and ``IMGUR_API_KEY``.
9999

100+
Check this setting is not set else csrf will not be sent over ajax calls
101+
::
102+
CSRF_COOKIE_HTTPONLY = False
103+
100104
::
101105

102106
# Global draceditor settings
1.07 KB
Loading
5.75 KB
Loading

draceditor/templates/draceditor/guide.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% load i18n %}
1+
{% load i18n static %}
22
<div class="ui medium modal scrolling transition modal-help-guide">
33
<i class="close icon"></i>
44
<div class="header"><i class="help circle icon"></i> {% trans "Markdown Guide" %}</div>
@@ -20,7 +20,7 @@
2020
<td>&mdash;</td>
2121
<td>&mdash;</td>
2222
<td>&mdash;</td>
23-
<td><img class="marked-emoji" src="https://assets-cdn.github.com/images/icons/emoji/smile.png"></td>
23+
<td><img class="marked-emoji" src="{% static 'plugins/images/smile.png' %}"></td>
2424
</tr>
2525
<tr>
2626
<td>@[username]</td>
@@ -84,7 +84,7 @@
8484
<td>![Image][1]<br> &#8285;<br> [1]: http://url/b.jpg</td>
8585
<td>Ctrl+Shift+I</td>
8686
<td>Command+Option+I</td>
87-
<td><img src="http://commonmark.org/help/images/favicon.png" width="36" height="36" alt="Markdown"></td>
87+
<td><img src="{% static 'plugins/images/commonmark.png' %}" width="36" height="36" alt="Markdown"></td>
8888
</tr>
8989
<tr>
9090
<td>&gt; Blockquote</td>

0 commit comments

Comments
 (0)