<xen:if is="{$showWysiwyg} AND false">
<textarea name="{$formCtrlNameHtml}" id="{$editorId}_html" style="display:none" class="textCtrl MessageEditor">{$messageHtml}</textarea>
<noscript><textarea name="{$formCtrlName}" id="{$editorId}" class="textCtrl MessageEditor">{$message}</textarea></noscript>
<xen:else />
<textarea name="{$formCtrlName}" id="{$editorId}" class="textCtrl MessageEditor">{$message}</textarea>
</xen:if>
<input type="hidden" name="_xfRelativeResolver" value="{$requestPaths.fullUri}" />
<xen:if is="{$showWysiwyg} AND false">
<xen:include template="editor_js_setup" />
</xen:if>
<xen:comment><xen:require css="editor_contents.css" /></xen:comment>
Nice one Jake.You can also edit the templates to permanently enable the plain text editor
Presumably the link to switch back to the rich text editor still works?
Ah.Nope.
You can also edit the templates to permanently enable the plain text editor:
Admin CP -> Appearance -> Templates -> editor_quick_reply
Add " AND false" to the WYSIWYG conditions as shown below:
Code:<xen:if is="{$showWysiwyg} AND false"> <textarea name="{$formCtrlNameHtml}" id="{$editorId}_html" style="display:none" class="textCtrl MessageEditor">{$messageHtml}</textarea> <noscript><textarea name="{$formCtrlName}" id="{$editorId}" class="textCtrl MessageEditor">{$message}</textarea></noscript> <xen:else /> <textarea name="{$formCtrlName}" id="{$editorId}" class="textCtrl MessageEditor">{$message}</textarea> </xen:if> <input type="hidden" name="_xfRelativeResolver" value="{$requestPaths.fullUri}" /> <xen:if is="{$showWysiwyg} AND false"> <xen:include template="editor_js_setup" /> </xen:if> <xen:comment><xen:require css="editor_contents.css" /></xen:comment>
You can do the same thing to this template:
Admin CP -> Appearance -> Templates -> editor
But no buttons, correct?Yes. You can still use BB code in the plain text editor.
But no buttons, correct?
Correct. No shortcut buttons. You will have to manually type the BB codes.
You can also edit the templates to permanently enable the plain text editor:
Admin CP -> Appearance -> Templates -> editor_quick_reply
Add " AND false" to the WYSIWYG conditions as shown below:
Code:<xen:if is="{$showWysiwyg} AND false"> <textarea name="{$formCtrlNameHtml}" id="{$editorId}_html" style="display:none" class="textCtrl MessageEditor">{$messageHtml}</textarea> <noscript><textarea name="{$formCtrlName}" id="{$editorId}" class="textCtrl MessageEditor">{$message}</textarea></noscript> <xen:else /> <textarea name="{$formCtrlName}" id="{$editorId}" class="textCtrl MessageEditor">{$message}</textarea> </xen:if> <input type="hidden" name="_xfRelativeResolver" value="{$requestPaths.fullUri}" /> <xen:if is="{$showWysiwyg} AND false"> <xen:include template="editor_js_setup" /> </xen:if> <xen:comment><xen:require css="editor_contents.css" /></xen:comment>
You can do the same thing to this template:
Admin CP -> Appearance -> Templates -> editor
editor_quick_reply not around any more?
UPDATE xf_user_option
SET enable_rte = 0;
We use essential cookies to make this site work, and optional cookies to enhance your experience.