Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can WYSIWYG Die?
#24
So i had a lot of trouble finding a route to set everyone to source mode. sql commands wouldnt work, templates setting sourecmode to true didnt work, etc.

There is only one way i could figure out how to make sure people use source mode and that is to enable sourcemode when someones enters the editor. However that bypasses their personal option meaning no one could ever use WYSIWYG. Not that care because i hated it, but it would restrict people to force in one direction.

I could leave it as is and if someone from mybb team ever respond i could figure out a way to make it by default? But if we all hate WYSIWYG editor we could just leave it?

Ill await to hear what people say before changing anymore.

Im assuming the WYSIWYG editor was the problem for removing whitespace from the OP of this thread as well as that weird issue where it would remove 1 space from indentations? Also the whole BBCode help do would have to be rewritten as WYSIWYG wouldnt exist anymore.

@decorator(param=1)
def f(x):
  """ Syntax Highlighting Demo
      @param x Parameter"""
  s = ("Test", 2+3, {'a': 'b'}, x)   # Comment
  print s[0].lower()

class Foo:
  def __init__(self):

EDIT:
The code when switched to preview still shows the code not indented...but when posting it is indented...so yeah there always seems to be something lol

EDIT2:
Oh wait. i guess that is only if you dont use python/code tags it doesnt indent in preview. Otherwise it does the first time.
Recommended Tutorials:
Reply


Messages In This Thread
Can WYSIWYG Die? - by micseydel - Jan-17-2017, 01:48 AM
RE: Can WYSIWYG Die? - by metulburr - Jan-17-2017, 03:33 AM
RE: Can WYSIWYG Die? - by Larz60+ - Jan-17-2017, 03:42 AM
RE: Can WYSIWYG Die? - by buran - Jan-17-2017, 11:31 AM
RE: Can WYSIWYG Die? - by wavic - Jan-17-2017, 02:57 PM
RE: Can WYSIWYG Die? - by micseydel - Jan-17-2017, 04:29 PM
RE: Can WYSIWYG Die? - by metulburr - Jan-17-2017, 05:11 PM
RE: Can WYSIWYG Die? - by micseydel - Jan-17-2017, 10:05 PM
RE: Can WYSIWYG Die? - by metulburr - Jan-17-2017, 11:06 PM
RE: Can WYSIWYG Die? - by micseydel - Jan-17-2017, 11:31 PM
RE: Can WYSIWYG Die? - by metulburr - Jan-17-2017, 11:56 PM
RE: Can WYSIWYG Die? - by metulburr - Jan-18-2017, 08:59 PM
RE: Can WYSIWYG Die? - by micseydel - Jan-18-2017, 09:20 PM
RE: Can WYSIWYG Die? - by metulburr - Jan-18-2017, 11:00 PM
RE: Can WYSIWYG Die? - by micseydel - Jan-18-2017, 11:29 PM
RE: Can WYSIWYG Die? - by metulburr - Jan-18-2017, 11:33 PM
RE: Can WYSIWYG Die? - by stranac - Jan-23-2017, 03:44 PM
RE: Can WYSIWYG Die? - by Skaperen - Jan-24-2017, 04:16 AM
RE: Can WYSIWYG Die? - by micseydel - May-24-2017, 04:34 PM
RE: Can WYSIWYG Die? - by metulburr - May-24-2017, 05:27 PM
RE: Can WYSIWYG Die? - by metulburr - May-24-2017, 06:16 PM
RE: Can WYSIWYG Die? - by Larz60+ - May-24-2017, 06:28 PM
RE: Can WYSIWYG Die? - by metulburr - May-24-2017, 11:07 PM
RE: Can WYSIWYG Die? - by metulburr - May-25-2017, 12:28 AM
RE: Can WYSIWYG Die? - by micseydel - May-25-2017, 12:48 AM
RE: Can WYSIWYG Die? - by metulburr - May-25-2017, 01:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  WYSIWYG dead, source mode enabled metulburr 0 2,865 May-31-2017, 01:26 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

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