Skip to content

Commit 5eeb663

Browse files
committed
docs: prohibit emoji in plugins; remove emoji from toolbar demo
1 parent 212ae0c commit 5eeb663

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Plugins/Plugin_market/toolbar-extension-demo/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
loading: false
125125
}, PLUGIN_ID);
126126

127-
ChatRaw.utils?.showToast?.('✅ ' + t('idleState'), 'success');
127+
ChatRaw.utils?.showToast?.(t('idleState'), 'success');
128128
}
129129

130130
// Button 3: Open fullscreen modal

Plugins/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,8 @@ button.onclick = async () => {
802802
```
803803
- Use content stability detection (debounce ~800ms) to ensure streaming is complete
804804
805+
16. **No emoji**: Do **not** use emoji anywhere in your plugin (code, UI, toasts, modal content, manifest). Plugins that use emoji will not pass review.
806+
805807
### Common Pitfalls
806808
807809
Watch out for these common mistakes:
@@ -874,6 +876,8 @@ ChatRaw.hooks.register('before_send', () => {
874876
})(window.ChatRawPlugin);
875877
```
876878
879+
7. **No emoji**: Do **not** use emoji anywhere in your plugin — not in code, UI labels, toast messages, modal content, manifest `name`/`description`, or any user-facing text. Plugins that use emoji will not pass review.
880+
877881
---
878882
879883
<a name="中文"></a>
@@ -1674,6 +1678,8 @@ button.onclick = async () => {
16741678
```
16751679
- 使用内容稳定性检测(防抖 ~800ms)确保流式输出完成
16761680
1681+
16. **禁止使用 emoji**:插件中任何地方(代码、UI、toast、模态框内容、manifest)均不得使用 emoji,使用 emoji 的插件将无法通过审核。
1682+
16771683
### 常见陷阱
16781684
16791685
开发时请注意避免以下常见错误:
@@ -1746,6 +1752,8 @@ ChatRaw.hooks.register('before_send', () => {
17461752
})(window.ChatRawPlugin);
17471753
```
17481754
1755+
7. **禁止使用 emoji**:插件中**严禁**在任何地方使用 emoji,包括代码、UI 文案、toast 提示、模态框内容、manifest 的 `name`/`description` 以及任何面向用户的文字。使用 emoji 的插件将无法通过审核。
1756+
17491757
---
17501758
17511759
## License

0 commit comments

Comments
 (0)