Skip to content

refactor: moved classic sidebar settings #1127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions js/FeedzyBlock/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import Inspector from './inspector';
import { __, sprintf } from '@wordpress/i18n';
import apiFetch from '@wordpress/api-fetch';
import { Component, Fragment } from '@wordpress/element';
import { InspectorControls } from '@wordpress/block-editor';
import {
unescapeHTML,
filterData,
Expand Down Expand Up @@ -425,9 +426,17 @@ class Editor extends Component {
render() {
return (
<Fragment>
{'fetched' === this.state.route && (
<Inspector edit={this} state={this.state} {...this.props} />
)}
<InspectorControls key="inspector">
<div>
{'fetched' === this.state.route && (
<Inspector
edit={this}
state={this.state}
{...this.props}
/>
)}
</div>
</InspectorControls>
{'home' === this.state.route && (
<div className={this.props.className}>
<Placeholder
Expand Down
Loading
Loading