Skip to content

Format is already registered to handle class name error log #13776

@phpbits

Description

@phpbits

Describe the bug
Custom formats are logging this error :

`Format "${ formatTypeForBareElement.name }" is already registered to handle bare tag name "${ settings.tagName }".`
even when classNames were defined.

To Reproduce
Steps to reproduce the behavior:

  1. Install https://wordpress.org/plugins/coblocks/
  2. Load editor with 5.0
  3. Uppercase and code formats are working perfectly but those errors were logging

Expected behavior
No error logs

Screenshots
screen shot 2019-02-08 at 12 57 06 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Package] Format library/packages/format-library[Type] Plugin InteroperabilityIncompatibilities between a specific plugin and the block editor. Close with workaround notes.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions