tiny_mce
directory to a dedicated place, for example in htdocs/tiny_mce/
.htdocs/tiny_mce/plugins
directoryhtdocs/tiny_mce/plugins/plantuml
directory, you have the following files:
htdocs/tiny_mce/plugins/plantuml
img/
js/
langs/
dialog.htm
editor_plugin.js
editor_plugin_src.js
<head>
section:
<!-- TinyMCE --> <script type="text/javascript" src="tiny_mce/tiny_mce.js"></script> <script type="text/javascript"> tinyMCE.init({ mode : "textareas", theme : "advanced", theme_advanced_buttons2 : "justifyleft,justifycenter,justifyright,justifyfull,separator,numlist,bullist,outdent,indent,separator,forecolor,backcolor,separator,hr,link,unlink,image,code,separator,plantuml", plugins : 'plantuml', }); </script> <!-- /TinyMCE -->
<body>
section:
<textarea id="elm1" name="elm1" rows="24" cols="80" style="width: 80%"> </textarea>