SMF Support > SMF 2.0.x Support
How do I edit Display.php to turn off Wysiwyg text editor?
(1/1)
Groovystar:
NO admin controls are allowing me to turn it off. I have it set to be off but it continues to show up in quick reply and it's preventing another mod from working. I need to be able to disable this Wysiwyg editor ASAP. Can anyone help? Special thanks to anyone who can.
Arantor:
You can do so in the main editor, slightly crudely, by editing the Sources/Subs-Editor.php file and finding:
--- Code: --- // Start off the editor...
--- End code ---
And straight after that (on the next line), add:
--- Code: --- $modSettings['disable_wysiwyg'] = false;
--- End code ---
That option is supposed to work from the admin panel but setting it manually in the code should disable the rest of the WYSIWYG editor.
If it doesn't, please then attach your Subs-Editor.php file.
Groovystar:
Thanks! I actually managed to remove the wysiwyg editor. :)
Navigation
[0] Message Index
Go to full version