projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b23b1e
)
Add tinymce in head for description field of blog, blogpost edit and create templates.
author
Aditi
<aditi.iitr@gmail.com>
Tue, 30 Jul 2013 13:18:41 +0000
(18:48 +0530)
committer
Aditi
<aditi.iitr@gmail.com>
Tue, 30 Jul 2013 13:18:41 +0000
(18:48 +0530)
mediagoblin/templates/mediagoblin/extra_head.html
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/templates/mediagoblin/extra_head.html
b/mediagoblin/templates/mediagoblin/extra_head.html
index 973e2b487a380ad640ea695fa8a81f8dc855ad9a..513a03bcbd1a41fade1f296f1654ced15a7ad2ee 100644
(file)
--- a/
mediagoblin/templates/mediagoblin/extra_head.html
+++ b/
mediagoblin/templates/mediagoblin/extra_head.html
@@
-17,3
+17,12
@@
-#}
{# Add extra head declarations here for your theme, if appropriate #}
+
+<script type="text/javascript"
+ src="{{request.staticdirect('/tinymce/jscripts/tiny_mce/tiny_mce.js')}}"></script>
+ <script type="text/javascript">
+ tinyMCE.init({
+ selector: "div.form_field_input textarea",
+ theme: "advanced"
+ })
+</script>