Skip to content

Config elements are discarded when loading card #178

Description

@evest

I was trying out the styles configuration to add some more padding between the cards.

Adding:

type: custom:vertical-stack-in-card
styles:
 padding: 0.2em 
cards:
  ...

The preview works fine, it changes the padding as I add styles.

Save works, the padding is persisted.

When editing the card again, the styles config element is gone.

I think it might have something to do with this code:

// Patch setConfig to remove non-VSIC config options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions