git commit -m "rebuilding"
This commit is contained in:
parent
14a62b8764
commit
4b37855deb
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-rich-text'), 'version' => '0adf7d4b366ba2123cb1');
|
||||
<?php return array('dependencies' => array('wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-rich-text'), 'version' => '10f43e16ebf389dccac0');
|
||||
|
|
|
|||
|
|
@ -41,6 +41,8 @@ const trash = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(
|
|||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ cleanString: () => (/* binding */ cleanString),
|
||||
/* harmony export */ getAdminLanguageFromCookie: () => (/* binding */ getAdminLanguageFromCookie),
|
||||
/* harmony export */ getThematiqueFamilySlug: () => (/* binding */ getThematiqueFamilySlug)
|
||||
/* harmony export */ });
|
||||
function getThematiqueFamilySlug(thematique_slug) {
|
||||
|
|
@ -64,6 +66,25 @@ function getThematiqueFamilySlug(thematique_slug) {
|
|||
return "location";
|
||||
}
|
||||
}
|
||||
function cleanString(string) {
|
||||
return string.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().split(" ").join("-");
|
||||
}
|
||||
function getAdminLanguageFromCookie(c_name) {
|
||||
var c_value = document.cookie,
|
||||
c_start = c_value.indexOf(" " + c_name + "=");
|
||||
if (c_start == -1) c_start = c_value.indexOf(c_name + "=");
|
||||
if (c_start == -1) {
|
||||
c_value = null;
|
||||
} else {
|
||||
c_start = c_value.indexOf("=", c_start) + 1;
|
||||
var c_end = c_value.indexOf(";", c_start);
|
||||
if (c_end == -1) {
|
||||
c_end = c_value.length;
|
||||
}
|
||||
c_value = unescape(c_value.substring(c_start, c_end));
|
||||
}
|
||||
return c_value;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
|
|
@ -119,7 +140,6 @@ const BrochureLinkFormatButton = props => {
|
|||
}
|
||||
});
|
||||
function setFormat(postDatas) {
|
||||
console.log("postdata", postDatas);
|
||||
setIsPopoverOpen(!isPopoverOpen);
|
||||
setPendingBrochure(true);
|
||||
onChange((0,_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_1__.applyFormat)(value, {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user