Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Using pattern-specific data when using 'View All' #389

Description

@AndyIRC

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions