This Gutenberg block makes it easy to embed them. While oEmbed (just paste in a Pen URL!) also works for CodePen embeds in Gutenberg, this plugin allows for much more control, like setting the the height, theme, and default tabs.
這個外掛提供 2 個可供 Gutenberg/區塊編輯器使用的區塊。
- CodePen Embed
- CodePen Embed Block
Install from the WordPress Plugin Directory.
Why is this useful?
It’s helpful for embedding Pens you build (or others have built) on CodePen on your own WordPress site.
以下人員參與了開源軟體〈CodePen Embed Block〉的開發相關工作。參與者
- Initial release
- Added editable option