pluginRemoveEvent = (globId, pluginId) => {
  return event => {
    if (
      event.type !== 'keypress'
      || (event.type === 'keypress' && event.keyCode === 13)
    ) {
      currentConfig.filters[globId].use.splice(pluginId, 1);
      updateConfigDOM();
    }
  };
}
Handle DOM plugin remove
@param {number} globId
@param {number} pluginId