admin管理员组文章数量:1315252
I’m facing an issue with CKEditor 5 where content pasted from WPS Office is not visible in the editor. The text is getting pasted, and formatting is applied correctly (e.g., bold, italic), but the actual text itself is not visible. Here are the details of my setup and the problem:
Steps to Reproduce:
- I copy content from WPS Office (including text and formatting).
- Paste it into a CKEditor instance configured with both
PasteFromOffice
andPasteFromOfficeEnhanced
plugins enabled. - The text appears in the editor, but it is not visible (though the formatting is still applied).
What I've Tried:
- Changed the text color (nothing changes, still invisible).
- Tried pasting the content in the CKEditor builder preview—same issue occurs.
- Removed all formatting using the built-in remove formatting button, but the issue persists.
- Inspected the pasted HTML using the developer tools and noticed that the content is being pasted with invisible text, potentially due to background-color or similar properties from WPS Office.
Expected Result:
- The pasted content should be visible with correct formatting.
Actual Result:
- The pasted content is invisible, even though it’s there in the editor with correct formatting.
Additional Information:
- I’ve tried pasting the same content from Microsoft Word and it works perfectly, so the issue might be related to how WPS Office handles the clipboard data.
- TinyMCE version: CKEditor 5 (latest trial version).
- Browsers tested: Chrome, Firefox.
Has anyone else encountered a similar issue with CKEditor and WPS Office? I would appreciate any suggestions or workarounds.
本文标签:
版权声明:本文标题:angular - CKEditor 5: Pasted content from WPS Office not visible (text formatting is applied but no text displayed) - Stack Over 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741980748a2408381.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论