File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
martor_demo/app/templates Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ to get ``IMGUR_CLIENT_ID`` and ``IMGUR_API_KEY``.
107107 'jquery': 'true', # to include/revoke jquery (require for admin default django)
108108 }
109109
110- # To setup the martor edito with label or not (default is False)
110+ # To setup the martor editor with label or not (default is False)
111111 MARTOR_ENABLE_LABEL = False
112112
113113 # Imgur API Keys
Original file line number Diff line number Diff line change 1010 }
1111)
1212
13- # To setup the martor edito with label or not (default is False)
13+ # To setup the martor editor with label or not (default is False)
1414MARTOR_ENABLE_LABEL = getattr (
1515 settings , 'MARTOR_ENABLE_LABEL' , False
1616)
Original file line number Diff line number Diff line change 5757 < script type ="text/javascript " src ="{% static 'plugins/js/resizable.min.js' %} "> </ script >
5858 < script type ="text/javascript " src ="{% static 'plugins/js/emojis.min.js' %} "> </ script >
5959 < script type ="text/javascript " src ="{% static 'martor/js/martor.min.js' %} "> </ script >
60+
61+ {% block js %}{% endblock %}
6062</ body >
6163</ html >
Original file line number Diff line number Diff line change 2020 </ div >
2121 </ div >
2222 </ div >
23+ {% endblock %}
2324
25+ {% block js %}
2426 < script >
2527 $ ( 'form [name="title"]' ) . attr ( { 'placeholder' : 'Post Title' } ) ;
28+ $ ( '.ui.menu .ui.dropdown.item' ) . dropdown ( ) ;
2629 </ script >
2730{% endblock %}
You can’t perform that action at this time.
0 commit comments