Deprecated: Creation of dynamic property acf_field_text::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/text.php on line 19

Deprecated: Creation of dynamic property acf_field_textarea::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/textarea.php on line 19

Deprecated: Creation of dynamic property acf_field_number::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/number.php on line 19

Deprecated: Creation of dynamic property acf_field_email::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/email.php on line 19

Deprecated: Creation of dynamic property acf_field_password::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/password.php on line 19

Deprecated: Creation of dynamic property acf_field_wysiwyg::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/wysiwyg.php on line 19

Deprecated: Creation of dynamic property acf_field_image::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/image.php on line 19

Deprecated: Creation of dynamic property acf_field_file::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/file.php on line 19

Deprecated: Creation of dynamic property acf_field_select::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/select.php on line 18

Deprecated: Creation of dynamic property acf_field_checkbox::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/checkbox.php on line 19

Deprecated: Creation of dynamic property acf_field_radio::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/radio.php on line 18

Deprecated: Creation of dynamic property acf_field_true_false::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/true_false.php on line 19

Deprecated: Creation of dynamic property acf_field_page_link::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/page_link.php on line 18

Deprecated: Creation of dynamic property acf_field_post_object::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/post_object.php on line 18

Deprecated: Creation of dynamic property acf_field_relationship::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/relationship.php on line 18

Deprecated: Creation of dynamic property acf_field_taxonomy::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/taxonomy.php on line 18

Deprecated: Creation of dynamic property acf_field_user::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/user.php on line 18

Deprecated: Creation of dynamic property acf_field_google_map::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/google-map.php on line 18

Deprecated: Creation of dynamic property acf_field_google_map::$default_values is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/google-map.php on line 26

Deprecated: Creation of dynamic property acf_field_date_picker::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/date_picker/date_picker.php on line 19

Deprecated: Creation of dynamic property acf_field_color_picker::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/color_picker.php on line 19

Deprecated: Creation of dynamic property acf_field_message::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/message.php on line 19

Deprecated: Creation of dynamic property acf_field_tab::$label is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/logicaldoc/advanced-custom-fields/core/fields/tab.php on line 19

Deprecated: Optional parameter $msg declared before required parameter $options is implicitly treated as a required parameter in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/rootspersona/php/pages/class-RP-Add-Page-Builder.php on line 14

Deprecated: Optional parameter $msg declared before required parameter $batch_ids is implicitly treated as a required parameter in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/rootspersona/php/pages/class-RP-Upload-Page-Builder.php on line 13

Deprecated: Creation of dynamic property sp_cdm_local_import_integrated::$namesake is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-local-import/index.php on line 32

Deprecated: Creation of dynamic property sp_cdm_local_import_integrated::$version is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-local-import/index.php on line 33

Deprecated: Creation of dynamic property sp_cdm_local_import_integrated::$name is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-local-import/index.php on line 34

Deprecated: Creation of dynamic property sp_cdm_local_import_integrated::$item_name is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-local-import/index.php on line 35

Deprecated: Return type of SP_CDM_RecursiveFilterIteratorExtend::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-local-import/admin/importer.php on line 8

Deprecated: Creation of dynamic property cdm_recycle_bin::$db_ver is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/admin/recycle-bin.php on line 14

Deprecated: Creation of dynamic property sp_cdm_links::$namesake is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-link/index.php on line 14

Deprecated: Creation of dynamic property sp_cdm_links::$version is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-link/index.php on line 15

Deprecated: Creation of dynamic property sp_cdm_links::$name is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-link/index.php on line 16

Deprecated: Creation of dynamic property sp_cdm_links::$item_name is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-link/index.php on line 17

Deprecated: Creation of dynamic property sp_cdm_links::$license_option_name is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-link/index.php on line 18

Deprecated: Creation of dynamic property sp_cdm_links::$license_key is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-link/index.php on line 19

Deprecated: Creation of dynamic property sp_cdm_links::$store_url is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-link/index.php on line 20

Deprecated: Creation of dynamic property sp_cdm_medias::$namesake is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-media/index.php on line 17

Deprecated: Creation of dynamic property sp_cdm_medias::$version is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-media/index.php on line 18

Deprecated: Creation of dynamic property sp_cdm_medias::$name is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-media/index.php on line 19

Deprecated: Creation of dynamic property sp_cdm_medias::$item_name is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-media/index.php on line 20

Deprecated: Creation of dynamic property sp_cdm_medias::$license_option_name is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-media/index.php on line 21

Deprecated: Creation of dynamic property sp_cdm_medias::$license_key is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-media/index.php on line 22

Deprecated: Creation of dynamic property sp_cdm_medias::$store_url is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-media/index.php on line 23

Deprecated: Creation of dynamic property WC_Gateway_PPEC_Plugin::$gateway_loader is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php on line 371

Deprecated: Creation of dynamic property WC_Gateway_PPEC_Plugin::$admin is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php on line 372

Deprecated: Creation of dynamic property WC_Gateway_PPEC_Plugin::$checkout is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php on line 373

