[wp-trac] [WordPress Trac] #17994: TinyMCE fullscreen mode on custom editors on post edit and plugin page

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 5 14:36:05 UTC 2011


#17994: TinyMCE fullscreen mode on custom editors on post edit and plugin page
--------------------------+-----------------------------
 Reporter:  evomase       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  3.2
 Severity:  normal        |   Keywords:  needs-refresh
--------------------------+-----------------------------
 '''ISSUE 1:'''
 When clicking on the full screen mode button on a custom editor (post edit
 page), the content rendered on the full screen window inaccurate. Also,
 when clicking the update button it updates the default wordpress content
 editor.

 '''ISSUE 2:'''
 On a plugin page it is a different scenario. When using the wp_tiny_mce
 function to render the editor, it throws a JS error saying the edCanvas
 variable isn't defined.

 '''POSSIBLE SOLUTION:'''
 In regards to both issues and looking at the wp-fullscreen.dev.js file,
 the editor_id is hard coded and hence why it always points to default
 wordpress editor.

 Also is there a way to bind the wordpress tinymce buttons to the current
 active tinymce editor? At the moment it's hard coded to point to
 'content'.

 I already addressed this issue on my blog in regards to using the media
 buttons on custom editors - http://goo.gl/4VVsB

 It will be awesome if all wordpress tinymce buttons dynamically picks up
 the active editor.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17994>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list