UNPKG

@wordpress/block-library

Version:
24 lines (22 loc) 628 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = save; var _blockEditor = require("@wordpress/block-editor"); var _jsxRuntime = require("react/jsx-runtime"); /** * WordPress dependencies */ function save({ attributes }) { if (attributes.ref) { // Avoid rendering inner blocks when a ref is defined. // When this id is defined the inner blocks are loaded from the // `wp_navigation` entity rather than the hard-coded block html. return; } return /*#__PURE__*/(0, _jsxRuntime.jsx)(_blockEditor.InnerBlocks.Content, {}); } //# sourceMappingURL=save.js.map