diff --git a/src/components/article/block.tsx b/src/components/article/block.tsx index bb2c795..ce5607f 100644 --- a/src/components/article/block.tsx +++ b/src/components/article/block.tsx @@ -16,6 +16,7 @@ type Props = { blocks: BlockContent[]; editable?: boolean; onChange?: (blocks: BlockContent[]) => void; + disableRemoveMessage?:string; onRemove?: () => void; onAdd?: (index:number,checkIndex:number) => void; errorMessage?: string; @@ -46,6 +47,7 @@ export default function ArticleBlock( blocks: defaultBlocks, editable, onRemove, + disableRemoveMessage, onAdd, onChange, index, @@ -80,7 +82,7 @@ export default function ArticleBlock( {editable &&