@wordpress/block-library
Version:
Block library for the WordPress editor.
8 lines (7 loc) • 722 B
Source Map (JSON)
{
"version": 3,
"sources": ["../../src/navigation/save.js"],
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { InnerBlocks } from '@wordpress/block-editor';\n\nexport default function save( { attributes } ) {\n\tif ( attributes.ref ) {\n\t\t// Avoid rendering inner blocks when a ref is defined.\n\t\t// When this id is defined the inner blocks are loaded from the\n\t\t// `wp_navigation` entity rather than the hard-coded block html.\n\t\treturn;\n\t}\n\treturn <InnerBlocks.Content />;\n}\n"],
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,0BAA4B;AASpB;AAPO,SAAR,KAAuB,EAAE,WAAW,GAAI;AAC9C,MAAK,WAAW,KAAM;AAIrB;AAAA,EACD;AACA,SAAO,4CAAC,gCAAY,SAAZ,EAAoB;AAC7B;",
"names": []
}