font-picker-react icon indicating copy to clipboard operation
font-picker-react copied to clipboard

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

Open Eiputoo opened this issue 4 years ago • 1 comments

#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?

Eiputoo avatar Jun 15 '20 06:06 Eiputoo

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.

j1m-renwick avatar Jun 23 '20 10:06 j1m-renwick