Skip to content

[CLOSED] #11801 - Restricted Font Size Input To Only Valid Entries #11130

@core-ai-bot

Description

@core-ai-bot

Issue by nyteksf
Friday Feb 24, 2017 at 22:28 GMT
Originally opened as adobe/brackets#13123


Related to #11801.

Text was able to be inputted into Font Size within Themes Settings (e.g. "View > Themes...") even when it included non-ASCII characters or was in a generally unusable format.

Corrected this issue by ensuring all font sizes are to begin with a number, and are completed by either "px" or "em" only. 'Done' button remains disabled until said format is adhered to correctly--at which time the functionality of said button becomes restored allowing input to be saved.

@zaggino


nyteksf included the following code: https://github.com/adobe/brackets/pull/13123/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions