Skip to content

Commit

Permalink
fixed del_ins & icon expand editor
Browse files Browse the repository at this point in the history
  • Loading branch information
agusmakmun committed Feb 11, 2019
1 parent 87da32a commit 88542cf
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion martor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-

__VERSION__ = '1.3.7'
__VERSION__ = '1.3.8'
__AUTHOR__ = 'Agus Makmun (Summon Agus)'
__AUTHOR_EMAIL__ = '[email protected]'
6 changes: 3 additions & 3 deletions martor/extensions/del_ins.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ class DelInsExtension(markdown.extensions.Extension):

def extendMarkdown(self, md, md_globals):
del_tag = SimpleTagPattern(DEL_RE, 'del')
ins_tag = SimpleTagPattern(DEL_RE, 'ins')
md.inlinePatterns.add('del', del_tag, '>not_strong')
md.inlinePatterns.add('ins', ins_tag, '>not_strong')
ins_tag = SimpleTagPattern(INS_RE, 'ins')
md.inlinePatterns.add('del', del_tag, '<not_strong')
md.inlinePatterns.add('ins', ins_tag, '<not_strong')


def makeExtension(*args, **kwargs):
Expand Down
4 changes: 2 additions & 2 deletions martor/static/martor/css/martor.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions martor/static/martor/js/martor.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Name : Martor v1.3.7
* Name : Martor v1.3.8
* Created by : Agus Makmun (Summon Agus)
* Release date : 10-Feb-2019
* Release date : 11-Feb-2019
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
* Repository : https://github.com/agusmakmun/django-markdown-editor
**/
Expand Down
4 changes: 2 additions & 2 deletions martor/static/martor/js/martor.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion martor/templates/martor/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</div>
<div id="martor-{{ field_name }}" class="martor-field martor-field-{{ field_name }}"></div>
{{ martor }}
<i class="resize vertical grey icon expand-editor"></i>
<i class="angle double down grey icon expand-editor"></i>
</div>
<div class="ui bottom attached tab segment martor-preview" data-tab="preview-tab-{{ field_name }}">
<p>{% trans "Nothing to preview" %}</p>
Expand Down

0 comments on commit 88542cf

Please sign in to comment.