File: README.Debian

package info (click to toggle)
tinymce2 2.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 3,192 kB
  • ctags: 1,107
  • sloc: makefile: 59; sh: 7
file content (42 lines) | stat: -rw-r--r-- 1,229 bytes parent folder | download
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
42
tinymce for Debian
------------------

The package installs all the files needed by tinymce under `/usr/share/tinymce2/www'.

It's pretty easy to use tinymce within your webapp, you just have alias that directory to "tinymce":

    Alias /tinymce/ /usr/share/tinymce2/www/
    <Directory "/usr/share/tinymce2/www/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order allow,deny
    </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

 -- Vincent Bernat <bernat@debian.org>, Tue, 20 May 2008 20:11:07 +0200