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

Custom options in <FontSelector #984

Open
as4ashish opened this issue Nov 12, 2019 · 0 comments
Open

Custom options in <FontSelector #984

as4ashish opened this issue Nov 12, 2019 · 0 comments

Comments

@as4ashish
Copy link

as4ashish commented Nov 12, 2019

How can i give custom options in <FontSelector component, everytime i give custom font options, It is overwritten by its three default Font options.

My component

<FontSelector label="Typeface" options={[ { label: 'Open Sans', value: '"Open Sans"' }, { label: 'verdana', value: 'verdana' }, { label: 'sans-serif', value: 'sans-serif' }, { label: 'New-Font', value: 'Helvetica Neue' } ]} value="sans-serif" attr="textfont.family" />

But i get different options in dropdown
image

@as4ashish as4ashish changed the title Custom options in <Fonts elector Custom options in <FontsSelector Nov 12, 2019
@as4ashish as4ashish changed the title Custom options in <FontsSelector Custom options in <FontSelector Nov 12, 2019
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

1 participant