[wp-trac] [WordPress Trac] #53762: Replace the remaining references to wp.editor with wp.oldEditor

WordPress Trac noreply at wordpress.org
Fri Jul 23 15:30:08 UTC 2021


#53762: Replace the remaining references to wp.editor with wp.oldEditor
------------------------------------+---------------------
 Reporter:  zieladam                |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  5.8.1
Component:  Editor                  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+---------------------
Changes (by SergeyBiryukov):

 * component:  General => Editor
 * milestone:  Awaiting Review => 5.8.1


Old description:

> In https://core.trac.wordpress.org/ticket/53437 we replaced some
> references to `wp.editor` (the legacy TinyMCE one) with `wp.oldEditor`
> (thanks to @spacedmonkey). In this ticket we replace the remaining
> references.
>
> The long-term goal is to resolve the conflicts with `wp.editor`, the
> Gutenberg module. We cannot fully remove `wp.editor` (the legacy TinyMCE
> one) because [https://wpdirectory.net/search/01F9Y8K963004JWYGWY0XQ3MKM
> many plugins depend on it]. We can, however, deprecate it.
>
> Step 1: `wp.editor` but replace references to `wp.editor` with
> `wp.oldEditor`
> Step 2: Deprecate `wp.editor`, add a dev note
> Step 3: Phase out `wp.editor` (the legacy TinyMCE one)
>
> cc @noisysocks @desrosj @spacedmonkey

New description:

 In #53437 we replaced some references to `wp.editor` (the legacy TinyMCE
 one) with `wp.oldEditor` (thanks to @spacedmonkey). In this ticket we
 replace the remaining references.

 The long-term goal is to resolve the conflicts with `wp.editor`, the
 Gutenberg module. We cannot fully remove `wp.editor` (the legacy TinyMCE
 one) because [https://wpdirectory.net/search/01F9Y8K963004JWYGWY0XQ3MKM
 many plugins depend on it]. We can, however, deprecate it.

 Step 1: `wp.editor` but replace references to `wp.editor` with
 `wp.oldEditor`
 Step 2: Deprecate `wp.editor`, add a dev note
 Step 3: Phase out `wp.editor` (the legacy TinyMCE one)

 cc @noisysocks @desrosj @spacedmonkey

--

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


More information about the wp-trac mailing list