WordPress.org

Make WordPress Core

Opened 8 months ago

Closed 6 weeks ago

#45767 closed defect (bug) (reported-upstream)

meta_box gutenberg css dashicons svg

Reported by: arena Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.0
Component: Editor Keywords:
Focuses: ui Cc:

Description

In a plugin, i am adding some meta_boxes using this kind of code :

<?php

add_meta_box( 'my_meta_box', __( 'My Meta Box'), array( __CLASS__, 'my_meta_box' ), 'post', 'side', 'core' );

but the rendering is different from the standard wordpress meta_box(es) :

cursor is different (cross vs hand)

toggle icon is different (dashicon [content: "\f140";] vs svg

Attachments (1)

Gutemberg.PNG (62.4 KB) - added by arena 8 months ago.
metabox

Download all attachments as: .zip

Change History (6)

@arena
8 months ago

metabox

#1 @mukesh27
8 months ago

  • Component changed from Administration to Editor
  • Focuses ui added

#2 @SergeyBiryukov
8 months ago

  • Summary changed from meta_box gutenber css dashicons svg to meta_box gutenberg css dashicons svg

#3 @pento
7 months ago

  • Version changed from trunk to 5.0

#4 @pento
7 months ago

  • Keywords needs-gutenberg-report added

#5 @pento
6 weeks ago

  • Keywords needs-gutenberg-report removed
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

This needs to be fixed in the block editor, so I'm closing this ticket in favour of an existing issue in the Gutenberg repository: GB12101.

Note: See TracTickets for help on using tickets.