Title: Demo Content for Blocks
Author: Alvaro
Published: <strong>16 maj 2019</strong>
Last modified: 18 mars 2020

---

Sök tillägg

![](https://ps.w.org/demo-content-for-blocks/assets/banner-772x250.png?rev=2089507)

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://ps.w.org/demo-content-for-blocks/assets/icon-256x256.png?rev=2089468)

# Demo Content for Blocks

 Av [Alvaro](https://profiles.wordpress.org/melonpan/)

[Ladda ner](https://downloads.wordpress.org/plugin/demo-content-for-blocks.1.2.0.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/demo-content-for-blocks/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/demo-content-for-blocks/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/demo-content-for-blocks/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/demo-content-for-blocks/#developers)

 [Support](https://wordpress.org/support/plugin/demo-content-for-blocks/)

## Beskrivning

[Demo](https://gutenberg-showcase.melonpan.io/demo-content-for-blocks) – [Documentation](https://melonpan.io/wordpress-plugins/demo-content-for-blocks)–
[GitHub](https://github.com/garciaalvaro/demo-content-for-blocks)

Demo Content for Blocks provides utilities to quickly add blocks with predefined
content to any post.

### Plugin and Theme developers

The plugin can be used to set blocks with your own content. This way users will 
be able to add blocks with content already set. For more information check the [documentation](https://melonpan.io/wordpress-plugins/demo-content-for-blocks).

### Usage

Inside the Post editor on the right side of the top Block’s Toolbar the plugin icon/
button should appear (if not, please read the FAQ below).
 Click the icon/button
to open the plugin sidebar. By default two panels appear, single core blocks and
multiple core blocks. Click the ADD or REPLACE buttons to insert the block with 
its demo content inside the editor.

### Credits

Images included in the plugin belong to [Charles Postiaux](https://unsplash.com/@charlpost).

## Skärmdumpar

[⌊Plugin sidebar⌉⌊Plugin sidebar⌉[

Plugin sidebar

[⌊Default Single core blocks panel⌉⌊Default Single core blocks panel⌉[

Default Single core blocks panel

## Installation

Installation from the WordPress admin.

 1. Log in to the WordPress admin and navigate to _Plugins > Add New_.
 2. Type _Demo Content for Blocks_ in the Search field.
 3. In the results list _Demo Content for Blocks_ plugin should appear, click **Install
    Now** button.
 4. Once it finished installing, click the _Activate_ button.
 5. Now you can go to any post where the Block editor is enabled.

#### I do not see the plugin icon in the post editor

Alternatively the Plugin can be opened from the Show More button (the 3 dots on 
the right side of the Editor Top Bar). Click the More button and inside the menu
list click on the plugin name ”Demo Content for Blocks”.

## Recensioner

![](https://secure.gravatar.com/avatar/5f295dd8d04939f6fe3dac8dc058e25c935ffd8ee4dae521d506eec9eaf313a8?
s=60&d=retro&r=g)

### 󠀁[So useful!](https://wordpress.org/support/topic/so-useful-108/)󠁿

 [Sebastian ”rawsta” Fiele](https://profiles.wordpress.org/rawsta/) 19 augusti 2022

This helps in creating sample content for development a lot. Big Collection of various
Blocks that can be added with a click.

 [ Läs 1 betyg ](https://wordpress.org/support/plugin/demo-content-for-blocks/reviews/)

## Bidragsgivare och utvecklare

”Demo Content for Blocks” är programvara med öppen källkod. Följande personer har
bidragit till detta tillägg.

Bidragande personer

 *   [ Alvaro ](https://profiles.wordpress.org/melonpan/)

[Översätt ”Demo Content for Blocks” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/demo-content-for-blocks)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/demo-content-for-blocks/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/demo-content-for-blocks/)
eller prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/demo-content-for-blocks/)
via [RSS](https://plugins.trac.wordpress.org/log/demo-content-for-blocks/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.2.0

 * Fixed block registration bug. Now if a block is not registered it is not included
   in the item
 * Added linter for development
 * Updated dependencies and types
 * Minor bugfixes

#### 1.1.2

 * Minor bugfixes

#### 1.1.1

 * Fixed bug where innerBlocks custom image props were not being parsed

#### 1.1.0

 * Improved code base. Migrated JavaScript to TypeScript
 * Merged upload images in a single call
 * Fixed styling

#### 1.0.1

 * Fix ”custom_images” property, from dc_resolve to dcfb_resolve

#### 1.0.0

 * Initial release

## Meta

 *  Version **1.2.0**
 *  Senast uppdaterat **7 år sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 5.2 eller senare **
 *  Testat upp till **5.4.25**
 *  PHP-version ** 7.1 eller senare **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/demo-content-for-blocks/)
 * Etiketter
 * [block](https://sv.wordpress.org/plugins/tags/block/)[content](https://sv.wordpress.org/plugins/tags/content/)
   [demo](https://sv.wordpress.org/plugins/tags/demo/)[demo content](https://sv.wordpress.org/plugins/tags/demo-content/)
   [gutenberg](https://sv.wordpress.org/plugins/tags/gutenberg/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/demo-content-for-blocks/advanced/)

## Betyg

 5 av 5 stjärnor.

 *  [  1 5-stjärnig recension     ](https://wordpress.org/support/plugin/demo-content-for-blocks/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/demo-content-for-blocks/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/demo-content-for-blocks/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/demo-content-for-blocks/reviews/?filter=2)
 *  [  0 1-stjärniga recensioner     ](https://wordpress.org/support/plugin/demo-content-for-blocks/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/demo-content-for-blocks/reviews/#new-post)

[Visa alla recensioner](https://wordpress.org/support/plugin/demo-content-for-blocks/reviews/)

## Bidragande personer

 *   [ Alvaro ](https://profiles.wordpress.org/melonpan/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/demo-content-for-blocks/)