patternlab-php icon indicating copy to clipboard operation
patternlab-php copied to clipboard

Using pattern-specific data when using 'View All'

Open AndyIRC opened this issue 8 years ago • 0 comments

I am using PatternLab PHP & Twig.

I have a pattern that using some custom data (specifically, a 'dir' attribute on the html tag - to support right-to-left languages).

When I render that pattern directly, it works a treat.

When I render that pattern as part of the built-in "View All" menu it - it doesnt get the data.

I have tried two suggested 'inheritance' plugin, to no avail. I also redid my RTL version as a psuedo-pattern .. also no luck.

Am I doing something wrong - or is this just something PatternLab doesnt quite support yet? If anyone has any other ways to demonstrate a pattern in both left-to-right and right-to-left that would help too.

Thank you!

AndyIRC avatar May 17 '17 21:05 AndyIRC