Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5655

WP 5.5: Format "core/subscript" is already registered

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Released
    • Icon: Should have Should have
    • 2.52.0
    • None
    • 5
    • Admin Panel
    • Sprint #152

      The page editor throws some errors in the console:

      Format "core/subscript" is already registered to handle bare tag name "sub".
      Format "core/superscript" is already registered to handle bare tag name "sup".
      

      This is due to our scripts trying to handle the tags "sub" and "sup" in assets/src/RichTextEnhancements.js .

       

      We can check if our script is still relevant, and either remove it or find a way to register our handlers into the block editor without errors.

            sdeshmuk Sagar Deshmukh
            fhernand Florent Hernandez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: