We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 868873d commit 5be7b06Copy full SHA for 5be7b06
packages/cli/templates/react/src/components/FieldPluginExample/index.tsx
@@ -7,6 +7,7 @@ import { useFieldPlugin } from '@storyblok/field-plugin/react'
7
8
const FieldPlugin: FunctionComponent = () => {
9
const { type, data, actions } = useFieldPlugin({
10
+ enablePortalModal: true,
11
validateContent: (content: unknown) => ({
12
content: typeof content === 'number' ? content : 0,
13
}),
packages/cli/templates/vue3/src/components/FieldPlugin.vue
@@ -2,6 +2,7 @@
2
import { useFieldPlugin } from '@storyblok/field-plugin/vue3'
3
4
const plugin = useFieldPlugin({
5
6
/*
The `validateContent` parameter is optional. It allows you to
- validate the content
0 commit comments