Skip to content

Commit

Permalink
Add schema validators.
Browse files Browse the repository at this point in the history
  • Loading branch information
robgietema committed Jan 17, 2025
1 parent 49a797d commit 8524574
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/volto/src/config/Blocks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ import { getLeadImageBlockSizes } from '@plone/volto/components/manage/Blocks/Le
// block sidebar schemas (not the Dexterity Layout block settings schemas)
import ListingBlockSchema from '@plone/volto/components/manage/Blocks/Listing/schema';
import SearchBlockSchema from '@plone/volto/components/manage/Blocks/Search/schema';
import VideoBlockSchema from '@plone/volto/components/manage/Blocks/Video/schema';

import ToCVariations from '@plone/volto/components/manage/Blocks/ToC/variations';

Expand Down Expand Up @@ -346,6 +347,7 @@ const blocksConfig = {
view: ViewVideoBlock,
edit: EditVideoBlock,
schema: BlockSettingsSchema,
blockSchema: VideoBlockSchema,
restricted: false,
mostUsed: true,
sidebarTab: 1,
Expand Down

0 comments on commit 8524574

Please sign in to comment.