monachilada / craft-matrixtoolbar

Expand, collapse, change the status of, or delete multiple blocks in a Matrix field simultaneously.
MIT License
3 stars 3 forks source link

Blocks the usage of the Matrix field when added in a Global set. #2

Closed bzin closed 5 years ago

bzin commented 5 years ago

When the plugin is installed and enabled. The Matrix fields that are in a Global Set do not work since you have a javascript error.

screen shot 2018-10-08 at 18 33 44
monachilada commented 5 years ago

Thanks for pointing that out. The error shouldn't occur any more, but I'm realising that unfortunately there's no quick way of enabling the toolbar for Matrix fields in global sets without refactoring my code significantly. I've added it as a TODO for a future release.

monachilada commented 5 years ago

This is enabled in the new version 1.0.6. But Craft 3.0.27 or above is required.