<commit_before><%@ page language="java" pageEncoding="UTF-8" %>
<%@ include file="/page/common/base.jsp" %>
<!doctype html>
<html>
<head>
    <title>测试</title>
    <style type="text/css">
        input[readonly]{
            background-color: #f8f8f8;
        }
    </style>
</head>
<body>
	${test}
	
	<div >
				<label >Ueditor：</label>
				<div >
					<script id="editor" type="text/plain" style="width:1024px;height:500px;"></script>
				</div>
				 <script type="text/javascript">

				    //实例化编辑器
				    //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
				    var ue = UE.getEditor('editor');
					    
				</script>
			</div>
	
</body>
</html><commit_msg>增加一个取值按钮<commit_after><%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/page/common/base.jsp"%>
<!doctype html>
<html>
<head>
<title>测试</title>
<style type="text/css">
input[readonly] {
	background-color: #f8f8f8;
}
</style>
</head>
<body>
	${test}

	<div>
		<label>Ueditor：</label>
		<div>
			<script id="editor" type="text/plain"
				style="width: 1024px; height: 500px;"></script>
		</div>
		<script type="text/javascript">
			//实例化编辑器
			//建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
			var ue = UE.getEditor('editor');
			
			function  getContent(){
				alert(ue.getContent());
			}
			
		</script>
	</div>
	
	<div>
		<input type="button" value="取值" onclick="getContent()"/>
	</div>

</body>
</html>
{'fraction_non_alphanumeric': 0.20179063360881544, 'fraction_numerical': 0.015151515151515152, 'mean_word_length': 3.512422360248447, 'pattern_counts': {'":': 0, '<': 52, '<?xml version=': 0, '>': 52, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2747846', 'n_tokens_mistral': 709, 'n_tokens_neox': 644, 'n_words': 90}