Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
aria-label={ NO__( 'Document tools' ) }
aria-orientation="horizontal"
className="gutenboarding__header-toolbar"
role="toolbar"
>
<div>
<button>
{ NO__( 'Continue' ) }
</button>
</div>
);
/* eslint-enable wpcalypso/jsx-classname-namespace */
}
render() {
const { initialHtmlModeEnabled } = this.props;
let initialData = this.props.initialData;
let initialTitle = this.props.initialTitle;
let postType = this.props.postType;
if ( initialData === undefined && __DEV__ ) {
initialData = initialHtml;
}
if ( initialTitle === undefined ) {
initialTitle = 'Welcome to Gutenberg!';
}
if ( postType === undefined ) {
postType = 'post';
}
const Editor = require( '@wordpress/edit-post' ).Editor;
return (
);
}
}
render() {
const { initialHtmlModeEnabled } = this.props;
let initialData = this.props.initialData;
let initialTitle = this.props.initialTitle;
if ( initialData === undefined && __DEV__ ) {
initialData = initialHtml;
}
if ( initialTitle === undefined ) {
initialTitle = 'Welcome to Gutenberg!';
}
const Editor = require( '@wordpress/edit-post' ).Editor;
return (
);
}
}
constructor( props ) {
super( props );
setupLocale( props.locale, props.translations );
setupApiFetch();
require( '@wordpress/edit-post' ).initializeEditor();
}
constructor( props ) {
super( props );
setupLocale( props.locale, props.translations );
require( '@wordpress/edit-post' ).initializeEditor();
}