Skip to content

Allow user to enable/disable the plugin in Mirador's config #78

@D-Groenewegen

Description

@D-Groenewegen

Currently, there is no configuration option to let you either enable or disable the plugin. When you've imported it for a module bundler like Webpack, it must be configured and made available. It would be more user-friendly if the option could be set in Mirador's config object. The alternative is to create two separate builds of Mirador, one with and the other without the plugin, which is a little cumbersome.

Suggestion

  • Add the config option enabled under annotations, much as has been done for other plugins like CanvasLink and TextOverlay
  • Make it a boolean. Default value: true.
  • Possibly, make it a window-specific option.

P.S. I did notice that the ImageTools plugin does things a little differently. Maybe it's up to the Mirador developers to standardise the way a plugin can be switched on/off.

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