we did with the default MyBB Editor. But then we found out the problem of the default editor was removing one space before code if you previewed it. So then we switch to Rin Editor. Which has a shit load even more problems. mainly the bad on being empty brackets and the indentation loss when toggling to WYSIWYG mode.
MyBB wont allow to toggle the option to turn off WYSIWYG mode until 1.10 or maybe even 2.0
The Rin Editor is a massive javascript fuck nest. I would love to just remove WYSIWYG mode at this point. It is not even worth it, and just causing a problem.
EDIT:
If we could remove the toggle button from view, that should work for now. Since we start in source mode by default that would just disallow toggling to WYSIWYG mode, but then there are other buttons that are only for WYSWIYG mode, that could also be removed. But i believe this is harder than it is due to javascript
EDIT2:
I tried editing the rin editor source from this
MyBB wont allow to toggle the option to turn off WYSIWYG mode until 1.10 or maybe even 2.0
The Rin Editor is a massive javascript fuck nest. I would love to just remove WYSIWYG mode at this point. It is not even worth it, and just causing a problem.
EDIT:
If we could remove the toggle button from view, that should work for now. Since we start in source mode by default that would just disallow toggling to WYSIWYG mode, but then there are other buttons that are only for WYSWIYG mode, that could also be removed. But i believe this is harder than it is due to javascript
EDIT2:
I tried editing the rin editor source from this
if($mybb->user['sourceeditor'] == 0) { $sourcemode = "source"; } else { $sourcemode = "wysiwyg"; }to this
if($mybb->user['sourceeditor'] == 0) { $sourcemode = "source"; } else { $sourcemode = "source"; }but nothing took effect when toggling. It stills goes to wysiwyg mode.
Recommended Tutorials: