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

How to clear selected font? #5

Closed
shgohh opened this issue Jul 11, 2020 · 5 comments
Closed

How to clear selected font? #5

shgohh opened this issue Jul 11, 2020 · 5 comments

Comments

@shgohh
Copy link

shgohh commented Jul 11, 2020

After font is selected, how to clear selected font?

@av01d
Copy link
Owner

av01d commented Jul 15, 2020

Good question. Is a a "Clear" button in the modal sufficient? I'd make it an config-option, something like showClear: true. Would that work for you?

@av01d
Copy link
Owner

av01d commented Jul 15, 2020

Version 1.1 implements a showClear option, which allows users to clear a selected font.

@av01d av01d closed this as completed Jul 15, 2020
@Sumi-Khan
Copy link

When I try the showClear: true, I am unable to see the "Clear" button, additionally the scroll in the modal window disappears.

@av01d
Copy link
Owner

av01d commented Nov 30, 2020

Since version 1.2 (released today), you can use this to programmatically clear a selecterd font:

$('#font').val('').trigger('change')

@av01d
Copy link
Owner

av01d commented Nov 30, 2020

When I try the showClear: true, I am unable to see the "Clear" button, additionally the scroll in the modal window disappears.

I cannot reproduce this... but you were probably using IE11? IE11 support is now available, since version 1.2.

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

3 participants