You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Personally I prefer to use self-hosted version of TinyMCE and it can be downloaded at https://www.tiny.cloud/get-tiny/self-hosted/

In order to use TinyMCE self-hosted version, you need to download the latest version of TinyMCE package. It can be downloaded at https://www.tiny.cloud/get-tiny/self-hosted/. In my case I just upload all the files to /js 

<script src="http://tinymce.cachefly.net/4.1/tinymce.min.js"></script>
<script>
	tinymce.init({
        mode : "textareas",
		theme: "modern",
   		add_unload_trigger: false,
		autosave_ask_before_unload: false,
		menubar: false,
		toolbar_items_size: 'small',
		force_br_newlines : true,
		forced_root_block : ""
	});
</script>

<textarea width=60 height=20>Write something</textarea>
  • No labels