DEXT5 Editor :: Config :: InitXml

config.InitXml

에디터에 로드 할 xml파일을 설정합니다.

remarks

기본값은 "dext_editor.xml" 으로 설정됩니다.
필요 시 DEXT5.config.InitXml = "xml 파일명" 으로 설정합니다.

파일 경로는 dext5editor/config 입니다.

sample code

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

        // 에디터에 example.xml 으로 로드합니다.
        DEXT5.config.InitXml = "example.xml";

        new Dext5editor("editor1");

    </script>       
</div>