[wp-trac] [WordPress Trac] #27724: Missing resize handle in TinyMCE

WordPress Trac noreply at wordpress.org
Tue Apr 8 15:57:22 UTC 2014


#27724: Missing resize handle in TinyMCE
--------------------------+-----------------------------
 Reporter:  toscho        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 If you create a new instance of TinyMCE in the current trunk, the resize
 handle is missing. This is a regression, it works in 3.8.

 Test code:

 {{{
 add_action( 'add_meta_boxes_post', function() {
         add_meta_box( 'resize_test', 'Resize test', function() {
                 wp_editor( '', 'resize_test_editor', [ 'resize' =>
 'vertical' ] );
         });
 });
 }}}

 This is rather important for translation plugins where a separate editor
 is used for each language. The typical workflow is:

 1. Write the original text in the first editor.
 2. Make the first editor smaller and the first translation editor larger,
 write the first translation.
 3. Make the second editor smaller and the third translation box larger …

 The only way to resize the editor is to switch to HTML editor (if that is
 available), use its resize handle and switch back. Not exactly a good user
 experience.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27724>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list