[wp-trac] [WordPress Trac] #58672: Font asset files not loading within iframed editor

WordPress Trac noreply at wordpress.org
Fri Jun 30 15:20:57 UTC 2023


#58672: Font asset files not loading within iframed editor
-------------------------------------------------+-------------------------
 Reporter:  ironprogrammer                       |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.3
Component:  Editor                               |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:
  testing-info has-screenshots gutenberg-merge   |
-------------------------------------------------+-------------------------
Description changed by ironprogrammer:

Old description:

> The editor is now iframed in 6.3 unless metaboxes are present, so paths
> in `@font-face` definitions in the iframed editor cannot be relative.
> There was a fix for this
> ([https://github.com/WordPress/gutenberg/pull/51178 GB PR 51178]) merged
> to Gutenberg, but the
> [https://github.com/WordPress/gutenberg/issues/41479#issuecomment-1597915077
> Fonts API has undergone significant changes] such that it was not
> included in 6.3.

New description:

 The [https://core.trac.wordpress.org/ticket/58626 editor may now be
 iframed in 6.3] unless metaboxes are present, so paths in `@font-face`
 definitions in the iframed editor cannot be relative. There was a fix for
 this ([https://github.com/WordPress/gutenberg/pull/51178 GB PR 51178])
 merged to Gutenberg, but the
 [https://github.com/WordPress/gutenberg/issues/41479#issuecomment-1597915077
 Fonts API has undergone significant changes] such that it was not included
 in 6.3.

--

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


More information about the wp-trac mailing list