[wp-hackers] HTML in the visual editor
wordpress at zed1.com
Fri Oct 28 16:51:26 UTC 2011
On Fri, Oct 28, 2011 at 17:42, Andrew Ozz <admin at laptoptips.ca> wrote:
> On 28/10/2011 8:53 AM, Marcus Pope wrote:
> But my main gripe is that when I spend a bunch of effort to markup a
>> post in HTML, it shouldn't be mangled and ripped apart just because I
>> want to preview it in the Visual tab.
> This is a misconception: the visual editor is a _text_ editor, not HTML IDE
> thing. It works similarly to MS Word or OO Writer and uses HTML code for
> formatting the text the same way other text editors use xml. If you prefer
> to code the HTML by hand or other means, you shouldn't use it.
Agreed. Rather than try to modify a fairly simple visual editor that does
what it's supposed to do and doesn't try to be too clever; why not make your
plugin add a new option of *replacing* the visual editor with a WYSIWYG HTML
More information about the wp-hackers