[wp-hackers] WordPress Front-End tinyMCE

Kevin Stover kstover at gmail.com
Fri Jul 8 00:34:38 UTC 2011


I found the problem. I was using brackets in my form element name and
unwittingly passing those on to the WP_Editor. I attempted escaping the
bracket characters, but eventually just wrote a quick find and replace so
that it can have a bracketed name but not id. Thank you for a great piece of
code. It will save me a lot of time and heartache!

Kevin

On Thu, Jul 7, 2011 at 8:23 PM, Andrew Ozz <admin at laptoptips.ca> wrote:

> On 07/07/2011 4:52 PM, Kevin Stover wrote:
>
>> ...I am having a problem,
>>
>> however, in getting the wp_editor to work on the admin-side.
>>
>
> You are setting it properly, right?
>
> global $wp_editor;
> $wp_editor->editor( 'some content', 'one' );
> $wp_editor->editor( 'more content', 'two' );
>
> ______________________________**_________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.**com <wp-hackers at lists.automattic.com>
> http://lists.automattic.com/**mailman/listinfo/wp-hackers<http://lists.automattic.com/mailman/listinfo/wp-hackers>
>



-- 
Kevin Stover
Executive Pastor
The Exchange
http://www.theexchanged.com
http://www.kevinstoverblog.com
http://www.twitter.com/kstover


More information about the wp-hackers mailing list