Pouria Hadjibagheri
ca4478a220
New version strategy: updates only needed in __init__, docs and setup files will then automatically follow.
2017-03-12 20:35:32 +00:00
Pouria Hadjibagheri
38649c964a
Separated exceptions, and added a JavaScript monitoring for SVG files.
2017-03-12 20:29:15 +00:00
adi
b43623d950
Small refactoring: events naming, logging only errors in console.
2017-03-10 10:47:49 +01:00
Didi Hoffmann
29845b9425
Added three more triggers that enable an animation to be shown when a file is uploaded.
2017-03-08 12:11:14 +01:00
b s
401e5f5167
remove print statement ( #46 )
2017-02-21 23:00:51 +01:00
Pouria Hadjibagheri
9d6cb94bd8
Rectified the error causing image size alteration for non-svg images being ignored. More clean ups, and breakdown of functions inline with functional/OOP best practices, to make them easier to debug.
2017-01-16 20:18:07 +00:00
Pouria Hadjibagheri
b76d0a1d90
Small clean up of the code.
2017-01-16 20:15:46 +00:00
adi
87933b55e7
Fix for custom CSS classes in the widget
...
v.1.7.1
2017-01-16 20:52:31 +01:00
Pouria Hadjibagheri
d366798404
SVG upload ( #39 )
...
* Added SVG image upload functionality, cleaned up the code slightly, and added some documentations.
* Added 'image/svg+xml' example to MARKDOWNX_UPLOAD_CONTENT_TYPES in settings.
2017-01-10 19:14:56 +01:00
Karl Odie
dbb572259b
Stop widget being overridden if set to a multiwidget containing a markdownx widget ( #38 )
2017-01-07 17:18:07 +01:00
adi
9dba8c0abd
Corrupted image upload exception
2016-08-25 21:06:00 +02:00
adi
3f46bddf21
Template render syntax fix
2016-08-15 13:27:06 +02:00
adi
ae7de5a499
Small improvements
2016-06-18 11:43:34 +02:00
adi
89491f491f
Merge branch 'master' of https://github.com/adi-/django-markdownx
2016-06-18 11:07:44 +02:00
adi
daa8d635da
Fix for module setting
2016-06-18 11:07:38 +02:00
Camilo Nova
fc8c27f94f
Use django default storage ( #23 )
...
It works when you want to use another storage. Tested with django-storages with S3 and local file system.
2016-06-18 10:54:01 +02:00
adi-
9c2899db99
Test fix
2016-05-14 21:38:39 +02:00
Aymeric Augustin
7b012db5a5
Make it possible to customize image insertion code. ( #20 )
...
* Make it possible to customize image insertion code.
It can be useful to insert more that just a markdown image tag, for
example to provide additional control on the layout of images. Since
there's no convenient way to handle this on the JavaScript side, we
generate the code to insert in Python. Then it can be overridden with
the existing extensibility mechanism, that is, with a custom view.
* Restore backwards-compatibility.
The previous commit is backwards-incompatible for users who pointed
MARKDOWNX_UPLOAD_URLS_PATH to a custom view. This commit restores
backwards-compatibility with the previous API.
2016-05-14 11:58:43 +02:00
Aymeric Augustin
2ba01376a7
Make rendering the markdown actually abstractable.
...
Even after e35c1aa0c4 , `MarkdownifyView`
is still hardcoded to call `markdownx.utils.mardownify`, regardless of
the value of `MARKDOWNX_MARKDOWNIFY_FUNCTION`. This commit calls the
function designated by that setting instead.
2016-04-30 16:16:40 +02:00
adi
a6f9558cb0
Maintenance
2016-02-12 17:44:02 +01:00
adi
d3b620b0dd
Description fix
2016-02-12 14:18:11 +01:00
adi
e35c1aa0c4
[ Closes #15 ] Make rendering the markdown abstractable
2016-02-12 14:01:59 +01:00
adi
cab13adb00
Basic event triggering
2016-02-12 11:47:23 +01:00
adi
292d5fddee
Merge pull request #13 from mvdwaeter/master
...
Fixes issue #12 : Ability to change the url of imageupload in settings
2016-02-12 10:56:59 +01:00
Mariusz Jamro
680dd5023b
Fix #16 - support for subclasses of MarkdownxWidget in the MarkdownxFormField
2016-02-12 09:39:20 +01:00
Michael van de Waeter
4ae027b634
Fixes issue #12 : Ability to change the url of imageupload in settings
2015-12-01 00:59:43 +01:00
Drew Hubl
d07a4f4bfa
Add Markdown extension config setting
2015-10-28 02:56:01 -06:00
Eduard Sukharev
a0a9de0395
Fix accessing file length in python3
2015-10-19 18:44:58 +04:00
adi
d3217cc317
[ Fixes #6 ] Fix for Python 3.x with string argument expected, got 'bytes'
2015-10-18 10:25:03 +02:00
adi
a617143b2f
Custom urls path
2015-10-13 17:34:31 +02:00
adi
281ebb8315
Missing var
2015-10-06 09:42:15 +02:00
adi
7a391255a0
Critical fix for image upload
2015-10-06 09:24:37 +02:00
adi
d467253550
Cleanup
2015-10-06 08:23:03 +02:00
adi
5675fe27c8
Merge pull request #2 from pydanny/master
...
Add Python 3.5 support
2015-09-30 12:57:33 +02:00
Adrian
f6ffd94521
travis
2015-09-30 12:51:07 +02:00
Daniel Roy Greenfeld
38d1126cbc
Correct attrs handling
2015-09-29 10:34:37 -07:00
Daniel Roy Greenfeld
37258c47fb
Add Python 3.5 support
2015-09-28 21:28:20 -07:00
Adrian
854bedf48e
v1.0.1
2015-09-06 23:13:50 +02:00
Adrian
a14b22fda0
Works for 1.0 version
2015-09-06 20:46:46 +02:00
Adrian
df753824de
Path fix by argaen
2014-12-10 22:27:25 +01:00
Adrian
59b00db32d
Better editor height updates
...
Refresh preview on image upload
Small fixes
2014-12-03 20:29:58 +01:00
Adrian
d55883c1f0
v0.4.0
2014-11-14 12:29:37 +01:00
Adrian
09db8cdf16
v0.3.1
2014-11-14 11:11:36 +01:00
Adrian
a7e2678da8
Version bump
2014-11-13 10:40:51 +01:00
Adrian
23ed6e1929
v0.2.9
2014-11-12 16:04:21 +01:00
Adrian
884d66cc16
Allow to paste tabs using Tab button
2014-11-05 23:11:33 +01:00
Adrian
3fb0b885a7
change context name editor to markdownx_editor for better consistency
2014-11-02 21:10:09 +01:00
Adrian
2e11c1dbb0
Init
2014-11-01 22:02:31 +01:00