This PR adds a read-only mode to the Pattern Library.
This allows us to preview the Pattern Library on our marketing sites without any of the "Insert" functionality.
For some reason, the isVisible check wasn't working when the library is loaded outside the modal/editor. I just removed it, as we lazy-load the actual pattern items, so double lazy-loading doesn't seem necessary.
We can decide whether we want to merge this into 1.9.0 (about to be released), or keep it out for now.
This PR adds a read-only mode to the Pattern Library.
This allows us to preview the Pattern Library on our marketing sites without any of the "Insert" functionality.
For some reason, the
isVisible
check wasn't working when the library is loaded outside the modal/editor. I just removed it, as we lazy-load the actual pattern items, so double lazy-loading doesn't seem necessary.We can decide whether we want to merge this into 1.9.0 (about to be released), or keep it out for now.