I do not know if a pre saved HTML file can be opened in Ace Editor. Is this possible?
In fact I want to load a pre saved HTML file in the Ace editor so that the code of the file can be viewed in the editor.
Please tell me the way to do this.
I got it. I have used PHP to do this.
<div id="editor">
<?php echo htmlentities(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "html_file_address_here"));?>
</div>