import _ from 'lodash' import React from 'react' window.lodash = _.noConflict() const {TextareaControl} = wp.components wp.blocks.registerBlockType('agendahelsinki/html',{ title: 'HTML (Tweaked)', icon: { background: '#fff', foreground:'#FFCDD2', src: }, category: 'agendahelsinki', example:()=>null, supports:{ defaultStylePicker:false, align: [ 'left', 'right', 'center', 'wide', 'full' ] }, getEditWrapperProps:(attributes)=>{ return { 'data-align': null, } }, attributes: { content: {type: 'string',default: ''}, }, edit:(props)=>{ const {attributes,setAttributes} = props const {content} = attributes return