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

Is there any way to use different font style for multiple items? #34

Open
Eiputoo opened this issue Jun 15, 2020 · 1 comment
Open

Is there any way to use different font style for multiple items? #34

Eiputoo opened this issue Jun 15, 2020 · 1 comment

Comments

@Eiputoo
Copy link

Eiputoo commented Jun 15, 2020

#React.js with Typescript

Hello @samuelmeuli, Really thank you for this plugin.

I'm building something like font setting and I have to use one font picker with multiple items.
And these items should be able to change different font style.

Currently my problem is if i change the first item, the second item also effected because we have to use the same class.

Is there any way to use different font style for multiple items please?

@j1m-renwick
Copy link

If I understand your problem correctly, I think you want to use the pickerId attribute - this will let you select different fonts for different text items without affecting each other.

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

No branches or pull requests

2 participants