Make WordPress Core

Opened 10 months ago

Last modified 10 months ago

#48279 new enhancement

Avoid block markup in starter content and default pages

Reported by: garrett-eclipse Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0
Component: Editor Keywords:
Focuses: administration Cc:


In #45151 the Hello World, Sample Page and Privacy Policy content were updated to supply block markup for the editor. The Privacy Policy was the only one that took into account the classic editor and avoided providing the markup in that case as it was also used on the guide which isn't an editor page.

In #48130 the starter content is being updated to account for the block editor by adding the necessary markup.

It would be nice for users of the classic editor to suppress that markup when they're not using the block editor similar to what was done for the Privacy Policy content.

Change History (1)

#1 @Clorith
10 months ago

I'm actually thinking that since the starter content can be filtered, core should cater towards the block approach, and any plugin that enabled the classic editor could filter out the block aspect of it if they so desire?

With block-notations being HTML comments, they won't cause any problems with the content it self in a classic editor scenario, and the byte-count of a paragraph is negligible in the big picture to be a concern as well.

Note: See TracTickets for help on using tickets.