if (document.getElementById('editable').isContentEditable == true) {
	document.getElementById("editable").style.background="green";
}
