Don't apply empty edits

This commit is contained in:
Andras Schmelczer 2025-04-04 21:20:04 +01:00
parent 9a0b8a07bf
commit 297787739b
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -71,6 +71,10 @@ export class ObsidianFileSystemOperations implements FileSystemOperations {
]
});
if (result.text === text) {
return text;
}
view.editor.setValue(result.text);
result.cursors.forEach((movedCursor) => {