[wp-trac] [WordPress Trac] #45757: Plugin that registers new embed handler cannot get editor preview in core, but can with Gutenberg plugin

WordPress Trac noreply at wordpress.org
Mon Dec 24 10:11:17 UTC 2018


#45757: Plugin that registers new embed handler cannot get editor preview in core,
but can with Gutenberg plugin
--------------------------+-----------------------------
 Reporter:  notnownikki   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  5.0.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 This seems to be an issue with plugins that use wp_embed_register_handler
 to add more embed handlers.

 I tested the plugin at https://wordpress.org/plugins/soundfaith-embed/
 which provides an embed handler for faithlife.com

 If you use the plugin version of Gutenberg, the editor works fine and the
 default embed block provides a preview of the embed, as expected.

 If you just use core WordPress, the oembed proxy returns a 404.

 Tested with 5.0.2, embedding https://sermons.faithlife.com/sermons/334709
 -the-gift-of-peace

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


More information about the wp-trac mailing list