Skip to content

slate-drop-or-paste-images: Error is thrown if file has no extension #42

@tommoor

Description

@tommoor

Do you want to request a feature or report a bug?

Bug 🐛

What's the current behavior?

  • Create a file with no extension
  • Drag and drop into editor
  • A JS error is thrown: Uncaught TypeError: Cannot read property 'includes' of undefined

What's the expected behavior?

  • The plugin accounts for this type of file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions