Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
304 stars 6 forks source link

Trailing spaces aren't trimmed when renaming pages (and don't appear when editing) #627

Open axelchalon opened 3 years ago

axelchalon commented 3 years ago

Trailing spaces are trimmed when creating a new page but not when a page title is renamed.

They don't appear when editing the page title, which makes it impossible to remove trailing spaces from page titles.

Steps to reproduce:

  1. Rename a page title, adding trailing spaces.
  2. Save changes.
  3. The page title now has trailing spaces, but they don't appear when renaming the title.
  4. Try renaming the title (e.g. removing the last few letters): the trailing spaces are still there. There is no obvious way of removing them.

image

Workaround: In the page title, "Select all" (Ctrl/Cmd+A); the trailing spaces then appear.