Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
value={ attributes.title }
onChange={ this.onChangeTitle }
placeholder={ 'Write title…' }
wrapperClassName="wp-block-jetpack-testimonial__title"
/>
) }
) }
);
}
}
const TestimonialEdit = compose( [ withFontSizes( 'fontSize' ) ] )( TestimonialBlock );
export default TestimonialEdit;
} );
} }
onSplit={ this.splitBlock }
onMerge={ mergeBlocks }
onReplace={ this.onReplace }
onRemove={ () => onReplace( [] ) }
placeholder={ placeholder || __( 'Add text or type / to add content' ) }
/>
);
}
}
const ParagraphEdit = compose( [
withColors( 'backgroundColor', { textColor: 'color' } ),
withFontSizes( 'fontSize' ),
applyFallbackStyles,
] )( ParagraphBlock );
export default ParagraphEdit;