CodePen Embed Block

Opis

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.

Zrzuty ekranu

  • Adding a CodePen Embed block.
  • The block with all the options.

Bloki

Wtyczka dodaje 1 blok.

  • CodePen Embed Embeds CodePen pens

Instalacja

Install from the WordPress Plugin Directory.

Najczęściej zadawane pytania

Why is this useful?

It’s helpful for embedding Pens you build (or others have built) on CodePen on your own WordPress site.

Recenzje

2022-01-20
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!
Przeczytaj 2 recenzje

Kontrybutorzy i deweloperzy

„CodePen Embed Block” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.

Zaangażowani

Wtyczka „CodePen Embed Block” została przetłumaczona na 2 języki. Podziękuj tłumaczom za ich wkład.

Przetłumacz wtyczkę “CodePen Embed Block” na swój język.

Interesuje cię rozwój wtyczki?

Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.

Rejestr zmian

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