Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 4283c3b

Browse files
committed
Reindent the code example
1 parent 1cb6ff7 commit 4283c3b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/INSTALL.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232

3333
CKEDITOR_JQUERY_URL = 'https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js'
3434

35-
9. CKEditor needs to know where its assets are located because it loads them lazily only when needed. The location is determined by looking at a script tag which includes a URL ending in ``ckeditor.js``. This does not work all the time, for example when using ``ManifestStaticFilesStorage``, any asset packaging pipeline or whatnot. django-ckeditor is quite good at automatically detecting the correct place even then, but sometimes you have to hardcode ``CKEDITOR_BASEPATH`` somewhere. It is recommended to override the ``admin/base_site.html`` template with your own, i.e.::
35+
9. CKEditor needs to know where its assets are located because it loads them lazily only when needed. The location is determined by looking at a script tag which includes a URL ending in ``ckeditor.js``. This does not work all the time, for example when using ``ManifestStaticFilesStorage``, any asset packaging pipeline or whatnot. django-ckeditor is quite good at automatically detecting the correct place even then, but sometimes you have to hardcode ``CKEDITOR_BASEPATH`` somewhere. It is recommended to override the ``admin/base_site.html`` template with your own, i.e.:
3636

37-
{% extends "admin/base_site.html" %}
37+
{% extends "admin/base_site.html" %}
3838

39-
{% block extrahead %}
40-
<script>window.CKEDITOR_BASEPATH = '/static/ckeditor/ckeditor/';</script>
41-
{{ block.super }}
42-
{% endblock %}
39+
{% block extrahead %}
40+
<script>window.CKEDITOR_BASEPATH = '/static/ckeditor/ckeditor/';</script>
41+
{{ block.super }}
42+
{% endblock %}
4343

4444

4545
## Optional

0 commit comments

Comments
 (0)