I'd like to use TinyMCE, but I don't get it working. Here is my initialisation:
<script src="/resources/tinymce/js/tinymce/tinymce.min.js" />
<script type="text/javascript">
tinyMCE.baseURL = "/resources/tinymce/js/tinymce/";
tinyMCE.init({
editor_selector : "tinyed",
theme : "modern",
toolbar: 'insertfile undo redo | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | forecolor backcolor'
});
</script>
And I'd like to use it on this textarea:
<h:inputTextarea id="field" class="tinyed" />
When I run my project the textarea is shown and not my editor. The console shows no errors and from the TinyMCE documentation I don't get really smarter.