Textarea displayed when switching back from "preview" to "write" mode
Steps to reproduce:
1. Click WYSIWYG and enter some text.
2. Click Preview
3. Click "Write Comment"
Effect: Above the TinyMCE window a textarea is visible.
1. Click WYSIWYG and enter some text.
2. Click Preview
3. Click "Write Comment"
Effect: Above the TinyMCE window a textarea is visible.
Tagged:
0
Answers
There was an error rendering this rich post.
In tinymce.functions.js replace the line with the following lines
if (!hidden) {
var textbox = $(self);
if (textbox.attr("id") == "Form_Body") {
textbox.attr("id", "Form_Body_" + (new Date().getTime()));
var frm = textbox.parents("div.CommentForm");
frm.bind("clearCommentForm PreviewLoaded", function(e) {
tinymce.execCommand('mceRemoveControl', false, self.id); }); }
textbox.tinymce(tmce); }