MyBB Community Forums

Full Version: How to set default editor in Wiki?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using this plugin by King Louis,
http://community.mybb.com/thread-120856.html

I am trying to change the default editor inside the Wiki. Is it possible?
Wiki Preview: http://gyazo.com/3e3d70a4ce6bf46c92cee7fdafbc3e48
Website Preview:

Website: http://VisualizeEdits.com/Wiki.php
Editor: SCEditor
Depends on how you installed SCEditor. Was it a plugin or a template edit like this?

The plugin would involve a slight modification, most likely, and the template edit would be easy.
(2013-08-26, 06:43 AM)Seabody Wrote: [ -> ]Depends on how you installed SCEditor. Was it a plugin or a template edit like this?

The plugin would involve a slight modification, most likely, and the template edit would be easy.

It was a plugin for MyBB downloaded here.
https://github.com/samclarke/SCEditor-MyBB/tags
File: inc/plugins/sceditor.php
Find:
	case 'calendar.php':
			if($mybb->input['action'] != 'addevent' || !$mybb->settings['enablesceditor_event'])
				return false;
			break;
Add after:
	case 'wiki.php':
			// eventual actions you want to disable the editor, just use the syntax of the other pages
			break;

The textarea used to write in Jones' Wiki plugin already has #message as ID, so editing this file should be enough to make it work.
Thank you very much. I inserted it into the code but won't be able to test it because of this issue.
http://community.mybb.com/thread-144649.html

I've sent you a message on my site.