[wp-trac] [WordPress Trac] #62924: TinyMCE uses deprecated “unload” event listener

WordPress Trac noreply at wordpress.org
Sat Feb 8 17:58:41 UTC 2025


#62924: TinyMCE uses deprecated “unload” event listener
-------------------------------+------------------------------
 Reporter:  hackneyprotection  |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  TinyMCE            |     Version:  4.0
 Severity:  normal             |  Resolution:
 Keywords:  dev-feedback       |     Focuses:  javascript
-------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:  dev-feedback reporter-feedback changes-requested => dev-
               feedback
 * focuses:  ui, javascript, css, php-compatibility => javascript
 * version:  6.7.1 => 4.0


Comment:

 'unload' is in the [https://github.com/WordPress/wordpress-
 develop/blob/bd3fdcce0768e53a52c1331eb25c21a7926fbe82/src/js/_enqueues/vendor/tinymce/tinymce.js#L1255-L1263
 setDocument function], part of TinyMCE 4.1.2 in [29203].

 The comment (in the original changeset [29203]) mentions an
 [https://bugs.jquery.com/ticket/13936/ IE permissions bug], so the code
 block might not be necessary anymore.

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


More information about the wp-trac mailing list