Store block params in data attributes