misc: fix ckeditor monkeypatch to keep widget attributes (#20974)
This commit is contained in:
parent
b0bea13bc9
commit
ffee470ab7
|
@ -28,6 +28,8 @@ def ckeditor_render(self, name, value, attrs=None):
|
|||
if value is None:
|
||||
value = ''
|
||||
final_attrs = {'name': name}
|
||||
if getattr(self, 'attrs', None):
|
||||
final_attrs.update(self.attrs)
|
||||
if attrs:
|
||||
final_attrs.update(attrs)
|
||||
if 'filebrowserUploadUrl' not in self.config:
|
||||
|
|
Loading…
Reference in New Issue