attach the editor instance to the editor element, only open autocomplete if it’s not already open - fixes issue when selecting an autocomplete hint
attach the editor instance to the editor element,
only open autocomplete if it’s not already open - fixes issue when
selecting an autocomplete hint

officert/mongotron,officert/mongotron