Current Path : /www/users/H10079900/sysadm/kindeditor/plugins/
Url:
Current File : /www/users/H10079900/sysadm/kindeditor/plugins/wordpaste.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>WordPaste</title>
  <style type="text/css" rel="stylesheet">
	html, body {
	padding: 0;
	margin: 0;
	font-size:12px;
	margin: 0px;
	background-color:#F0F0EE;
	}
	#wordIframe {
	width:390px;
	height:250px;
	border:1px solid #000000;
	}
  </style>
  <script type="text/javascript">
	var KE = parent.KE;
	location.href.match(/\?id=([\w-]+)/i);
	var id = RegExp.$1;
	KE.event.ready(function() {
		var iframe = KE.$('wordIframe', document);
		var iframeDoc = KE.util.getIframeDoc(iframe);
		iframeDoc.open();
		iframeDoc.write('<html><head><title>WordPaste</title></head>');
		iframeDoc.write('<body style="background-color:#FFFFFF;font-size:12px;margin:2px;" />');
		if (!KE.browser.IE) iframeDoc.write('<br />');
		iframeDoc.write('</body></html>');
		iframeDoc.close();
		KE.util.hideLoadingPage(id);
		window.setTimeout(function() {
			iframeDoc.designMode = "On";
		}, 0);
	}, window, document);
  </script>
<!-- jinhaobi.com Baidu tongji analytics -->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a9f67843137ac498d8fea7cdfbab9eaa";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
  <div style="margin-bottom:10px;">请使用快捷键(Ctrl+V)把内容粘贴到下面的方框里。</div>
  <iframe id="wordIframe" name="wordIframe" frameBorder="0"></iframe>
</body>
</html>