Skip to content

Dashless element name error duplicates the preview iframe #22

Description

@fastdivision

We should catch the error:

Uncaught SyntaxError: Failed to execute 'registerElement' on 'Document': Registration failed for type 'sarcasm'. The type name is invalid. 

And tell beginners they need a dash in their element name. Also, don't duplicate the iframe on an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions