mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-25 09:30:31 +00:00
Move TinyMCE into edit_books.js
This commit is contained in:
parent
5715d27c97
commit
61e0405f75
@ -3,6 +3,13 @@
|
||||
*/
|
||||
/* global Bloodhound, language */
|
||||
|
||||
tinymce.init({
|
||||
selector: '#description',
|
||||
branding: false,
|
||||
menubar: 'edit view format',
|
||||
language: language
|
||||
});
|
||||
|
||||
if (!Modernizr.inputtypes.date) {
|
||||
$('#pubdate').datepicker({
|
||||
format: 'yyyy-mm-dd',
|
||||
|
@ -200,14 +200,6 @@
|
||||
{% if not g.user.locale == 'en' %}
|
||||
<script src="{{ url_for('static', filename='js/libs/bootstrap-datepicker/locales/bootstrap-datepicker.' + g.user.locale + '.min.js') }}" charset="UTF-8"></script>
|
||||
{% endif %}
|
||||
<script type="text/javascript">
|
||||
tinymce.init({
|
||||
selector: '#description',
|
||||
branding: false,
|
||||
menubar: 'edit view format',
|
||||
language: '{{ g.user.locale }}'
|
||||
});
|
||||
</script>
|
||||
<script src="{{ url_for('static', filename='js/edit_books.js') }}"></script>
|
||||
{% endblock %}
|
||||
{% block header %}
|
||||
|
Loading…
Reference in New Issue
Block a user