htmlArea
htmlArea is an easy to use third party WYSIWYG editor distributed with TerraForm.
Check the following page for full documentation: htmlArea documentation. Note that TerraForm provides a regular tag and tattributes interface for this editor, so you don't need to use the JavaScript sample code provided there — TerraForm writes this for you.
The following special attributes are available for htmlArea (see the docs linked above for full details):
-
bodyStyle
Optional. Style of the editor window, e.g.bodyStyle="background-color: white; font-family: ""Verdana""; font-size: x-small;" -
debug
Optional. Boolean. Provide debug information? -
fontnames
Optional. String containing literal syntax for a JavaScript object containing font names. -
fontsizes
Optional. String containing literal syntax for a JavaScript object containing font sizes. -
fontstyles
Optional. String containing a JavaScript array of objects representing different available font styles. -
Height
Optional. Height of the editor box in CSS format, e.g.300pxor50%. -
stylesheet
Optional. Name of stylesheet. -
toolbar
Optional. String containing a JavaScript array of arrays that represents the toolbar buttons. -
Width
Optional. Width of the editor box in format, e.g.300pxor50%.
Examples
Fields marked with * are required.
