Closed pyoner closed 3 years ago
I think this may not be very useful? Commenting here for the benefit of anyone looking to do this kind of thing.
When I want to disable a plugin, I just don't include it in the plugins, like this:
{
plugins: [
...(disable ? [] : [plugin(...)])
]
}
This works for any plugin, or any group of plugins.
To disable marked set
options.marked
tofalse