Skip to content

Can't switch to default font size #1186

Open

Description

Are you reporting a feature request or a bug?

Bug

Provide detailed reproduction steps (if any)

This bug is introduced in #584.

  1. Open editor with font plugin loaded.
  2. Set editor content to <p>Hello world!</p><p>Hello again!</p>
  3. Select all and apply "Courier New" font family.
  4. Select the second paragraph and apply font size of 36. Your content after these changes should look like <p><span style="font-family:Courier New,Courier,monospace;">Hello world!</span></p><p><span style="font-size:36px;"><span style="font-family:Courier New,Courier,monospace;">Hello again!</span></span></p>
  5. Select all and apply default font size.

Expected result

Font size in second paragraph is back to the initial value.

Actual result

Font size doesn't change.

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

Metadata

Assignees

No one assigned

    Labels

    changelog:skipA changelog entry should not be added for a given issue.A changelog entry should not be added for a given issue.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