On 12/12/05, Mark Jaquith <[EMAIL PROTECTED]> wrote:
> What about the following situation?
>
> 1. Start new entry in RTE mode
> 2. Type a sentence
> 3. Click the "plain text" button
>
> Without a save of the post, wouldn't it be limited, to whatever
> information was originally loaded, or would it be possible to have
> the RTE convert and send the text to the plain text editor and vice
> versa when the button is pressed?

Our TinyMCE plugin's get_from_editor already handles this. It takes
the markup, strips anonymous paragraphs, adds line breaks so wpauto
can reconstitute them, and indents certain block elements.

To go in the other direction, the switch-back-to-RTE function would
have to emulate wp_richedit_pre, which includes wpautop.

> If so, it sounds great.  Is this even doable with a plugin, or is
> this going to be a core enhancement for a future version of WP?

I can see this hitting core in 2-point-something. It might be styled
like a tabbed object, much like Blogger's editor only far, far cooler.

Andy
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to