feat(promptlib): 详情插入图片(封面参考图节点)(v3.26.1 / 1.3.2)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m33s
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m33s
This commit is contained in:
1 parent
9f69f73443
commit
0b20c5597c
17 files changed
+110
-37
No files matched your search
@@ -5,6 +5,7 @@
|
||||
* save({prompts, groups}) → 落盘(宿主仍持有数据:iwb_web_prompts + 分组缓存)
|
||||
* insert(text, name) → 在画布视口中心插入提示词节点(插件不碰画布状态)
|
||||
* copy(text) → 走宿主剪贴板(失败有可见提示)
|
||||
* insertImage(cover, name) → 把封面作为参考图节点插入画布
|
||||
* notify(text, type) → 宿主 toast / 提示条
|
||||
* putCover(dataUrl) → 封面入宿主图片库(返回 ref)
|
||||
* coverUrl(ref) → 封面展示地址
|
||||
@@ -43,6 +44,7 @@
|
||||
save: call('save'),
|
||||
insert: call('insert'),
|
||||
copy: call('copy'),
|
||||
insertImage: call('insertImage'),
|
||||
notify: call('notify'),
|
||||
putCover: call('putCover'),
|
||||
coverUrl: call('coverUrl'),
|
||||
|
||||
Reference in new issue
Block a user