mirror of
https://ghproxy.net/https://github.com/lubusIN/blablablocks-slider-block.git
synced 2025-10-04 02:25:48 +08:00
fix block name issue
This commit is contained in:
parent
1695bd3bd9
commit
9b622c0398
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ import { generateNavigationStyles } from '../utils/style';
|
|||
import './editor.scss';
|
||||
|
||||
const DEFAULT_BLOCK = {
|
||||
name: 'lubus/slide',
|
||||
name: 'blablablocks/slide',
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -134,7 +134,7 @@ export default function Edit({ clientId, attributes, setAttributes }) {
|
|||
const hasInnerBlocks = innerBlocks.length > 0;
|
||||
|
||||
const addSlide = () => {
|
||||
const block = createBlock('lubus/slide');
|
||||
const block = createBlock('blablablocks/slide');
|
||||
insertBlock(block, innerBlocks.length, clientId, false);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue