[wp-hackers] making the code editor the default view

John Blackbourn johnbillion+wp at gmail.com
Sat Dec 1 16:20:36 GMT 2007


Idea off the top of my head as I don't have a WP installation to hand
to look myself.

Find the JavaScript function that is called when you click on the
'code' tab. Write a plugin that calls that function when the post
writing screen finishes loading, which should make the editor switch
to code view, still leaving the visual tab available.

Just an idea.

On Dec 1, 2007 3:17 PM, David Weitz <dabbaking at gmail.com> wrote:
> Or maybe just have a box that says "Disable Visual Editor" which will
> completely eliminate TinyMCE. Also, there can be a dropdown option where
> you can select your default tab or "view", whether that be code or the
> visual tab.
>
>
> Jeremy Visser wrote:
> > On Sat, 2007-12-01 at 11:43 +0000, Johannes Ruthenberg wrote:
> >> I just wonder if there is a way to do that and if not, if there would be
> >> interest to add this functionality.
> >
> > I would be interested as well. I believe what you're suggesting should
> > become the behaviour for unchecking the "use visual editor" in your
> > profile, rather than disabling TinyMCE completely.
> >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list