I am using the .NET Wrapper With FCKEditor v2.2 , I search around in this forum,Still not found a solution of Preview By Pop-Up Window.
Just find a article say that i can add this JavaScript In <Head></Head>
<script type="text/javascript">
function extPreview(FCKeditor1) {
FCKeditorAPI.GetInstance('FCKeditor1').Commands.GetCommand('Preview').Execute();
}
</script>
And i Add a Button Inside <Body> With
<INPUT type="button" value="Button" onclick="extPreview">
Button it not work, no window is pop-up, But i sure the Instance Name is "FCKeditor1",So anyone can help me?
Just find a article say that i can add this JavaScript In <Head></Head>
<script type="text/javascript">
function extPreview(FCKeditor1) {
FCKeditorAPI.GetInstance('FCKeditor1').Commands.GetCommand('Preview').Execute();
}
</script>
And i Add a Button Inside <Body> With
<INPUT type="button" value="Button" onclick="extPreview">
Button it not work, no window is pop-up, But i sure the Instance Name is "FCKeditor1",So anyone can help me?
RE: Preview With Pop-Up Windows Question Agai
I try serverPreview plugin,but it just replace the fckeditor preview button on toolbar,so If i want to add another Preview button, how can i do?
RE: Preview With Pop-Up Windows Question Agai
<INPUT type="button" value="Button" onclick="extPreview(FCKeditor1)">
It Done! Happy FCKeditoRing~