Skip to content
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

打开编辑器页面,如何触发光标聚焦且聚焦在文档内容末尾处 #796

Closed
junliangwei opened this issue Aug 28, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@junliangwei
Copy link

What problem does this feature solve?

打开编辑器页面,如何触发光标聚焦且聚焦在文档内容末尾处

What does the proposed API look like?

如题

@junliangwei
Copy link
Author

看了api 感觉是不是用法错不对
image

@Hufe921
Copy link
Owner

Hufe921 commented Aug 28, 2024

看了api 感觉是不是用法错不对 image

你这是定位控件的api,光标聚焦的需要新增

@Hufe921 Hufe921 added the enhancement New feature or request label Aug 28, 2024
@junliangwei
Copy link
Author

看了api 感觉是不是用法错不对 image

你这是定位控件的api,光标聚焦的需要新增

不明白 有什么api能够实现 能指点一下嘛

Hufe921 added a commit that referenced this issue Aug 28, 2024
@Hufe921
Copy link
Owner

Hufe921 commented Aug 28, 2024

新增api

instance.command.executeFocus({
    position: LocationPosition.AFTER
  })

@Hufe921 Hufe921 closed this as completed Aug 28, 2024
@junliangwei
Copy link
Author

新增api

instance.command.executeFocus({
    position: LocationPosition.AFTER
  })

新增api

instance.command.executeFocus({
    position: LocationPosition.AFTER
  })

谢谢,等待大哥npm包更新

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants