FCKeditor.comp
FCKEditor is a browser-based WYSIWYG content editor. This means the content being edited is a genuine graphical representation of the published content.
It brings to the web common word processor features found in desktop editing applications like Microsoft Word and LibreOffice.
Input Parameters:
Parameters
Parameter Name |
Description |
Default Value |
readonly |
can't change state if in readonly mode |
Undefined. |
value |
change read/write |
Empty string. |
editHeight |
editor Height. |
400. |
editWidth |
editor Width |
100%. |
bgcolor |
readonly mode backgrownd color. |
Undefined. |
height |
readonly mode height |
400. |
width |
readonly mode width |
100%. |
id |
Select ID. |
Undefined. |
description |
Tooltip. |
Empty string. |
Examples
Demo
- FCKEditor Read Mode Example:
- FCKEditor Write Mode Example:
The demonstration of the demo is available
here.
ReadWrite
here set "readonly => 1" to change state in read-only mode with using width,height and bgclor value.
when change mode readonly mode to write mode then used editWidth and editHeight Value.
<h2>ReadWrite example</h2>
<& /input/FCKeditor.comp,
id => 'fckedit',
readonly => 1,
bgcolor => 'lightgreen',
value => q{
<H1>ReadWrite example</H1>
<P>
Compliment interested discretion estimating on stimulated apartments oh. Dear so sing when in find read of call. As distrusts behavior abilities defective is. Never at water me might. On formed merits hunted unable merely by mr whence or. Possession the unpleasing simplicity her uncommonly.
</P>
},
width => '200px',
height => '200px',
editWidth => '600px',
editHeight => '300px'
&>
<br>