removing uncessary target attribute

This commit is contained in:
Antoine M 2024-08-09 16:14:36 +02:00
parent 45f84d5fba
commit eb6785e197
9 changed files with 36 additions and 5 deletions

View File

@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n'), 'version' => '741e30b111a2465ca4f5');
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n'), 'version' => '8dae7dbfee819c50d1b8');

View File

@ -0,0 +1,13 @@
/*!****************************************************************************************************************************************************************************************************************************************************!*\
!*** css ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/editor.scss ***!
\****************************************************************************************************************************************************************************************************************************************************/
/**
* The following styles get applied inside the editor only.
*
* Replace them with your own styles or remove the file completely.
*/
.wp-block-create-block-test {
border: 1px dotted #f00;
}
/*# sourceMappingURL=index.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"index.css","mappings":";;;AAAA;;;;EAAA;AAMA;EACC;AAAD,C","sources":["webpack://test/./src/editor.scss"],"sourcesContent":["/**\n * The following styles get applied inside the editor only.\n *\n * Replace them with your own styles or remove the file completely.\n */\n\n.wp-block-create-block-test {\n\tborder: 1px dotted #f00;\n}\n"],"names":[],"sourceRoot":""}

View File

@ -304,7 +304,7 @@ function getThematiqueFamilySlug(thematique_slug) {
case "urbanisme":
return "energies-urbanisme";
case "acoustique":
case "petites-coproprietes":
case "coproprietes":
return "acoustique-coproprietes";
case "isolation":
case "au-quotidien":

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@ $postIcon = get_field("step_icon", $relatedPostId) ?? null;
$excerpt = get_the_excerpt($relatedPostId) ?? null;
?>
<a class="homegrade-blocks-page-card" href="<?php echo $relatedPostUrl ?>" target="<?php echo $target ?>">
<a class="homegrade-blocks-page-card" href="<?php echo $relatedPostUrl ?>">
<img class="homegrade-blocks-page-card__icon" src="<?php echo $postIcon['url'] ?>" alt="">
<h3 class="homegrade-blocks-page-card__title"><?php echo $relatedPost->post_title; ?></h3>
<p class="homegrade-blocks-page-card__excerpt"><?php echo $excerpt ?></p>

View File

@ -0,0 +1,16 @@
/*!***************************************************************************************************************************************************************************************************************************************************!*\
!*** css ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/style.scss ***!
\***************************************************************************************************************************************************************************************************************************************************/
/**
* The following styles get applied both on the front of your site
* and in the editor.
*
* Replace them with your own styles or remove the file completely.
*/
.wp-block-create-block-test {
background-color: #21759b;
color: #fff;
padding: 2px;
}
/*# sourceMappingURL=style-index.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"./style-index.css","mappings":";;;AAAA;;;;;EAAA;AAOA;EACC;EACA;EACA;AAAD,C","sources":["webpack://test/./src/style.scss"],"sourcesContent":["/**\n * The following styles get applied both on the front of your site\n * and in the editor.\n *\n * Replace them with your own styles or remove the file completely.\n */\n\n.wp-block-create-block-test {\n\tbackground-color: #21759b;\n\tcolor: #fff;\n\tpadding: 2px;\n}\n"],"names":[],"sourceRoot":""}

View File

@ -8,7 +8,7 @@ $postIcon = get_field("step_icon", $relatedPostId) ?? null;
$excerpt = get_the_excerpt($relatedPostId) ?? null;
?>
<a class="homegrade-blocks-page-card" href="<?php echo $relatedPostUrl ?>" target="<?php echo $target ?>">
<a class="homegrade-blocks-page-card" href="<?php echo $relatedPostUrl ?>">
<img class="homegrade-blocks-page-card__icon" src="<?php echo $postIcon['url'] ?>" alt="">
<h3 class="homegrade-blocks-page-card__title"><?php echo $relatedPost->post_title; ?></h3>
<p class="homegrade-blocks-page-card__excerpt"><?php echo $excerpt ?></p>