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

请教下各位大佬,页面文档保存功能要自己实现吗? #108

Open
changingshow opened this issue Oct 31, 2024 · 0 comments
Open

Comments

@changingshow
Copy link

请教下各位大佬,页面文档保存功能要自己实现吗?我看了下代码和开发文档,没有关于这块的实现呢?还有就是对接ai相关的代码也没看到,在线示例配置apikey和LLM的哪个页面也没看到。也是需要自己实现吗?
还有就是,我应该怎么实现在线示例里面的各种事件呢?比如getSelectionText(获取选中文本)?
我知道在defaultOptions 里面定义好onAssistant()和onSave()方法,页面点击对应的按钮可以调用对应的方法,那 比如getSelectionText 这种方法应该怎么用啊?我不太懂前端。
image
请帮忙指点一下。谢谢

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

No branches or pull requests

1 participant