[wp-trac] [WordPress Trac] #34713: TinyMCE paste options are ignored when 'teeny' is enabled in wp_editor.

WordPress Trac noreply at wordpress.org
Sat Dec 19 20:14:54 UTC 2015


#34713: TinyMCE paste options are ignored when 'teeny' is enabled in wp_editor.
--------------------------+-----------------------------
 Reporter:  jonkoops      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  4.3.1
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |     Focuses:  administration
--------------------------+-----------------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 Hi @jonkoops, thanks for the report.

 If you look at the HTML source or in the browser console, you'll see that
 `paste_remove_styles` is passed to TinyMCE. The problem is that this
 option is for the `paste` plugin, and that plugin is not loaded by default
 when `'teeny' => true`. You can use the `teeny_mce_plugins` filter to add
 'paste', or you can pass all plugins that you want to load in the settings
 array.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34713#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list