请教下各位大佬,页面文档保存功能要自己实现吗? #109
Unanswered
changingshow
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
请教下各位大佬,页面文档保存功能要自己实现吗?我看了下代码和开发文档,没有关于这块的实现呢?还有就是对接ai相关的代码也没看到,在线示例配置apikey和LLM的哪个页面也没看到。也是需要自己实现吗?

还有就是,我应该怎么实现在线示例里面的各种事件呢?比如getSelectionText(获取选中文本)?
我知道在defaultOptions 里面定义好onAssistant()和onSave()方法,页面点击对应的按钮可以调用对应的方法,那 比如getSelectionText 这种方法应该怎么用啊?我不太懂前端。
请帮忙指点一下。谢谢
Beta Was this translation helpful? Give feedback.
All reactions