|
1
|
/** |
|
2
|
* Check if a block was just inserted.
|
|
3
|
*
|
|
4
|
* @param {Object} attributes The value to check.
|
|
5
|
* @return {boolean} Whether a block was just inserted.
|
|
6
|
*/ |
|
7
|
export default function wasBlockJustInserted( attributes ) { |
|
8
|
return '' === attributes.uniqueId; |
|
9
|
} |
|
10
|
|