NOTICE: All information contained herein is, and remains
the property of TechnoCore.
The intellectual and technical concepts contained
herein are proprietary to TechnoCore and dissemination of this information or reproduction of this material
is strictly forbidden unless prior written permission is obtained
from TechnoCore.
This component provides a specialized code editor for HTML markup within a web form.
It inherits its core functionality from the ObjFieldCodeedit.ObjFieldElement base class. Its main purpose is to configure the Ace.js editor for HTML editing.
__init__ MethodThe constructor sets the specific properties for the HTML editor.
self.Mode = "html": This critical line configures the Ace.js instance to use HTML syntax highlighting and editing rules.ace/ace.js: The core Ace editor library.ace/theme-dreamweaver.js: The visual theme.ace/mode-html.js: The language-specific module for HTML.By specializing the base class, this component provides a ready-to-use HTML editor field with minimal new code.