TinyMCE must go through any content already in the text field, so
<textarea name="content" id="content">Type some text here</textarea>
, jQuery - :
TinyMCE.focus(function(){
if ($(this).getContent() == "Type some text here"){
tinyMCE.setContent("");
} else if ($(this).getContent() == ""){
tinyMCE.setContent("Type some text here");
}
})
, getContent setContent - , tinyMCE api... , .focus() . TinyMCE textarea iframe, ...