Skip to content

Remove fomat restriction API #74765

@t-hamano

Description

@t-hamano

See:

#71058 introduced the new private API to restrict inline fomatting controls, and only format controls marked as "essential" are availavle when in contentOnly.

Since the essentialFormatKey is a private Symbol, so there is no way for consumers to mark their formats as "essential". This behavior has also been reported as a bug:

Let's clarify the expected behavior of this API more, explore problems to be fixed, and aim to stabilize this API for WP 7.0.

Based on feedback, it seems like a good idea to remove this API.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions