Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Rich Text Editor

Beta Options Limited

Currently form tools only provides support for tinyMCE rich text editor.

Attribute

Description

Default Value

ftImageArrayField

Array property in content type containing available images. Is used to populate tinyMCE's external_image_list_url value.

For example, aobjectids in dmHTML

ftImageTypename

The content type representing the image library.

For example, dmImage in dmHTML

ftImageField

The specific field or property in the nominated image library type that holds the file path for the image to be inserted. Note this can be overriden using "insert templates".

For example, dmImage.standardImage in dmHTML.

ftConfig

Option to override default tinyMCE config. Currently looks for application.config.#ftConfig#, but this will be replaced with a reference to a specific function local to the calling content type.

Defaults to a popular collection of plugins and settings.

ftTemplateTypeList

List of content types nominated to provide HTML insert options for tinyMCE editor. Each type must have at least one "insert webskin" associated with it.

For example, in dmHTML dmImage, dmFile, dmNavigation, and other dmHTML content items can be directly associated with the content.

ftTemplateWebskinPrefixList

The filename prefix used to determine suitable "insert webskins" for the nominated template types.

For example, insertHTML.

ftTemplateSnippetWebskinPrefix

The content type using hte rich text editor may have some predefined content snippets for use by content contributors. This prefix allows the developer to filter the available list of snippets for the specific instance of the editor.

For example, insertSnippet.

ftLinkListRelatedTypenames

a list of types that if any objects of that type are related to the current object via an array property, a link to that object will be presented in the richtext popup link list

For example, "dmFile,dmFlash,dmLink"

dmHTML body property
<cfproperty name="Body" type="longchar" hint="Main body of content." required="no" default="" 
	ftSeq="12" ftWizzardStep="Body" ftFieldset="Body" 
	ftType="richtext" ftLabel="Body" 
	ftImageArrayField="aObjectIDs" ftImageTypename="dmImage" ftImageField="StandardImage" 
	ftTemplateTypeList="dmImage,dmFile,dmNavigation,dmHTML" ftTemplateWebskinPrefixList="insertHTML"
	ftTemplateSnippetWebskinPrefix="insertSnippet">

external_link_list_url is populated with the contents of the site overview tree by default.

Known Issues

Safari not supported adequately by tinyMCE at this time. You will need to use Firefox for operation on OSX.

  • No labels