Skip to content

Newlines ALWAYS reset font style to sans-serif on web and Android #9366

@opus-tango

Description

@opus-tango

What happened?

I like to write a lot of my notes in the monospace font because it's easier to compare lines, but the editor won't stay in monospace mode.

When typing in a note that has a font style that is not sans-serif, the font style gets reset to sans-serif every time a new line is added. This happens with both the monospace and serif options, and happens on the web app and Android app.

Additionally, the font style also resets to sans-serif in the web app if you select monospace or serif before typing anything in an empty note, then start typing to create that new note. When the note re-renders during its initialization, the font style switches back to sans-serif.

Versions
3.3.8-c07f539-web on webapp
3.3.14 on Android

Steps to reproduce the problem

  • Open an existing note on the web app or Android app
  • Put your cursor anywhere in the note
  • Select monospace or serif font style in the format bar
  • Type some words
  • Hit enter/return to make a new line
  • Font style switches back to sans-serif
  • Any text typed on this new line is now in sans-serif

Version

3.3.8-c07f539-web

Platform/OS

Chrome/Chromium

Relevant log output

Metadata

Metadata

Labels

Status: ConfirmedBug is confirmed but work on a fix hasn't yet started.Unit: EditorIssues related to the editor

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions