pluginPropsListener = (globId, pluginId) => {
  return event => {
    const plugin = currentConfig.filters[globId].use[pluginId];
    if (typeof plugin === 'string') {
      currentConfig.filters[globId].use[pluginId] = {
        name: currentConfig.filters[globId].use[pluginId]
      };
    }
    let data = null;
    try {
      data = JSON.parse(`{${event.target.innerText}}`);
    } catch (e) {
      event.target.classList.add('--error');
    }
    if (data) {
      event.target.classList.remove('--error');
      currentConfig.filters[globId].use[pluginId] = Object.assign(
        {},
        {
          name: currentConfig.filters[globId].use[pluginId].name
        },
        data
      );
    }
  };
}
Handle DOM plugin props change
@param {number} globId
@param {number} pluginId