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';
- addCSSText
- addStylesheet
- baseURL
- doctype
- emptyValue
- encodeURLs
- escapeCharacters
- escapeCharactersMappings
- escapeCharactersRange
- fragmentCSSText
- fragmentStylesheet
- fullURLs
- guidelines
- htmlCharset
- htmlDirection
- htmlLang
- htmlVersion
- lineReturns
- loadValueFromFile
- loadValueFromURL
- newCellInners
- name
- urlFormat
- value
- jsBookmarkLinks
Contents
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.
