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

有没有可能实现对word上加了拼音的文字进行还原显示 #6018

Open
Black-Jacki opened this issue Jan 2, 2025 · 1 comment

Comments

@Black-Jacki
Copy link

功能描述

有没有可能实现对word上加了拼音的文字进行还原显示,比如下图的这种样式
image
或者我们应该基于什么原理去实现这个功能,能否告知下,谢谢
目前我看编辑器上是可以识别到拼音的,但是是放在文字后面的括号里
image

提炼几个功能点

实现从word上拷贝文字粘贴到编辑器里,能否还原word加拼音的样式

原型图

image

可参考的案例

暂无

@Black-Jacki
Copy link
Author

我大概有思路了,我可能需要自定义一个编辑器节点元素,预览的时候用web-component来配合实现下

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