Pouria Hadjibagheri
4ced4e6aab
Backwards compatibility issue solved.
2017-03-20 11:16:11 +00:00
Pouria Hadjibagheri
9d60c56045
Cleaned up + docs template.
...
Cleaned up the the new Django 1.11+ compatibility code and added documentations template. Also, `add_markdownx_attrs` now returns the updated dict with the output used for updating widget attributes.
2017-03-20 10:46:11 +00:00
Pouria Hadjibagheri
b1dfad6ec1
Specific upload of Django version.
2017-03-20 10:07:40 +00:00
Aymeric Augustin
f20c332a55
Fix #50 -- Native template-based widget rendering.
2017-03-20 10:53:29 +01:00
Pouria Hadjibagheri
15176fe807
Small correction.
2017-03-19 18:13:11 +00:00
Pouria Hadjibagheri
f0e5ac861d
Updates - mostly to do with docs and front-end settings.
2017-03-19 17:19:28 +00:00
Pouria Hadjibagheri
b5eb7f9c0c
JavaScript updated.
2017-03-19 16:43:53 +00:00
Pouria Hadjibagheri
8506ea179d
Now supports TAB indentations (including in selected sub-strings) and unindentation with SHIFT + TAB.
2017-03-18 20:53:22 +00:00
Pouria Hadjibagheri
8120d067b2
Addresses compatibility issues - now supports IE 10+.
2017-03-18 00:30:29 +00:00
Pouria Hadjibagheri
c9aa6814bf
IE 10+ support for all features / IE 6+ support for non-upload features.
2017-03-17 10:51:08 +00:00
Pouria Hadjibagheri
6c8ba1d48b
JavaScript code rewritten in Pure ECMA 2017 and compiled in ECMA 5 - no longer uses JQuery.
2017-03-17 00:23:49 +00:00
Pouria Hadjibagheri
7deb0073aa
Added 4 new locale definitions + updated the existing ones.
2017-03-17 00:15:54 +00:00
Pouria Hadjibagheri
734959fb07
Replace weired quote characters so Python 2 will understand.
2017-03-12 23:32:34 +00:00
Pouria Hadjibagheri
0ae4b9cae6
Compatibility issue + docs.
2017-03-12 23:26:02 +00:00
Pouria Hadjibagheri
03de636a35
Python 2 unicode compatibility - yet again.
2017-03-12 21:31:26 +00:00
Pouria Hadjibagheri
be2543c509
Unicode compatibility for Python 2 - again!
2017-03-12 21:28:43 +00:00
Pouria Hadjibagheri
3d2e0c77aa
Unicode compatibility.
2017-03-12 21:17:53 +00:00
Pouria Hadjibagheri
70c1b8e15a
Now with comprehensive documentations.
2017-03-12 20:57:18 +00:00
Pouria Hadjibagheri
e1991de714
New version strategy: updates only needed in __init__, docs and setup files will then automatically follow.
2017-03-12 20:51:16 +00:00
Pouria Hadjibagheri
64c63d6ed4
Now with comprehensive documentations.
2017-03-12 20:50:31 +00:00
Pouria Hadjibagheri
9190d4f5fc
Now with comprehensive documentations.
2017-03-12 20:42:32 +00:00
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