Installing TinyMCE is very simple; follow the instructions here. We give a few examples of how to integrate TinyMCE. You should also take a look at TinyMCE's extensive configuration options.
Recently added is the For Dummies section.
There is NO back-end code distributed with TinyMCE.
TinyMCE can be set up to use textareas in an HTML form as a workspace. When the form is submitted you can have your system do something with the content of the textarea such as save the HTML code to a database or file. Your frontend can also be set up to read in existing content so you can make changes to it. Refer to Configuration Options, General, Mode for more information.
You may get errors like tinyMCE is not defined or missing } after property list on Windows installations.
Problem is caused by default Apache option EnableSendfile. You must turn it OFF by removing the # character in the
For download instructions check our TinyMCE Website.
On Windows you could use WinZip or something similar, and on other operating systems such as Linux you simply extract the archive with the tar command. You can find an example on how to extract the archived file on Linux below.
You should extract TinyMCE in your
wwwroot or site domain root folder.
<pre>$ cd wwwroot $ gzip -d tinymce_1_44.tar.gz $ tar xvf tinymce_1_44.tar</pre>
<pre>/tinymce/ /tinymce/docs/ /tinymce/docs/zh_cn/ /tinymce/examples/ /tinymce/examples/zh_cn/ /tinymce/jscripts/ /tinymce/jscripts/tiny_mce/ /tinymce/jscripts/tiny_mce/langs/ /tinymce/jscripts/tiny_mce/plugins/ /tinymce/jscripts/tiny_mce/plugins/<plugin folders> /tinymce/jscripts/tiny_mce/themes/ /tinymce/jscripts/tiny_mce/themes/advanced/ /tinymce/jscripts/tiny_mce/themes/default/ /tinymce/jscripts/tiny_mce/themes/simple/</pre>
Make sure you read the 2 html comments (starting with
<!-- ) before trying this code:
The Save button in this example sends the content of the textarea to the show.php page that will simply display it to you if you make it like this (of course you can adapt it to your needs to write the content to a file or database) :
<?php /* post.php : this page shows what insert.php has sent */ echo(stripslashes($_POST['content'])); ?>
Just change the following code :
which should be turned into :
Conclusion: this part will control the editor's look and functionalities. You can adapt it to your needs according to TinyMCE:Configuration.
Go here to check out the examples of different ways you can implement TinyMCE.
If you have any problems, you should check the forum.
Thanks for the feedback!