- if(plaintext == "none") {
- var v = $("#profile-jot-text").val();
- v = v + text;
- $("#profile-jot-text").val(v);
- $("#profile-jot-text").focus();
- } else {
- var v = tinymce.activeEditor.getContent();
- v = v + text;
- tinymce.activeEditor.setContent(v);
- tinymce.activeEditor.focus();
- }