• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[1.0.0 b1] Disable WYSIWYG

Jake Bunce

Well-known member
There is currently no setting or preference for it, but you can edit the templates to permanently disable the WYSIWYG 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
 
There is now an account setting for the editor preference yes, but it's per member whereas this edit applies to all members.
 
Top Bottom