projects
/
chloro.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2eb85c
)
add new renderer arg to ckeditor monkeypatch (2.2 compat)
author
Frédéric Péters
<fpeters@0d.be>
Thu, 17 Jun 2021 18:36:20 +0000
(20:36 +0200)
committer
Frédéric Péters
<fpeters@0d.be>
Thu, 17 Jun 2021 18:36:20 +0000
(20:36 +0200)
chloro/monkeypatch.py
patch
|
blob
|
history
diff --git
a/chloro/monkeypatch.py
b/chloro/monkeypatch.py
index 62ce971b4c260fb8a214ceae0572853a69165467..c0c71425df778dd51be43adfb6bdd744d89aae92 100644
(file)
--- a/
chloro/monkeypatch.py
+++ b/
chloro/monkeypatch.py
@@
-27,7
+27,7
@@
import ckeditor.widgets
from ckeditor.image import pillow_backend
-def ckeditor_render(self, name, value, attrs=None):
+def ckeditor_render(self, name, value, attrs=None
, renderer=None
):
if value is None:
value = ''
final_attrs = {'name': name}