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:
html {
height: 95%;
}
body {
height: 100%;
padding: 7px; background-color: #fff; font:13px/1.22 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;
}
a {
color: blue;
text-decoration: underline;
cursor: pointer;
}
.warning-localfile {
border-bottom: 1px dashed red !important;
}
.yui-busy {
cursor: wait !important;
}
img.selected { //Safari image selection
border: 2px dotted #808080;
}
img {
cursor: pointer !important;
border: none;
}
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
The outter wrapper for the entire editor.
Default Value: null
Internal config for the editors container
Default Value: false
Should we focus the window when the content is ready?
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 font, .hidden strong, .hidden b, .hidden em, .hidden i, .hidden u, .hidden div, .hidden p, .hidden span, .hidden img, .hidden ul, .hidden ol, .hidden li, .hidden table {
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 HTMLElement
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, default or xhtml
Default Value: "semantic"
The number of seconds that need to be in between nodeChange processing
Default Value: 3
A reference to the panel we are using for windows.
Default Value: false
Should we remove linebreaks and extra spaces on cleanup
Default Value: false
textarea
- private HTMLElement
Internal config for holding the textarea element (replaced with element).
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