Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的问题与 Icefaces 及其富文本编辑器有关。是否可以使用 JavaScript 访问富文本编辑器文本的 html 源?
你可以试试这样的CKEDITOR.instances.editor1.document.getBody().getText();。editor1 将是 inputRichText 的 id
CKEDITOR.instances.editor1.document.getBody().getText();