0
是否可以在IFrame上運行ckeditor以便可以封裝完整的html頁面?我嘗試了各種方法,但似乎沒有任何工作。CKEditor IFrame中的可編輯內容
我在尋找的是一個ckeditor包裝頁面說Editor.htm其中包含一個可編輯的IFrame鏈接到我的真正的HTML頁面說test.htm。東西線:
Editor.htm
<!DOCTYPE html>
<html>
<head>
<script src="http://cdn.ckeditor.com/4.5.10/standard-all/ckeditor.js"></script>
</head>
<body>
<iframe contenteditable="true" src="test.htm" id="editor1" name="editor1"></iframe>
</body>
</html>