This tag allows you to embed an HTML editor
in the place of a text area tag on forms. It gives your users the
ability to submit formatted HTML without having to know the HTML
markup language.

Now with Mozilla support. The latest version of Mozilla
(1.3) supports HTML editing so we've updated this tag to offer cross-browser
support.
Installation is easy,
just drop the files into the CustomTags folder on your server or
on a server under the web root and make your cfmodule call.
Example
Syntax
<cfmodule template="EditorXM/EditorXM.cfm"
editor_path="EditorXM/"
image_file_root="##ExpandPath('.')##\MyImages\"
image_url_root="/dev/EditorXM/images/"
form_name="FileEdit"
field_name="file_content">
#file_content#
</cfmodule>
Attributes
- Below
is a brief explanation of each attribute for EditorXM.
editor_path (required)
- The
URL path to where the editor files are stored on your server.
This allows the images and script to load correctly. If you see
broken images in the toolbar when you load the editor, check to
make sure this value is correct.
-
- image_file_root
(optional)
- Use
this attribute to specify where to store uploaded images for the
editor. If this value is omitted, the image upload feature will
be disabled.
-
- image_url_root
(optional)
- Corresponding
URL for uploaded images. This will be the path used for all uploaded
images.
-
- form_name
(required)
- The
name of the form in which you are embedding the editor.
field_name (required)
- The
name of the field in which to store the HTML contents. For use
when saving your content to a database.
other attributes
- The
tag is open source so feel free to add any attributes you wish.
|