[wp-trac] [WordPress Trac] #41206: Add embed handler for GitHub gists
WordPress Trac
noreply at wordpress.org
Thu Jun 29 17:47:44 UTC 2017
#41206: Add embed handler for GitHub gists
-------------------------+-----------------------------
Reporter: swissspidy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version:
Severity: normal | Keywords: has-patch
Focuses: |
-------------------------+-----------------------------
Gutenberg currently explores adding adding a new block for embedding gists
from GitHub (gist.github.com). See:
https://github.com/WordPress/gutenberg/issues/1567.
Although Gist supports oEmbed, it only returns raw HTML with code
excerpts. There's a superior JS method for embeds, which is also shown
when viewing a Gist in the browser. Jetpack supports this method as well.
If Gutenberg wants to add a new block for gists, it should definitely be
supported natively by core.
See attached patch as a PoC
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41206>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list