Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

Block extensions only work if they are alphabetically sorted after editor #272

@AdrianFahrbach

Description

@AdrianFahrbach

Describe the bug
Block extensions with plugin folders that are alphabetically sorted before editor don't work.

To Reproduce
Steps to reproduce the behavior:

  1. Copy a block extension example to your plugins folder
  2. Rename the block extension folder to something that is sorted before editor
  3. Open the panel in your browser and look at the console. The error above should appear.

Expected behavior
The block extension should work

Kirby Version
3.5.0

Console output
Uncaught ReferenceError: editor is not defined

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: 87

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions