[maurizio] fix on setSelection. Now it sets the current node as contenteditable if necessary