Talk:SourceEditButton

As the person who initially requested this, accessing the source editor like this doesn't allow the PreloadTemplates script to function. The only way to do so (normally) is to have the source editor as your default, which disables the use of the classic-rich-text editor.

As such, the solution I implemented was to change so that the classic rich-text (&useeditor=visual) editor was the destination in the code. This isn't a PERFECT fix, but it allows users to set their default to the source editor, while still having both the rich-text and true visual (?veaction=edit) editors as options.

What would really be nice is a button to force the source editor WITHOUT the option to switch to the rich-text editor, which would mimic what users who have the default as the source editor see. I don't even know if it's possible, but I assume it is.

Of course, the other solution would be to fix PreloadTemplates so that it works with the rich-text editor, but I would assume that's a more complicated process.

Regardless, I do thank Sophiedp for making this page, and KockaAdmiralac for cleaning up and simplifying the code. ExtraWeesee (talk) 20:29, March 31, 2018 (UTC)