From f6e9232f75a10ea4306d67f96860921b114ea355 Mon Sep 17 00:00:00 2001 From: Fahri Firdausillah Date: Tue, 11 Aug 2015 07:54:33 +0700 Subject: [PATCH] adding id_ prefix in CKEditor replace to make sure only textarea tag will be converted into ckeditor --- suit_ckeditor/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suit_ckeditor/widgets.py b/suit_ckeditor/widgets.py index 0836d71..9434721 100644 --- a/suit_ckeditor/widgets.py +++ b/suit_ckeditor/widgets.py @@ -23,6 +23,6 @@ def __init__(self, attrs=None, editor_options=None): def render(self, name, value, attrs=None): output = super(CKEditorWidget, self).render(name, value, attrs) output += mark_safe( - '' + '' % (name, json.dumps(self.editor_options))) return output