Skip to content

Conversation

@WardCunningham
Copy link
Member

This is a rewrite of the incomplete implementation decaffeinating the work in progress #291

@WardCunningham
Copy link
Member Author

WardCunningham commented Sep 1, 2025

Nick and I have revised the text handling for renamed ghost pages.

  • configure contenteditable to use plaintext-only
  • replace any string of whitespace (especially unexpected newlines) with a single space
  • apply replacements before detecting a title edit

@WardCunningham
Copy link
Member Author

We have considered that the edits we apply to a title do not show up until the page is saved. We think this is sufficient because it does allow the author to revise their edits before fork even if this is unnecessary. But most importantly careless spacing mistakes are not recorded in the saved json. That means if we should ever choose to do more visual confirmation we won't have to worry about unwanted saved data.

@paul90 paul90 merged commit ce19c66 into main Oct 29, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants