$("#el").val(decodeToHTMLText(tag.val()));
} else {
- $("#el").val(decodeToText(log.text()));
+ $("#el").val(decodeToText(log.html()));
}
$("#ed").val(ed_v.val() + " " + et_v.html()); //Time field
function editorBackground(reset){
- var css = $("#editor-container").prop('style');
+ var css = $("#editor-container").prop('style');
if(reset){
css.backgroundColor = DEF_BACKGROUND;
$("#fldBG").val(DEF_BACKGROUND);