diff --git a/pages/txtedit/layedit.html b/pages/txtedit/layedit.html
index 55bd30a..316d38c 100644
--- a/pages/txtedit/layedit.html
+++ b/pages/txtedit/layedit.html
@@ -2,30 +2,41 @@
-
-
-
- 首页
- 文本编辑
- layedit
-
-
-
-
+
+
+
+
+
+
-
-
-
-
+
+ let index = layedit.build("editor");
+
+ $("#contentBtn").click(function () {
+ alert(layedit.getContent(index));
+ });
+
+ $("#textBtn").click(function () {
+ alert(layedit.getText(index));
+ });
+
+ $("#selectionBtn").click(function () {
+ alert(layedit.getSelection(index));
+ });
+ });
+