@wordpress/block-library
Version:
Block library for the WordPress editor.
39 lines (38 loc) • 837 B
JavaScript
// packages/block-library/src/quote/index.js
import { __ } from "@wordpress/i18n";
import { quote as icon } from "@wordpress/icons";
import initBlock from "../utils/init-block";
import deprecated from "./deprecated";
import edit from "./edit";
import metadata from "./block.json";
import save from "./save";
import transforms from "./transforms";
var { name } = metadata;
var settings = {
icon,
example: {
attributes: {
citation: __("Julio Cort\xE1zar")
},
innerBlocks: [
{
name: "core/paragraph",
attributes: {
content: __("In quoting others, we cite ourselves.")
}
}
]
},
transforms,
edit,
save,
deprecated
};
var init = () => initBlock({ name, metadata, settings });
export {
init,
metadata,
name,
settings
};
//# sourceMappingURL=index.js.map