motopress / getwid

Extra Gutenberg blocks for building seamless and aesthetic websites in the WordPress block editor.
https://motopress.com/products/getwid/
GNU General Public License v2.0
36 stars 14 forks source link

Expose Slick's `adaptiveHeight` and `draggable` for content slider #81

Closed JosephusPaye closed 2 years ago

JosephusPaye commented 2 years ago

Hello 👋,

This PR adds attributes to control the adaptiveHeight and draggable options for the content slider block.

When draggable is true, desktop users cannot highlight text to copy, search with Google, etc. This is not very ideal, especially when you have a lot of text in the content slider.

adaptiveHeight is also very useful in this case. When you have content slides with very different heights, a lot of extra space is wasted on the smaller slides.

I've made the default values match what they currently are, to avoid breaking changes.

Please let me know if there's anything else that needs to be done.