Това разширение не е обновявано повече от 2 години. Може вече да не се поддържа и да има проблеми със съвместимостта при използването му на по-нови версии на WordPress.

CodePen Embed Block

Описание

CodePen is an online code editor for front-end development. You build things (we call them Pens) with HTML, CSS, and JavaScript, and the languages and libraries that go along with those. Any Pen can be embedded on another site, making them useful for blog posts, documentation, forums, etc.

This block makes it easy to embed them. While oEmbed (just paste in a Pen URL!) also works for CodePen embeds in the block editor, this plugin allows for much more control, like setting the the height, theme, and default tabs.

Снимки на разширението

Blocks

This plugin provides 1 block.

  • CodePen Embed Embeds CodePen pens

Инсталиране

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.

Отзиви

20.01.2022
I write web development tutorials in my blog and have tried many syntax highlighter options for code snippets in the past. I recently decided to give Codepen a try and this plugin is surely the best way to embed and configure those!
Прочетете всички 2 отзива

Сътрудници и разработчици

“CodePen Embed Block” е софтуер с отворен код. Към разширението са допринесли следните хора:

Сътрудници

“CodePen Embed Block” е преведено на 2 езика. Благодарности на преводачите за техния принос.

Превеждане на “CodePen Embed Block” на вашия език.

Имате интерес към разработване?

Преглеждане на кода, разглеждане на SVN хранилище, или абонамент към програмната история (log) чрез RSS.

Списък с промени

1.0

  • Initial release

1.0.2

  • Added editable option

1.0.3

  • Tested up to WordPress 6.3.1

1.1.0

  • Added new setting for default theme ID

1.2.0

  • Rewritten using @wordpress/blocks builder
  • Update RegEx to support 2.0 editor URLs

1.2.1

  • Sanitize and escape the default theme ID setting to prevent stored cross-site scripting.