/usr/share/doc/tinymce/README.Debian is in tinymce 3.4.8+dfsg0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | tinymce for Debian
------------------
The package installs all the files needed by tinymce under `/usr/share/tinymce/www'.
It's pretty easy to use tinymce within your webapp, you just have alias that directory to "tinymce":
Alias /tinymce/ /usr/share/tinymce/www/
<Directory "/usr/share/tinymce/www/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Then you just have to add the folloing lines to whatever HTML output you want:
<html>
<head>
[...]
<script language="javascript" type="text/javascript" src="/tinymce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas"
});
</script>
[...]
You can access http://<server>/tinymce/example.html to check if everything works well.
About the tinymce-doc package
-----------------------------
TinyMCE does not provide a -doc package anymore (it used to in its first version),
as upstream decided to drop the static documentation pack from their tarball.
TinyMCE documentation is now only available online:
http://wiki.moxiecode.com/index.php/TinyMCE:Index
|