nando99
Member
As the title says...
I thought this would work but it didn't...
Anyone mind pointing me in the right direction? thanks in advance...
I thought this would work but it didn't...
PHP:
<xen:hook name="editor" params="{xen:array 'editorId={$editorId}'}">
<div>
<xen:if is="{$showWysiwyg}">
<xen:if is="{$forum.node_id} !== 20">
<textarea name="{$formCtrlNameHtml}" id="{$editorId}_html" class="textCtrl MessageEditor" style="display:none; {xen:if $height, 'height: {$height};'}">{$messageHtml}</textarea>
<noscript>
<textarea name="{$formCtrlName}" id="{$editorId}" class="textCtrl MessageEditor" style="{xen:if $height, 'height: {$height};'}">{$message}</textarea>
</noscript>
<xen:else />
<textarea name="{$formCtrlName}" id="{$editorId}" class="textCtrl MessageEditor" style="{xen:if $height, 'height: {$height};'}">{$message}</textarea>
</xen:if>
<xen:else />
<textarea name="{$formCtrlName}" id="{$editorId}" class="textCtrl MessageEditor" style="{xen:if $height, 'height: {$height};'}">{$message}</textarea>
</xen:if>
<input type="hidden" name="_xfRelativeResolver" value="{$requestPaths.fullUri}" />
<xen:if is="{$showWysiwyg}">
<xen:include template="editor_js_setup" />
</xen:if>
</div>
</xen:hook>
<xen:edithint template="editor_contents.css" />
<xen:edithint template="editor_ui.css" />
<xen:edithint template="form.css" />
Anyone mind pointing me in the right direction? thanks in advance...