Mapping the EditLive! for Windows configuration to XML
This document lists all the available EditLive! for Windows configuration options, and for each one:
- Specifies whether the equivalent feature is available in JavaScript or the XML Configuration of EditLive!
- Describes the equivalent feature in EditLive!
- Links to the equivalent option in EditLive!
If there is no equivalent available, the option is highlighted.
Note: EditLive! has no equivalent to EditLive! for Windows' FTP mode.
EditLive object Events
| EditLive object Event | EditLive! feature location | EditLive! equivalent feature details |
| onafterpaste | n/a | None. |
| ontoolbarbuttonclick | XML Config | It is not possible to receive events from standard EditLive! toolbar buttons. To raise a JavaScript event from a custom button see the Custom Button Documentation. |
EditLiveGlobal object properties
| EditLiveGlobal Property | EditLive! feature location | EditLive! equivalent feature details |
| AutoInstallation | n/a | Not necessary; all installation is automatic. |
| DownloadDirectory | JavaScript | DownloadDirectory property - note that for JavaScript this property is per-instance, for all server-side SDKs it remains a global option. |
| Minimum Version | n/a | Not necessary; Java Applets always run the latest version. |
EditLive Methods
| EditLive Method | EditLive! feature location | EditLive! equivalent feature details |
| ActivateLicense | n/a | Not required; performed automatically. |
| AddToolbarButton | XML Config | See Creating Custom Menu and Toolbar Items. To replicate EditLive! for Windows functionality, use the RaiseEvent action. |
| AllowItem | n/a | Buttons and Menu Items can only be removed, not disabled. |
| ClearFontColors | XML Config | Specify a custom color list in the menu. See example near the end of the Setting Menu and Toolbar Items article. |
| ClearFontList | XML Config | Specify a custom font list in the font combobox. See example at the end of the combobox configuration element documentation. |
| ClearFontSizeList | XML Config | Specify a custom size list in the size combobox. See example at the end of the combobox configuration element documentation. |
| InsertHTMLAtCursor | JavaScript | See InsertHTMLAtCursor function - similar but content must be URL Encoded.. |
| InsertHyperlinkAtCursor | JavaScript | See InsertHyperlinkAtCursor function - identical and adds support for developer-specified attributes. |
| InsertImageAtCursor | n/a | Implement manually using InsertHTMLAtCursor. |
| LoadFile | n/a | None; EditLive! does not support FTP. |
| LoadFont | XML Config | Specify a custom color list in the font combobox. See example at the end of the combobox configuration element documentation. |
| LoadFontColor | XML Config | Specify a custom font list in the font combobox. See example at the end of the combobox configuration element documentation. |
| LoadFontSize | XML Config | Specify a custom size list in the size combobox. See example at the end of the combobox configuration element documentation. |
| LoadStyleSheet | XML Config | Add a link element to the configuration file. Note that there is no run-time equivalent function, only load-time. |
| LoadStyleSheetWithMedia | XML Config | Same solution as LoadStyleSheet, since the entire <meta> tag is now specified in the configuration. |
| LoadURL | n/a | None. |
| NewFile | n/a | None; EditLive! does not support FTP. |
| RemoveItem | XML Config | Simply remove the item from the XML Configuration File. |
| RemoveToolbarItem | XML Config | Simply remove the item from the XML Configuration File. |
| ServerRegister | XML Config | Automatically loaded from the configuration file. Refer to the Licensing EditLive! documentation. Note that EditLive! for Windows licenses will not work. |
| SaveFile | n/a | None; EditLive! does not support FTP. |
| UploadImages | JavaScript | See the UploadImages function. Note that this function is not synchronous, and requires either a callback or passing the extra parameter to GetBody / GetDocument. |
EditLive Properties
| EditLive Properties | EditLive! feature location | EditLive! equivalent feature details |
| AllowAnchor | n/a | Buttons and Menu Items can only be removed, not disabled. |
| AllowBold | ||
| AllowFirewall | ||
| AllowFont | ||
| AllowFontColor | ||
| AllowFontSize | ||
| AllowFormat | ||
| AllowHelp | ||
| AllowHorizontalRule | ||
| AllowHyperlinks | ||
| AllowIndent | ||
| AllowItalic | ||
| AllowJustifyCenter | ||
| AllowJustifyLeft | ||
| AllowJustifyRight | ||
| AllowListOrdered | ||
| AllowListUnordered | ||
| AllowOutdent | ||
| AllowPageProperties | ||
| AllowParagraphChars | ||
| AllowReadOnlyAreas | ||
| AllowSpecialChars | ||
| AllowSubscript | ||
| AllowSuperscript | ||
| AllowStyleSheetFormattingOnly | StyleSheet | Use the custom ephox-visible CSS attribute to hide styles you don't want the user to see in the style combobox. |
| AllowTableColAdd | n/a | Buttons and Menu Items can only be removed, not disabled. |
| AllowTableColDel | ||
| AllowTableInsert | ||
| AllowTableRowAdd | ||
| AllowTableRowDel | ||
| AllowTables | ||
| AllowUnderline | ||
| BodyAttribute | XML Config | Hard code the Body tag in the configuration. |
| DisableCustomization | n/a | The user cannot customize the EditLive! interface. |
| EditLiveMode | n/a | EditLive! does not support FTP or read-only view. |
| EditorMode | ||
| Filter | n/a | The filter cannot be disabled in EditLive!. |
| FilterFontStyles | n/a | The ability to alter Font tags was removed in EditLive! 6. EditLive! does not insert font tags, and will not alter any existing font tags. Converting bold and italic to presentation tags can be achieved with the logicalEmphasis attribute of the htmlFilter element. |
| FilterFormatAttributes | XML Config | Set the uppercaseTags attribute of the htmlFilter element. |
| FilterFormatIndent | XML Config | Set the indentContent attribute of the htmlFilter element. |
| FilterFormatTags | XML Config | Set the uppercaseTags attribute of the htmlFilter element. |
| FilterFormatWrap | XML Config | Set the wrapLength attribute of the htmlFilter element. |
| FilterNumericEntities | n/a | Enabled when outputXML is on, unavailable otherwise. |
| FilterOptionalTags | n/a | This option is not available in EditLive!. |
| FilterOutputXHTML | XML Config | Set the outputXHTML attribute of the htmlFilter element. |
| FilterOutputXML | XML Config | Set the outputXML attribute of the htmlFilter element. |
| FilterSpecialChars | XML Config | Set the indentContent attribute of the htmlFilter element. |
| FTPInitialDirectory | n/a | EditLive! does not support FTP. |
| FTPPassword | ||
| FTPServer | ||
| FTPServerPort | ||
| FTPUsername | ||
| HTTPCookie | JavaScript | Set the Cookie property before loading EditLive!. |
| HTTPImageRoot | XML Config | Set the base attribute of the httpUpload element; if relative it is expected this value will be relative to the document base URL. Also see the HTTP Upload article. |
| HTTPImageURL | XML Config | Set the href attribute of the imageBrowser element. Note that inserted images will always have relative URLs unless the forceAbsolute attribute is used. |
| ImageMode | XML Config | Simply do not specify server image insertion options you wish to be hidden. Other options can be disabled with the images element; the allowLocalImages attribute for local image insertion and the allowUserSpecified attribute for user-typed URLs. |
| ImageURLType | n/a | URL type is auto-detected based on the value of the httpUpload base attribute. It is possible to override this by returning a value from the HTTP Post Acceptor; for more information see the HTTP Upload article. |
| IsDirty | JavaScript | Equivalent isDirty function; note this is a callback function. |
| POSTAcceptorURL | Set the "href" attribute of the httpUpload element. Also see the HTTP Upload article. | |
| RemoveTags | n/a | This feature is not available in EditLive!. |
| SavedFileName | n/a | EditLive! does not support FTP. |
| SavedFilePath | ||
| SelectedText | n/a | It is not possible to retrieve raw text from EditLive!. |
| SelectedHTML | JavaScript | Equivalent GetSelectedText function; note this is a callback function. |
| Source | JavaScript | Equivalent Body property at Load Time, and SetBody / GetBody Run Time functions; note that GetBody is a callback function. |
| SourceAll | JavaScript | Equivalent Document property at Load Time, and SetDocument / GetDocument functions; note that GetDocument is a callback function. |
| StyleElementText | JavaScript | Equivalent Styles property; note that this is only available at Load Time, not Run Time. |
| StylesOnlyMode | n/a | No direct equivalent, however similar functionality can be achieved by removing commands you don't want the user to access. |
| Text | n/a | It is not possible to load a text-only document into EditLive!. |
| ValidHtml | n/a | Unavailable, EditLive! automatically corrects invalid HTML. |
| VersionBuild | n/a | There is no programmatic way to check the EditLive! version. |
| VersionMajor | n/a | There is no programmatic way to check the EditLive! version. |
| VersionMinor | n/a | There is no programmatic way to check the EditLive! version. |
| WebDAVPassword | XML Config | Set the password attribute of the repository element. Note that each WebDAV source has a unique repository list. For more information see the Using WebDAV article. |
| WebDAVURL | XML Config | Set the baseDir attribute of the repository element. Note that each WebDAV source has a unique repository list. For more information see the Using WebDAV article. |
| WebDAVUsername | XML Config | Set the username attribute of the repository element. Note that each WebDAV source has a unique repository list. For more information see the Using WebDAV article. |
| WebRoot | XML Config | Set the Base element. |
| WordImportOption | XML Config | Equivalent wordImport element; EditLive! also features a similar htmlImport element. |
