alibaba / alibaba/lowcode-engine

Question : SavePage, detect if a save is needed

Open
#1,362 5 comments 0 reactions 1 assignee Claimed by @JackLian View on GitHub
enhancement
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

Hi, i'd like to provide visual feedback to the user that a "save page" is needed or not. What would be the best approach about it?

I have tried project.onChangeDocument but this only fires if you open a new document. I have also tried doc.history.onChangeCursor but when you take new actions cursor always stays the same (i guess because history goes like -1 -2 -3 and current cursor is always 0)

Best regards,

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.