WordPress.org

Make WordPress Core

Opened 9 months ago

Closed 9 months ago

#52394 closed defect (bug) (fixed)

Block Editor: Add defaultEditorStyles

Reported by: noisysocks Owned by: noisysocks
Milestone: 5.7 Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch
Focuses: Cc:

Description

This patch does two things:

  • The defaultEditorStyles setting was missing from the default block editor settings. This causes the "Use theme styles" setting which was added in WordPress 5.6 (see GB22494) to not function properly.
  • The RTL version of editor styles were not being loaded. This was fixed in the plugin (see GB27947).

To test:

  1. Check that the "use theme styles" option is working properly.
  2. Check that the padding is on the right for lists in RTL languages. You can disable theme styles for accurate results.

Change History (2)

This ticket was mentioned in PR #955 on WordPress/wordpress-develop by noisysocks.


9 months ago

The defaultEditorStyles setting was missing from the default block editor settings. This causes the "Use theme styles" setting which was added in WordPress 5.6 to not function properly.

Also, the RTL version of editor styles were not being loaded. This change has not yet been ported over from Gutenberg.

Trac ticket: https://core.trac.wordpress.org/ticket/52394

#2 @noisysocks
9 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 50069:

Block Editor: Add defaultEditorStyles

The defaultEditorStyles setting was missing from the default block
editor settings. This causes the "Use theme styles" setting which was
added in WordPress 5.6 to not function properly.

Also, the RTL version of editor styles were not being loaded. This
change has not yet been ported over from Gutenberg.

Fixes #52394.

Note: See TracTickets for help on using tickets.