Disable links in editing mode.