Setting HTML content and format

These properties and methods can be used to set the HTML code to be edited and to configure the format of generated HTML code. 

Example:

// set a stylesheet to style the appearance of content in the editor:
$editor->addStylesheet('http://www.something.com/style.css');

// set the format for generated HTML:
$editor->htmlVersion 'XHTML 1.0 Transitional';

// set the code to be edited:
$html '<p>something..</p>';
$editor->value $html;

// give the editor a name, equivalent to the name attribute on a textarea tag:
$editor->name 'content'


This online documentation specifically covers version 3.0 and above, developers using earlier versions should refer to their PDF or MS-Word manual that was included in the product download.

WysiwygPro.com