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

ai助手追加和替换报错 #88

Closed
qtch opened this issue Sep 18, 2024 · 4 comments
Closed

ai助手追加和替换报错 #88

qtch opened this issue Sep 18, 2024 · 4 comments

Comments

@qtch
Copy link

qtch commented Sep 18, 2024

Jietu20240918-112438-HD.mp4
@umodoc
Copy link
Owner

umodoc commented Sep 18, 2024

本地测试未发现问题,请提供AI返回的html内容

@qtch
Copy link
Author

qtch commented Sep 18, 2024

复现步骤:
1、先从其他地方任意复制一段文本,比如:
Some have had enough. Thousands of young South Korean doctors downed stethoscopes in February in protest against the government’s plan to increase the number of medical students. On June 7th workers at Samsung
Electronics, the country’s biggest listed company, went on strike for the first time. Union officials suggested that younger workers led the charge. Research by Shin Min-ju of Pukyong National University and Jung Heung-jun of Seoul
National University of Science and Technology suggests that “Generation MZ” —which mixes Millennials (born between the early 1980s and late 1990s) and Gen Z in a country that does not have enough of either—are keener to join a trade union than their elders and more optimistic about how labour activism can improve working conditions.
2、选中这段内容,任意一小段,和ai交互完,插入或追加即可重现

@umodoc
Copy link
Owner

umodoc commented Sep 18, 2024

复现步骤: 1、先从其他地方任意复制一段文本,比如: Some have had enough. Thousands of young South Korean doctors downed stethoscopes in February in protest against the government’s plan to increase the number of medical students. On June 7th workers at Samsung Electronics, the country’s biggest listed company, went on strike for the first time. Union officials suggested that younger workers led the charge. Research by Shin Min-ju of Pukyong National University and Jung Heung-jun of Seoul National University of Science and Technology suggests that “Generation MZ” —which mixes Millennials (born between the early 1980s and late 1990s) and Gen Z in a country that does not have enough of either—are keener to join a trade union than their elders and more optimistic about how labour activism can improve working conditions. 2、选中这段内容,任意一小段,和ai交互完,插入或追加即可重现

这个问题与复制粘贴行为有关,与AI助手无关,详见:

editor/TODO

Line 5 in fcb3c39

[ ] 修复:粘贴一段内容后,再 insertContent 会出错,如插入特殊符号,表情等

近期会修复这个问题,请随时关注。

@umodoc
Copy link
Owner

umodoc commented Feb 8, 2025

见:#153

@umodoc umodoc closed this as completed Feb 8, 2025
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

2 participants