15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Attributes<br />

Name Attribute<br />

Type<br />

User Interface Elements: Standard, Menu, and Popup<br />

Default Description<br />

autoclean Boolean “True” Whether the editor automatically detects content<br />

created by Microsoft Office 2000 applications (for<br />

example, Word 2000). Office 2000 content may cause<br />

problems when <strong>eWebEditPro</strong> users try to reformat it<br />

(for example, change the font size).<br />

“false” - Do not detect Office 2000 content<br />

“true” (default) - Detect Office 2000 content<br />

When the editor detects this content, the prompt<br />

attribute of the element determines if a<br />

message appears, asking the user whether or not to<br />

clean the HTML code. (Answering yes to the prompt is<br />

the same as selecting Clean HTML from the right-click<br />

menu.)<br />

See Also: ”prompt” on page 337<br />

publish String “xhtml” Allows you to determine whether editor content is<br />

stored as HTML or XHTML.<br />

Important: If you are using <strong>eWebEditPro</strong> with an<br />

Ektron CMS, leave this setting as xhtml.<br />

“xhtml” - The HTML code is converted to the XHTML<br />

1.0 standard (as defined at http://www.w3.org/TR/<br />

xhtml1/).<br />

“Contumely” - Medium level: eliminates overlapping<br />

tags, and merges font tags.<br />

“Minimal” - Eliminates invalid fonts, filters image urls,<br />

and replaces cr/lf according to the values set in those<br />

attributes.<br />

Advantages of XHTML<br />

XHTML can be parsed by an XML parser. Also,<br />

XHTML has replaced HTML as a W3C<br />

recommendation.<br />

Advantages of HTML<br />

HTML is more likely to be compatible with older<br />

versions of browsers. If you are unfamiliar with<br />

XHTML, choose HTML.<br />

<strong>Ektron®</strong> <strong>eWebEditPro</strong> Developer’s <strong>Reference</strong> <strong>Guide</strong>, Release 5.1, Revision 1 294

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!