Skip to content

Commit

Permalink
set window.CKEDITOR_BASEPATH in javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienReuiller committed Oct 9, 2023
1 parent 6431758 commit 92f8fa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lemarche/templates/tenders/create_step_general.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
{% endblock content_form %}

{% block extra_js %}
<script>window.CKEDITOR_BASEPATH = '/static/ckeditor/ckeditor/';</script>
<script type="text/javascript" src="{% static "ckeditor/ckeditor-init.js" %}"></script>
<script type="text/javascript" src="{% static "ckeditor/ckeditor/ckeditor.js" %}"></script>
{{ current_perimeters|json_script:"current-perimeters" }}
Expand Down

0 comments on commit 92f8fa5

Please sign in to comment.