It seems we can’t find what you’re looking for. Perhaps searching can help.
( function( wp ) {
if ( ! wp ) {
return;
}
wp.plugins.registerPlugin( 'classic-editor-plugin', {
render: function() {
var createElement = wp.element.createElement;
var PluginMoreMenuItem = wp.editPost.PluginMoreMenuItem;
var url = wp.url.addQueryArgs( document.location.href, { 'classic-editor': '', 'classic-editor__forget': '' } );
var linkText = lodash.get( window, [ 'classicEditorPluginL10n', 'linkText' ] ) || 'Switch to classic editor';
return createElement(
PluginMoreMenuItem,
{
icon: 'editor-kitchensink',
href: url,
},
linkText
);
},
} );
} )( window.wp );
import { useSelect } from '@wordpress/data';
import Preview from './preview';
import Export from './export';
import TemplatesContent from './templates-content';
const Content = ( {
importTemplate,
getOrder,
setQuery,
getSearchQuery,
setSorting,
isSearch,
setSearch,
} ) => {
const isFetching = useSelect( ( select ) =>
select( 'tpc/beaver' ).isFetching()
);
const isPreview = useSelect( ( select ) =>
select( 'tpc/beaver' ).isPreview()
);
const currentTab = useSelect( ( select ) =>
select( 'tpc/beaver' ).getCurrentTab()
);
if ( isPreview ) {
return (
It seems we can’t find what you’re looking for. Perhaps searching can help.