Hello,
I'm trying to use FCKeditor for editing a html template.
The code I'm using is:
As default value I've a complete HTML template, but when it's loaded in the editor the only thing I see is:
Is it possible that I can edit the complete html template instead of the body content?
Thank you.
I'm trying to use FCKeditor for editing a html template.
The code I'm using is:
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'html' );
oFCKeditor.BasePath = "/public/backend/js/fckeditor/";
oFCKeditor.ToolbarSet = "Editor";
oFCKeditor.Config["DefaultLanguage"] = "nl";
oFCKeditor.Config["SkinPath"] = "/public/backend/js/fckeditor/editor/skins/ColorfullCMS/"
oFCKeditor.ReplaceTextarea();
}
<!--
function FCKeditor_OnComplete(editorInstance) {
editorInstance.SwitchEditMode();
}
-->
</script>
As default value I've a complete HTML template, but when it's loaded in the editor the only thing I see is:
<!-- START BLOCK : content_block -->
<div>
<h1 title="{block_title}">{block_title}</h1>
{block_content}</div>
<!-- END BLOCK : content_block -->
Is it possible that I can edit the complete html template instead of the body content?
Thank you.
