ui.igHtmlEditor

ui.igHtmlEditor_image

The igHtmlEditor control is a jQuery HTML editor control that features standard HTML editing capabilities. Formatting options include font face, font size, text and image alignment and link and table support. Further information regarding the classes, options, events, methods and themes of this API are available under the associated tabs above.

The following code snippet demonstrates how to initialize the igHtmlEditor control.

For details on how to reference the required scripts and themes for the igHtmlEditor control read, Using JavaScript Resources in Ignite UI and Styling and Theming Ignite UI.

Code Sample

<!doctype html>
<html>
<head>
    <!-- Modernizr -->
    <script src="js/modernizr.js"></script>
    <!-- jQuery Core -->
    <script src="js/jquery.js"></script>
    <!-- jQuery UI -->
    <script src="js/jquery-ui.js"></script>
    <!-- Infragistics loader -->
    <script src="js/infragistics.loader.js"></script>
    <script>
        $.ig.loader({
            scriptPath: "js",
            cssPath: "css",
            resources: "igHtmlEditor"
        });
 
        $.ig.loader(function () {
            $("#htmlEditor").igHtmlEditor({
                width: "100%"
            });
        });
    </script>
</head>
<body>
    <div id="htmlEditor"></div>
</body>
</html>

Related Samples

Related Topics

Dependencies

jquery-1.9.1.js
jquery.ui.core.js
jquery.ui.widget.js
infragistics.util.js
infragistics.ui.shared.js
infragistics.ui.toolbarbutton.js
infragistics.ui.toolbar.js
infragistics.ui.popover.js
infragistics.ui.splitbutton.js
infragistics.ui.colorpicker.js
infragistics.ui.colorpickersplitbutton.js
infragistics.datasource.js
infragistics.ui.combo.js
infragistics.ui.dialog.js
infragistics.ui.htmleditor-en.js
infragistics.ui.toolbar-en.js

Inherits

Copyright © 1996 - 2025 Infragistics, Inc. All rights reserved.

#