function generateUrlForLoadingOption(isEditor, value) {
		/** @type {{[name:string]: string;}} */
		const newQueryOptions = {};
		const newEditorQueryValue = isEditor ? value : editorQueryValue;
		const newPluginsQueryValue = isEditor ? pluginsQueryValue : value;
		if (newEditorQueryValue !== defaultEditorQueryValue) {
			newQueryOptions[editorQueryName] = newEditorQueryValue;
		}
		if (newPluginsQueryValue !== defaultPluginsQueryValue) {
			newQueryOptions[pluginsQueryName] = newPluginsQueryValue;
		}

		let search = Object.keys(newQueryOptions)
			.map((key) => `${key}=${newQueryOptions[key]}`)
			.join('&amp;');

		if (search.length > 0) {
			search = '?' + search;
		}
		return toHREF(search);
	}
@param {boolean} isEditor
@param {string} value