Add tinymce

This commit is contained in:
Christophe Vilayphiou committed 2012-02-15 10:02:05 +08:00
1 parent a0f58b543b
commit 1913f0aca8
4 files changed
+13 -1

No files matched your search

@@ -137,5 +137,12 @@
$('#bulletin_files').append(("<%= escape_javascript(add_attribute 'bulletin_file', f, :bulletin_files) %>").replace(old_id, new_id));
});
</script>
<script type="text/javascript">
$(function() {
$('textarea').tinymce({
theme: 'advanced'
});
});
</script>
<% end %>