publish contenteditable and selection