Automattic / Automattic/simplenote-macos

Cursor position should be restored after returning to editing from preview

Open
#936 0 comments 0 reactions 0 assignees View on GitHub
[feature] editor enhancement
Dominant language
Swift
Stars
1.6k
Forks
172
Avg merge
11h 17m
Merged PRs (30d)
3

Description

### What
User edits the note and switches with `Cmd+Shift+P` (or button) frequently to check preview and then goes back. Every time the user goes back, the cursor is not placed anywhere ~> it would be much better if the cursor stayed at the previous place by itself.

### Why
1. Better UX
2. This is so in Electron

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Cmd+Shift+P and preview-toggle behavior in the macOS editor. Identify where the editing cursor position is lost when returning from preview, then verify that switching back restores the previous position through both the shortcut and button paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.