Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add paramKey property to panel object. #120

Merged

Conversation

jiwoo-choi
Copy link
Contributor

@jiwoo-choi jiwoo-choi commented May 7, 2024

Description

Add the paramKey property when registering the pannel.
This allows users to disable the add-on per a story file or globally.

example

// preview.js
parameters : {
   html: {
      disable: true, // disable HTML pannel.
   }
}

reference

related

#27
#105

@jeanfredrik jeanfredrik merged commit 1506cad into whitespace-se:main May 7, 2024
@jiwoo-choi jiwoo-choi deleted the feature/add-paramkey-props branch May 8, 2024 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants