Skip to content

Commit

Permalink
Merge branch 'feat/nav-refactor-mw' of https://github.com/stellarwp/k…
Browse files Browse the repository at this point in the history
…adence-blocks into feat/nav-refactor-mw
  • Loading branch information
kadencewp committed Sep 3, 2024
2 parents c78975d + 2c16e0f commit f5cace8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/blocks/navigation-link/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ import BackendStyles from './components/backend-styles';
import addNavLink from '../navigation/helpers/addNavLink';
import { buildTemplateFromSelection } from './helpers';

/**
* Import Css
*/
import './editor.scss';

const DEFAULT_BLOCK = { name: 'kadence/navigation-link' };
const ALLOWED_MEDIA_TYPES = ['image'];

Expand Down Expand Up @@ -1121,8 +1126,8 @@ export default function Edit(props) {
<ToggleControl
label={
isMegaMenu
? __('Show Mega Menu', 'kadence-blocks')
: __('Show Sub Menu', 'kadence-blocks')
? __('Freeze Mega Menu Preview', 'kadence-blocks')
: __('Freeze Sub Menu Preview', 'kadence-blocks')
}
checked={showSubMenus}
onChange={(value) => setShowSubMenus(value)}
Expand Down
1 change: 1 addition & 0 deletions src/blocks/navigation-link/editor.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//intentionally blank

0 comments on commit f5cace8

Please sign in to comment.