| Subject: | It's very basic. |
| Summary: | Package rating comment |
| Messages: | 1 |
| Author: | Luke |
| Date: | 2010-11-02 10:05:30 |
| |
|
|
Luke rated this package as follows:
| Utility: | Insufficient |
| Consistency: | Sufficient |
| Examples: | Insufficient |
|
|
 Luke - 2010-11-02 10:05:30
It's very basic... I was thinking I could use multiple text colours/sizes and add everything from within code, not having to use a textarea. Nothing seems to work if I try something such as:
$rtf->setDefaultFontSize(42);
$rtf->addColour("#000000");
$rtf->addText("This is the first line, it's a large font");
$rtf->setDefaultFontSize(28);
$rtf->addColour("#999999");
$rtf->addText("Some more text here, this would be on a new line and in grey.");
Why does this not work? It seems like I can only pass addColour, FontSize etc once?? and I cannot add new lines without having to use the return key within a textarea.
|