Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
indentation loss
#4
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
    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:
Reply


Messages In This Thread
indentation loss - by metulburr - Dec-24-2017, 05:47 PM
RE: indentation loss - by micseydel - Dec-24-2017, 05:54 PM
RE: indentation loss - by Larz60+ - Dec-24-2017, 05:56 PM
RE: indentation loss - by metulburr - Dec-24-2017, 06:07 PM
RE: indentation loss - by Larz60+ - Dec-24-2017, 06:13 PM
RE: indentation loss - by metulburr - Dec-24-2017, 06:34 PM
RE: indentation loss - by snippsat_testing - Dec-25-2017, 12:29 PM
RE: indentation loss - by metulburr - Dec-25-2017, 01:20 PM
RE: indentation loss - by snippsat_testing - Dec-25-2017, 01:37 PM
RE: indentation loss - by snippsat_testing - Dec-25-2017, 04:15 PM
RE: indentation loss - by metulburr - Dec-25-2017, 07:54 PM
RE: indentation loss - by snippsat_testing - Dec-25-2017, 08:13 PM
RE: indentation loss - by metulburr - Dec-25-2017, 08:14 PM
RE: indentation loss - by snippsat_testing - Dec-25-2017, 08:23 PM
RE: indentation loss - by metulburr - Dec-25-2017, 09:17 PM
RE: indentation loss - by snippsat_testing - Dec-25-2017, 09:34 PM
RE: indentation loss - by metulburr - Dec-25-2017, 09:36 PM
RE: indentation loss - by snippsat - Dec-25-2017, 09:42 PM
RE: indentation loss - by metulburr - Dec-26-2017, 12:40 AM
RE: indentation loss - by snippsat - Dec-26-2017, 09:55 PM
RE: indentation loss - by snippsat - Dec-28-2017, 05:00 PM
RE: indentation loss - by snippsat - Dec-29-2017, 04:04 AM
RE: indentation loss - by metulburr - Dec-29-2017, 10:30 AM
RE: indentation loss - by metulburr - Dec-29-2017, 10:31 AM
RE: indentation loss - by snippsat - Dec-29-2017, 12:25 PM
RE: indentation loss - by Larz60+ - Dec-29-2017, 12:32 PM
RE: indentation loss - by metulburr - Dec-29-2017, 01:19 PM
RE: indentation loss - by snippsat - Dec-29-2017, 02:11 PM
RE: indentation loss - by sparkz_alot - Dec-29-2017, 02:59 PM
RE: indentation loss - by snippsat - Dec-29-2017, 03:06 PM
RE: indentation loss - by sparkz_alot - Dec-29-2017, 04:21 PM
RE: indentation loss - by metulburr - Dec-29-2017, 04:26 PM
RE: indentation loss - by snippsat - Dec-29-2017, 05:05 PM
RE: indentation loss - by buran - Dec-29-2017, 07:44 PM
RE: indentation loss - by snippsat - Dec-29-2017, 08:49 PM
RE: indentation loss - by buran - Dec-29-2017, 09:00 PM
RE: indentation loss - by sparkz_alot - Dec-29-2017, 08:54 PM
RE: indentation loss - by snippsat - Dec-29-2017, 09:03 PM
RE: indentation loss - by snippsat - Dec-29-2017, 09:10 PM
RE: indentation loss - by buran - Dec-29-2017, 09:19 PM
RE: indentation loss - by sparkz_alot - Dec-29-2017, 09:17 PM
RE: indentation loss - by snippsat - Dec-29-2017, 09:35 PM
RE: indentation loss - by Larz60+ - Dec-29-2017, 11:43 PM
RE: indentation loss - by metulburr - Dec-30-2017, 12:09 AM
RE: indentation loss - by snippsat - Dec-30-2017, 08:14 AM
RE: indentation loss - by metulburr - Dec-30-2017, 02:22 PM
RE: indentation loss - by snippsat - Dec-30-2017, 07:31 PM
RE: indentation loss - by metulburr - Dec-30-2017, 10:13 PM
RE: indentation loss - by snippsat - Dec-31-2017, 02:37 PM
RE: indentation loss - by snippsat - Jan-02-2018, 06:22 AM
RE: indentation loss - by buran - Jan-02-2018, 08:21 AM
RE: indentation loss - by metulburr - Jan-02-2018, 12:24 PM
RE: indentation loss - by snippsat - Jan-02-2018, 02:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  server reset loss data ~2 hours metulburr 8 5,431 Dec-11-2017, 05:54 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020