Re: Suggestion for new Quickform htmltextarea element AND fckeditor
| From: | Ken Restivo | Date: | Mon, 10 Oct 2005 20:06:56 +0000 |
| Subject: | Re: Suggestion for new Quickform htmltextarea element AND fckeditor | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21331@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Oct 10, 2005 at 01:04:41PM +0200, Denis Willems wrote:
> I use fckeditor (http://www.fckeditor.net) like this (after typical
> fckeditor install):
>
> 1. Modify peardir/html/quickform/textarea.php and save it as
> fckeditor.php (see source below):
> 2. Update html/quickform.php, adding a line on #50
> ($GLOBALS['HTML_QUICKFORM_ELEMENT_TYPES'] array definition):
> 'fckeditor'
>
> =>array('HTML/QuickForm/fckeditor.php','HTML_QuickForm_fckeditor'),html/quickform/fckeditor.php
>
> 3. Use it like textarea elem; but attributes are:
> array( 'baserep' => "/fckeditor/", // path to fckeditor
> 'toolbar' => "Standard", // toolbar preset -
> see fckeditor.ini or fckeditor help
> 'width' =>510, //width in PIXEL (not
> like textarea)
> 'height' =>300, //height in PIXEL (not
> lije textarea)
> ),
>
>
Someone already createda PEAR versoin of FCKEditor. It subclasses QF_textarea, IIRC.
It's very simple. It dates from 7/20/2005. I haven't played with it, but I downloaded it
with the full intention of trying it. Seems straightforward but it requires an existing FCKEditor
installation, which I haven't gotten around to doing.
Alas, I don't have the URL or tarball anymore, just the code that I downloaded, nor do I
remember where I found it.
- -ken
- --
- ---------------
The world's most affordable web hosting.
http://www.nearlyfreespeech.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDSsnge8HF+6xeOIcRAj2cAJ0c/TVocM2WztuotZyAjpT6QiQMIQCfQp11
hucCUouMW8ps1psdsiKxl4E=
=iXyr
-----END PGP SIGNATURE-----