import { bokez } from '../../global'
const { __ } = wp.i18n;
const { Component } = wp.element;
const {
PanelColorSettings,
InspectorControls,
AlignmentToolbar,
BlockControls,
RichText,
} = wp.editor;
const {
SelectControl,
RangeControl,
} = wp.components;
export class Edit extends Component{
render(){
const {
isSelected,
setAttributes,
} = this.props
const {
textColor,
alignment,
backgroundColor,
borderPosition,
borderSize,
borderColor,
quote,
cite
} = this.props.attributes
const style = {
'text-align': alignment,
'background-color': backgroundColor,
'color': textColor,
[ 'border-' + borderPosition ]: borderSize + 'px solid ' + borderColor,
};
return [
isSelected && (
]; } }setAttributes( { quote: newQuote } ) } /> setAttributes( { cite: newCite } ) } />