diff options
Diffstat (limited to 'gstudio/templates/admin/gstudio/nodetype/wymeditor.js')
-rw-r--r-- | gstudio/templates/admin/gstudio/nodetype/wymeditor.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gstudio/templates/admin/gstudio/nodetype/wymeditor.js b/gstudio/templates/admin/gstudio/nodetype/wymeditor.js new file mode 100644 index 0000000..6cf8633 --- /dev/null +++ b/gstudio/templates/admin/gstudio/nodetype/wymeditor.js @@ -0,0 +1,10 @@ +$(document).ready(function() { + $("#id_content").wymeditor({ + skin: "django", lang: "{{ LANGUAGE_CODE }}", + stylesheet: "{{ STATIC_URL }}gstudio/css/wymeditor_styles.css", + updateSelector: "input:submit", updateEvent: "click", + postInit: function(wym) { + wym.hovertools(); + } + }); + }); |