Skip to content

Commit

Permalink
trim code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy authored Jan 4, 2025
1 parent 9e34489 commit 682871d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/source/blocks/editcomponent.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ const Edit = (props) => {
)

}

```

Everything that's inside the `SidebarPortal` component will be rendered in the sidebar. If you need an extra layer of configuration within `SidebarPortal`, you can use `SidebarPopup`.

```jsx

import { SidebarPopup } from '@plone/volto/components';

const Edit = (props) => {
Expand All @@ -60,7 +58,6 @@ const Edit = (props) => {
</SidebarPopup>
)
}

```

## Schema driven automated block settings forms
Expand Down Expand Up @@ -148,7 +145,6 @@ const Edit = (props) => {
</SidebarPortal>;
)
}

```

## Object Browser
Expand Down

0 comments on commit 682871d

Please sign in to comment.