DHTMLX Docs & Samples Explorer

### Object constructor

Source

    <link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxeditor_dhx_skyblue.css">
    <link rel="stylesheet" type="text/css" href="../../../common/codebase/dhtmlxcontainer.css">
    <script src="../../codebase/dhtmlxcommon.js" type="text/javascript"></script>
    <script src="../../codebase/dhtmlxeditor.js" type="text/javascript"></script>

    <div id="editorObj" style="width: 100%; height: 300px; border: #a4bed4 1px solid;"></div>

    <script>var editor;
    function doOnLoad() {
        var editorObject = {
            parent: "editorObj",
            content: "<b>Editor</b> content";
        }
        editor = new dhtmlXEditor(editorObject);
    }</script>