CGI-Application-Plugin-AJAXUpload
view release on metacpan or search on metacpan
example/httpdocs/css/editor.css view on Meta::CPAN
/* general */
.hide, .yui-skin-sam .yui-editor-panel label.hide {
display: none;
}
.form_control .dfv-errors {
color: red;
font-weight: bold;
display: inline;
vertical-align: top;
}
form {
border: thin solid black;
margin: 2em;
}
fieldset {
display: table;
}
legend, h2 {
width: 100%;
font-weight: bold;
text-align: center;
}
.form_control {
width: 100%;
display: table-row;
}
.form_control .label {
width: 30%;
example/httpdocs/js/editor.js view on Meta::CPAN
YAHOO.periapt.Editor = function(elementId) {
YAHOO.widget.Editor.superclass.constructor.call(this, elementId, {
width: 450,
handleSubmit: true,
animate: true //Animates the opening, closing and moving of Editor windows
});
this._defaultToolbar.titlebar = false;
this._defaultToolbar.buttons = [
{ group: 'textstyle', label: 'Font Style',
buttons: [
{ type: 'push', label: 'Bold CTRL + SHIFT + B', value: 'bold' },
{ type: 'push', label: 'Italic CTRL + SHIFT + I', value: 'italic' }
]
},
{ type: 'separator' },
{ group: 'parastyle', label: 'Paragraph Style',
buttons: [
{ type: 'select', label: 'Normal', value: 'heading', disabled: true,
menu: [
{ text: 'Normal', value: 'none', checked: true },
{ text: 'Subheading', value: 'h3' }
( run in 0.701 second using v1.01-cache-2.11-cpan-39bf76dae61 )