Skip to content

Commit

Permalink
Fix focus management
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Sep 25, 2020
1 parent 2f2055f commit 35327d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions src/components/manage/Blocks/Group/Edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,7 @@ import { emptyBlocksForm } from '@plone/volto/helpers';
import './editor.less';

const Edit = (props) => {
const {
block,
data,
onChangeBlock,
onSelectBlock,
pathname,
selected,
manage,
} = props;
const { block, data, onChangeBlock, pathname, selected, manage } = props;

const properties = isEmpty(data?.data?.blocks)
? emptyBlocksForm()
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const applyConfig = (config) => {
schema: schema,
restricted: false,
mostUsed: false,
blockHasOwnFocusManagement: false,
blockHasOwnFocusManagement: true,
sidebarTab: 0,
security: {
addPermission: [],
Expand Down

0 comments on commit 35327d7

Please sign in to comment.