Sha256: bd20b5bf4865b0e57d0d7a23ec096eb764f837eebf3d319e220ea9ada37effff

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

<!doctype html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>WordPaste</title>
		<style type="text/css" rel="stylesheet">
			body {
				margin: 0;
				font:12px/1 "sans serif",tahoma,verdana,helvetica;
				background-color:#F0F0EE;
				color:#333;
				text-align:center;
			}
			#wordIframe {
				width:98%;
				height:260px;
				border:1px solid #A5A5A5;
			}
			.comment {
				margin-bottom: 10px;
				text-align: left;
			}
		</style>
		<script type="text/javascript">
			var KE = parent.KindEditor;
			var id = KE.util.getParam(location.href, 'id');
			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.pluginLang('wordpaste', document);
				KE.util.hideLoadingPage(id);
				window.setTimeout(function() {
					if (KE.browser.IE) iframeDoc.body.contentEditable = 'true';
					else iframeDoc.designMode = 'on';
					iframe.contentWindow.focus();
				}, 0);
			}, window, document);
		</script>
	</head>
	<body>
		<div class="comment"><span id="lang.comment"></span></div>
		<iframe id="wordIframe" name="wordIframe" frameBorder="0"></iframe>
	</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_kindeditor-0.0.3 lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/wordpaste.html
rails_kindeditor-0.0.2 lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/wordpaste.html
rails_kindeditor-0.0.1 lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/wordpaste.html