Added better event delegation and editor show/hide/isHidden for inline mode.