[wp-trac] [WordPress Trac] #19173: Issues with wp_editor() when used inside of a meta box.
WordPress Trac
noreply at wordpress.org
Wed Feb 8 21:09:28 UTC 2017
#19173: Issues with wp_editor() when used inside of a meta box.
--------------------------+-----------------------
Reporter: goto10 | Owner: azaozz
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Editor | Version: 3.3
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+-----------------------
Changes (by guillaumemolter):
* status: closed => reopened
* resolution: maybelater =>
Comment:
Hi,
I have attached a patch based on @azaozz solution. The only things that
needed to be added were:
1) handle the use case where multiple editors are used in multiple meta-
boxes
2) If the user was currently viewing quicktags, @azaozz solution was
bringing the editor in the foreground. I'm switching back to TinyMCE.
Please let me know if you think that could be improved in any ways.
This is my first contribution to Core so be indulgent :-)
Best,
Guillaume
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19173#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list