Permalink
Browse files

Fix overriding editor style via widget attributes

  • Loading branch information...
1 parent 2993cda commit 2c6eb994c004bc1d8f6d9e16573d959fd844e31b @lqez lqez committed Nov 1, 2013
Showing with 4 additions and 6 deletions.
  1. +1 −0 CHANGES
  2. +0 −3 MANIFEST.in
  3. +1 −1 django_summernote/__init__.py
  4. +2 −2 django_summernote/widgets.py
View
@@ -1,3 +1,4 @@
+0.3.7 - Fix overriding editor style via widget attributes
0.3.6 - Support image dropzone and insert an image via url
0.3.5 - Support file backend for attachments (issue #2)
0.3.4 - Fix for Firefox (issue #7)
View
@@ -1,6 +1,3 @@
recursive-include django_summernote *
-global-exclude *.so
-global-exclude *.pyd
global-exclude *.pyc
-global-exclude .git*
@@ -1,4 +1,4 @@
-version_info = (0, 3, 6)
+version_info = (0, 3, 7)
__version__ = version = '.'.join(map(str, version_info))
__project__ = PROJECT = 'django-summernote'
@@ -17,7 +17,7 @@ def render(self, name, value, attrs=None):
del final_attrs['id']
url = reverse_lazy('django_summernote-editor', kwargs={'id': attrs['id']})
- html += '<iframe id="%s-iframe" src="%s" width="%s" height="%s" frameborder="0"%s></iframe>' \
- % (attrs['id'], url, summernote_config['width'], summernote_config['height'], flatatt(final_attrs))
+ html += '<iframe id="%s-iframe" src="%s" frameborder="0"%s width="%s" height="%s"></iframe>' \
+ % (attrs['id'], url, flatatt(final_attrs), summernote_config['width'], summernote_config['height'])
return mark_safe(html)

0 comments on commit 2c6eb99

Please sign in to comment.