Skip to content

Commit 88a3eff

Browse files
committed
fixed issue #114, update readme & bump version
1 parent c8dba01 commit 88a3eff

File tree

8 files changed

+18
-14
lines changed

8 files changed

+18
-14
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ martor |pypi version|
1111
.. image:: https://img.shields.io/pypi/pyversions/martor.svg
1212
:target: https://pypi.python.org/pypi/martor
1313

14-
.. image:: https://img.shields.io/badge/Django-1.8%20%3E=%202.2-green.svg
14+
.. image:: https://img.shields.io/badge/Django-1.8%20%3E=%203.1-green.svg
1515
:target: https://www.djangoproject.com
1616

1717
.. image:: https://travis-ci.org/agusmakmun/django-markdown-editor.svg?branch=master

martor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
22

3-
__VERSION__ = '1.4.7'
3+
__VERSION__ = '1.4.8'
44
__AUTHOR__ = 'Agus Makmun (Summon Agus)'
55
__AUTHOR_EMAIL__ = '[email protected]'

martor/static/martor/css/martor-admin.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

martor/static/martor/css/martor.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

martor/static/martor/js/martor.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* Name : Martor v1.4.7
2+
* Name : Martor v1.4.8
33
* Created by : Agus Makmun (Summon Agus)
4-
* Release date : 17-Feb-2020
4+
* Release date : 18-Mar-2020
55
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
66
* Repository : https://github.com/agusmakmun/django-markdown-editor
77
**/
@@ -157,13 +157,14 @@
157157
contentType: false,
158158
success: function(response) {
159159
if (response) {
160+
currentTab.html(response).removeClass('martor-preview-stale');
161+
$(document).trigger('martor:preview', [currentTab]);
162+
160163
if (editorConfig.hljs == 'true') {
161164
$('pre').each(function (i, block) {
162165
hljs.highlightBlock(block);
163166
});
164167
}
165-
currentTab.html(response).removeClass('martor-preview-stale');
166-
$(document).trigger('martor:preview', [currentTab]);
167168
} else {
168169
currentTab.html('<p>Nothing to preview</p>');
169170
}

martor/static/martor/js/martor.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

martor_demo/martor_demo/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
'mention': 'true', # to enable/disable mention
3333
'jquery': 'true', # to include/revoke jquery (require for admin default django)
3434
'living': 'false', # to enable/disable live updates in preview
35-
'spellcheck': 'true', # to enable/disable spellcheck in form textareas
35+
'spellcheck': 'false', # to enable/disable spellcheck in form textareas
3636
'hljs': 'true', # to enable/disable hljs highlighting in preview
3737
}
3838

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,16 @@ def get_requirements():
3131
'Framework :: Django :: 2.0',
3232
'Framework :: Django :: 2.1',
3333
'Framework :: Django :: 2.2',
34+
'Framework :: Django :: 3.0',
35+
'Framework :: Django :: 3.1',
3436
'Intended Audience :: Developers',
3537
'Operating System :: OS Independent',
3638
'Programming Language :: JavaScript',
3739
'Programming Language :: Python',
3840
'Programming Language :: Python :: 3.4',
3941
'Programming Language :: Python :: 3.5',
4042
'Programming Language :: Python :: 3.6',
43+
'Programming Language :: Python :: 3.7',
4144
'Topic :: Software Development :: Libraries :: Python Modules',
4245
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
4346
],

0 commit comments

Comments
 (0)