text: const { __, setLocaleData } = wp.i18n;
  const { registerBlockType } = wp.blocks;
  const { RichText } = wp.editor;
  
  registerBlockType( 'plugin-prefix/plugin-name-internal', {
  	title: __( 'PluginNameBeauty', 'plugin-prefix' ),
  	icon: 'universal-access-alt',
  	category: 'layout',
  	attributes: {
  		content: {
  			type: 'array',
  			source: 'children',
  			selector: 'p',
  		},
  	},
  	edit: ( props ) => {
  		const { attributes: { content }, setAttributes, className } = props;
  		const onChangeContent = ( newContent ) => {
  			setAttributes( { content: newContent } );
  		};
  		return (
  			<RichText
  				tagName="p"
  				className={ className }
  				onChange={ onChangeContent }
  				value={ content }
  			/>
  		);
  	},
  	save: ( props ) => {
  		return <RichText.Content tagName="p" value={ props.attributes.content } />;
  	},
  } );
  