Commit graph

33 commits

Author SHA1 Message Date
adi
daa8d635da Fix for module setting 2016-06-18 11:07:38 +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