I have spent ages tryting to do this and have so far failed. It must be me, but I cannot for the life of me see where the problem lies.
Here is my instance parameter spec:
*,text {richtext(richtext),nospell,optional
{label Content}
{html {style {width: 100%}}}
{options {editor xinha plugins {Stylist OacsFs} height 350px javascript {
xinha_config.toolbar = [
['popupeditor', 'bold','italic','createlink','insertimage','separator'],
['killword','removeformat']
];
xinha_config.stylistLoadStylesheet('/resources/xowiki/examples/xinha-mc-styles.css',
{'p.angabe' : 'Aufgabenstellung',
'p.loesungshinweis' : 'Lösungshinweis',
'li.correct_choice' : 'Richtige Antwort',
'li.incorrect_choice' : 'Falsche Antwort'});
}}}}
Here is my ::form::Field spec:
{main_page_content:richtext,label=Other Content}
Here is the rendered page source:
<script type="text/javascript" src="/resources/acs-templating/xinha-nightly/XinhaCore.js"></script>
<script type="text/javascript">
xinha_editors = null;
xinha_init = null;
xinha_config = null;
xinha_plugins = null;
xinha_init = xinha_init ? xinha_init : function() {
xinha_plugins = xinha_plugins ? xinha_plugins :
['GetHtml', 'CharacterMap', 'ContextMenu', 'ListType', 'TableOperations', 'EditTag', 'LangMarks', 'Abbreviation'];
Regards
Richard