DEXT5 Editor :: Config :: Doctype

config.Doctype

에디터 Doctype를 설정합니다.

remarks

DocType 설정 시 우선 적용 됩니다.

DocType의 종류는
None, XHTML 1.1, XHTML 1.0 Transitional, XHTML 1.0 Strict, XHTML 1.0 Frameset,
HTML 5, HTML 4.01 Transitional, HTML 4.01 Strict, HTML 4.01 Frameset, HTML 3.2, HTML 2.0 입니다.

sample code

<script type="text/javascript" src="dext5/js/dext5editor.js"></script>	
 
<!-- ..... 생략 ..... -->
 
<div style="width:900px;height:550px">   
    <script type="text/javascript">

        // 에디터 DocType를 None 으로 설정합니다.
        DEXT5.config.DocType = "None";

        new Dext5editor("editor1");

    </script>       
</div>