Should the editor animate window movements
Default Value: false unless Animation is found, then true
The CSS used to show/hide hidden elements on the page
Default Value: 'assets/blankimage.png'
css
- String
The Base CSS used to format the content of the editor
Default Value:
body {
padding: 7px; background-color: #fff; font:13px/1.22 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;
}
span.yui-tag-a {
color: blue; text-decoration: underline;
}
span.yui-tag-blockquote {
margin: 1em; display: block;
}
span.yui-tag-indent {
margin-left: 1em; display: block;
}
.warning-localfile {
border-bottom: 1px dashed red !important;
}
This will toggle the editor's disabled state. When the editor is disabled, designMode is turned off and a mask is placed over the iframe so no interaction can take place.
All Toolbar buttons are also disabled so they cannot be used.
Default Value: false
Toggle the display of the current Dom path below the editor
Default Value: false
Internal config for the editors container
Default Value: false
Config handles if the editor will attach itself to the textareas parent form's submit handler.
If it is set to true, the editor will attempt to attach a submit listener to the textareas parent form.
Then it will trigger the editors save handler and place the new content back into the text area before the form is submitted.
Default Value: false
The height of the editor iframe container, not including the toolbar..
Default Value: Best guessed size of the textarea, for best results use CSS to style the height of the textarea or pass it in as an argument
The CSS used to show/hide hidden elements on the page, these rules must be prefixed with the class provided in this.CLASS_HIDDEN
Default Value:
.hidden div, .hidden p, .hidden span, .hidden img {
border: 1px dotted #ccc;
}
.hidden .yui-non {
border: none;
}
.hidden img {
padding: 2px;
}
html
- String
The default HTML to be written to the iframe document before the contents are loaded
Default Value: This HTML requires a few things if you are to override:
{TITLE}, {CSS}, {HIDDEN_CSS}
and {CONTENT}
need to be there, they are passed to YAHOO.lang.substitute to be replace with other strings.
onload="document.body._rteLoaded = true;"
: the onload statement must be there or the editor will not finish loading.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>{TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style>
{CSS}
</style>
<style>
{HIDDEN_CSS}
</style>
</head>
<body onload="document.body._rteLoaded = true;">
{CONTENT}
</body>
</html>
iframe
- private Boolean
Internal config for holding the iframe element.
Default Value: null
Should we throw the warning if we detect a file that is local to their machine?
Default Value: true
Should we try to adjust the markup for the following types: semantic, css or default
Default Value: "semantic"
A reference to the panel we are using for windows.
Default Value: false
textarea
- private Boolean
A reference to the textarea element that we are replacing
Default Value: null
The default toolbar config.
Default Value: This config is too large to display here, view the code to see it:
Internal config for the toolbars container
Default Value: false
The width of the editor container.
Default Value: Best guessed size of the textarea, for best results use CSS to style the width of the textarea or pass it in as an argument