<%@ Page Title="" Language="C#" ValidateRequest="false" MasterPageFile="~/admin/admin.Master" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="Kbase.admin.Home" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <link href="../javascript/pandao-markdown/lib/codemirror/codemirror.min.css" rel="stylesheet" />
    <script src="../javascript/pandao-markdown/lib/codemirror/codemirror.min.js"></script>

    <style>
           .CodeMirror {
  border: 1px solid #eee;
  height: 600px;
   
  word-break:break-all;
   font-family:Verdana;
}
    </style>
    
   <asp:TextBox runat="server"  ID="txt_question" ClientIDMode="Static" TextMode="MultiLine"></asp:TextBox>



    <script>

        var editor = CodeMirror.fromTextArea(document.getElementById('txt_question'), {
            lineNumbers: true,
            mode: 'text/html',
            lineWrapping: true
        });


    </script>


    <div style="margin:10px; text-align:center">
        <asp:Button runat="server" ID="btn_save" Text="保存"
             
             OnClick="btn_save_Click" />
    </div>


   

</asp:Content>
