Skip to content

Add loaded-protyle to eventbus #8421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TinkMingKing opened this issue May 31, 2023 · 4 comments
Closed

Add loaded-protyle to eventbus #8421

TinkMingKing opened this issue May 31, 2023 · 4 comments
Assignees
Milestone

Comments

@TinkMingKing
Copy link
Contributor

In what scenarios do you need this feature?

这里自动更新目录,需要在打开文档块时自动更新文档块下的目录列表

Describe the optimal solution

需要添加相关事件事件

Describe the candidate solution

No response

Other information

No response

@Vanessa219 Vanessa219 changed the title 需要打开文档块的事件 Add open-editor to eventBus Jun 1, 2023
@Vanessa219 Vanessa219 self-assigned this Jun 1, 2023
@Vanessa219 Vanessa219 added this to the 2.9.0 milestone Jun 1, 2023
@88250 88250 changed the title Add open-editor to eventBus Add open-editor to eventbus Jun 1, 2023
@zxhd863943427
Copy link
Contributor

能否泛化为open-protyle?因为不只有打开文档有内容的刷新。这个应用更广泛一点。

@Vanessa219
Copy link
Member

Vanessa219 commented Jun 1, 2023

他这个可能需要页面加载完成才行,那改为 loaded-protyle

@Vanessa219 Vanessa219 changed the title Add open-editor to eventbus Add loaded-protyle to eventbus Jun 1, 2023
Vanessa219 added a commit that referenced this issue Jun 1, 2023

Unverified

This user has not yet uploaded their public signing key.
Vanessa219 added a commit that referenced this issue Jun 1, 2023

Unverified

This user has not yet uploaded their public signing key.
@TinkMingKing
Copy link
Contributor Author

他这个可能需要页面加载完成才行,那改为 loaded-protyle

我监听这个事件去更新块,更新完,protyle中被更新的块并不会及时更新,需要再次打开文档才会刷新,或者我必须加入延迟,我该如何让它及时更新

@zxhd863943427
Copy link
Contributor

这是一个问题,使得loaded-protyle的意义丧失了……是不是protyle加载冲突了?

话说这个应不应该开个新的issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants