Use .text for contenteditable and check for it using .is()