Skip to content

Instantly share code, notes, and snippets.

@igmoweb
Last active July 28, 2020 09:49
Show Gist options
  • Select an option

  • Save igmoweb/7a1b8385f29ed4cfc45470fc5eaf8fe1 to your computer and use it in GitHub Desktop.

Select an option

Save igmoweb/7a1b8385f29ed4cfc45470fc5eaf8fe1 to your computer and use it in GitHub Desktop.

Revisions

  1. igmoweb revised this gist Jul 28, 2020. 1 changed file with 14 additions and 1 deletion.
    15 changes: 14 additions & 1 deletion gblock-settings-panel.js
    Original file line number Diff line number Diff line change
    @@ -1 +1,14 @@
    _
    import { InspectorControls } from '@wordpress/block-editor';
    import { PanelBody } from '@wordpress/components';

    const BlockSettings = () => {
    return <InspectorControls>
    <PanelBody
    title="My panel body"
    >
    Hello world
    </PanelBody>
    </InspectorControls>
    }

    export default BlockSettings;
  2. igmoweb created this gist Jul 28, 2020.
    1 change: 1 addition & 0 deletions gblock-settings-panel.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    _