UNPKG

@wordpress/block-library

Version:
8 lines (7 loc) 647 B
{ "version": 3, "sources": ["../../src/preformatted/save.js"], "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { RichText, useBlockProps } from '@wordpress/block-editor';\n\nexport default function save( { attributes } ) {\n\tconst { content } = attributes;\n\n\treturn (\n\t\t<pre { ...useBlockProps.save() }>\n\t\t\t<RichText.Content value={ content } />\n\t\t</pre>\n\t);\n}\n"], "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,0BAAwC;AAOrC;AALY,SAAR,KAAuB,EAAE,WAAW,GAAI;AAC9C,QAAM,EAAE,QAAQ,IAAI;AAEpB,SACC,4CAAC,SAAM,GAAG,kCAAc,KAAK,GAC5B,sDAAC,6BAAS,SAAT,EAAiB,OAAQ,SAAU,GACrC;AAEF;", "names": [] }