it disappeared after I added in a linje to change the skin to 'v2'. I undid everything, but the editor won't come back. I will looki into your suggestion and I appreciate your help!
jmsrmk wrote:it disappeared after I added in a linje to change the skin to 'v2'. I undid everything, but the editor won't come back. I will looki into your suggestion and I appreciate your help!
In the code snippet from you, I see two form closing tags in a row - meaning one form is nested within the other. Try removing the CKEditor's form tags from the page, make sure the TinyMCE's forms are set up properly, then get your cursor beyond the other forms' closing tags before inserting the form for CKEditor.
I feel pretty retarded right about now, but I have a similar issue. I've decompressed and uploaded the files to my server and the sample pages load fine, but the ckeditor instance never appears within it...no errors...jut no ckeditor....I have no problem seeing it on other websites, so I know my browser's OK with it. What could be causing this?
Re: CKEditor disappeared...
<td><textarea id='answerText' name='answerText' cols='85' rows='10'></textarea> <script type="text/javascript"> CKEDITOR.replace( 'answerText', { toolbar: 'FormsToolbar' }); </script> </td> </tr> <tr> <td colspan=2 align='center'> <input type='submit' value="Add question" onclick="CKEDITOR.instances.answerText.destroy()" /> </form></td> </td> </tr> </table> </fieldset> </form>" It was working before..." and then, what did you change?
1.) I'm pretty sure form elements cannot be nested. I suspect that's the problem.
2.) if the nested form tags are not the problem, try creating the CKEditor without asking it to load the formsToolbar
3.) Make sure that onclick="CKEDITOR.instances.answerText.destroy() is not receiving an onClick event
Dennis
Re: CKEditor disappeared...
Re: CKEditor disappeared...
<td><textarea id='answerText' name='answerText' cols='85' rows='10'></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'answerText',
{
toolbar: 'FormsToolbar'
});
</script>
</td>
</tr>
<tr>
<td colspan=2 align='center'>
<input type='submit' value="Add question" onclick="CKEDITOR.instances.answerText.destroy()" />
</form></td>
</td>
</tr>
</table>
</fieldset>
</form>
In the code snippet from you, I see two form closing tags in a row - meaning one form is nested within the other. Try removing the CKEditor's form tags from the page, make sure the TinyMCE's forms are set up properly, then get your cursor beyond the other forms' closing tags before inserting the form for CKEditor.
HTH,
Dennis
Re: CKEditor disappeared...
Thanks,
Steve