Deprecated: Creation of dynamic property WC_Gateway_PPEC_Plugin::$cart is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php on line 374

Deprecated: Creation of dynamic property WC_Gateway_PPEC_Plugin::$ips is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php on line 375

Deprecated: Creation of dynamic property WC_Gateway_PPEC_Plugin::$client is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php on line 376

Deprecated: Creation of dynamic property WC_Gateway_PPEC_Plugin::$prompt_to_connect is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php on line 200

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/wp-rocket/inc/Engine/Optimization/DelayJS/HTML.php on line 253

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/wp-rocket/inc/Engine/Optimization/DelayJS/HTML.php on line 263

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/wp-rocket/inc/Engine/Optimization/DelayJS/HTML.php on line 272

Deprecated: Creation of dynamic property ET_Bloom::$plugin_class_name is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/bloom/dashboard/dashboard.php on line 41

Deprecated: Creation of dynamic property ET_Bloom::$save_button_text is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/bloom/dashboard/dashboard.php on line 42

Deprecated: Creation of dynamic property ET_Bloom::$options_path is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/bloom/dashboard/dashboard.php on line 44

Deprecated: Creation of dynamic property ET_Bloom::$top_level_page is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/bloom/dashboard/dashboard.php on line 45

Deprecated: Creation of dynamic property ET_Bloom::$dashboard_options is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/bloom/dashboard/dashboard.php on line 48

Deprecated: Creation of dynamic property ET_Bloom::$dashboard_sections is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/bloom/dashboard/dashboard.php on line 93

Deprecated: Creation of dynamic property ET_Bloom::$assigned_options is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/bloom/dashboard/dashboard.php on line 94

Deprecated: Creation of dynamic property ET_Bloom::$provider_names is deprecated in /home3/mondydeo/public_html/mondyde/dev/main/wp-content/plugins/bloom/dashboard/dashboard.php on line 95
Ajouter automatiquement des espaces insécables. | Mondyde
Sélectionner une page

En français, une double ponctuation est précédée d’un espace. C’est une règle d’écriture.

Particulièrement pour les titres, selon les tailles d’écran, je ne saurais dire combien de fois je me suis arraché les cheveux avec un point d’exclamation ou d’interrogation qui traînait seul sur la dernière ligne. C’est moche !

 

Deux solutions s’offraient alors à moi.

Ajouter manuellement les espaces insécables.

La solution la plus simple est d’ajouter manuellement l’espace insécable durant la rédaction du sujet, mais ça impose d’être particulièrement attentif pour un résultat pas toujours satisfaisant, loin de là.

Le premier problème est l’attention justement. Il m’est déjà difficile de rester concentré sur mon contenu, mon orthographe et je dois encore y ajouter des contraintes. Tant et si bien que fatalement, j’en oublie au passage.

Le deuxième est peut-être lié au thème que j’utilise, Divi ou à l’éditeur WordPress, je ne sais pas. Il arrive régulièrement, sans que je sache exactement pourquoi, que les éléments qui ne s’affichent pas  disparaissent de mon contenu. C’est le cas de la balise br pour les retours à la ligne, de mes icône Font Awesome avec la balise i … du jour au lendemain, disparus ! il en va de même pour l’espace insécable que j’avais pris soin d’ajouter, au final pour rien.

 

Ajuster mes éléments de texte.

Comme je l’ai déjà dit, il m’est difficile de rester concentrer. Alors je préfère généralement agir après, une fois que le texte est rédigé.

Utilisant systématiquement les thèmes Divi ou Extra, grace au Builder Visuel, je peux contrôler chaque élément de ma page. Je peux jouer sur la taille de l’élément soit directement, soit en jouant sur les marges internes, soit en changeant légèrement la taille de mes polices de caractères.

J’arrive à un résultat satisfaisant, mais il me faut à chaque modification, contrôler l’aspect pour toutes les résolutions. J’avoue que je prend un raccourci en utilisant l’inspecteur de code de mon navigateur, ce qui satisfait probablement le plus grand nombre de visiteurs.

Les consultations de sites via les appareils mobiles étant de plus en plus fréquentes, il y a de plus en plus de résolutions plus ou moins exotiques, ça se joue parfois à quelques pixels. Enfin bref, il y a certainement quelques visiteurs pour lesquels le problème subsiste.

Une troisième solution, simple et efficace.

Automatiser le processus.

Bien que capable de bidouiller de petits scripts pour les adapter à mes besoins, le codage n’est pas un domaine dans lequel je suis à l’aise. Je me contentais donc d’utiliser les deux solutions que je viens d’évoquer. Jusqu’à ce que je tombe sur ce sujet « remplacer les espaces par des espaces insécables avant une double ponctuation ».

L’auteur y fournit un script que vous pouvez ajouter au fichier functions.php de votre thème (utilisez un thème enfant de préférence) ou comment créer une extension qui aura en charge d’exécuter le script.

Fini les prises de tête pour respecter cette règle d’écriture à laquelle je tiens. Que du bonheur !

 

Thank you for your upload