Skip to content

Font family and size default list item shoudl leverage the config labels #2921

Open

Description

Type of report

Bug

Provide detailed reproduction steps (if any)

Version 4.8 for #584 added a stock "(Default)" label list item, which does not leverage the default labels provided in the config.

Expected result

I'd expect the config default label to be used.

Actual result

It is not used.

Other details

In the font plugin, instead of:

defaultText = '(' + editor.lang.common.optionDefault + ')';

this:
defaultText = (defaultLabel || '(' + editor.lang.common.optionDefault + ')');

would be more appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    plugin:fontThe plugin which probably causes the issue.The plugin which probably causes the issue.status:confirmedAn issue confirmed by the development team.An issue confirmed by the development team.type:bugA bug.A bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions