Editor Switcher HTML/Text
-
Notice in the fresh install that the text editor doesn’t have the option to switch. Looking at the source and comparing it to my older version, it doesn’t include the javascript.
OLD Version:
<div id="editor-toolbar"> <div class="zerosize"><input accesskey="e" type="button" onclick="switchEditors.go('content')" /></div> <a id="edButtonHTML" class="active hide-if-no-js" onclick="switchEditors.go('content', 'html');">HTML</a> <a id="edButtonPreview" class="hide-if-no-js" onclick="switchEditors.go('content', 'tinymce');">Visual</a> <div id="media-buttons" class="hide-if-no-js">3.0.1 Version:
<div id="editor-toolbar"> <div id="media-buttons" class="hide-if-no-js">So I look at the top for the include and found the script type=’text/javascript’ src= blah, blah blah… where it should call the editor “load=editor” among other things.
Looked inside the wp-admin/js folder and compared the editor.js file and they are completely different.
Should I upload the old file, would it work?Unless I completely screwed something up…
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Editor Switcher HTML/Text’ is closed to new replies.