Browse Source

added h4.inter-titre style to wysiwyg

Bachir Soussi Chiadmi 6 years ago
parent
commit
d3eea03e7d

File diff suppressed because it is too large
+ 0 - 0
sites/all/themes/custom/edlptheme/assets/dist/styles/app.min.css


+ 8 - 2
sites/all/themes/custom/edlptheme/assets/styles/app.scss

@@ -296,6 +296,7 @@ main[role="main"]{
     @include content_titles;
     margin:0.9em 0 0;
   }
+
   article.node:not(.node--type-enregistrement)>h2, h2.title{
     @include content_titles;
   }
@@ -426,6 +427,13 @@ main[role="main"]{
     }
   }
 
+  h4.inter-titre{
+    @include content_courant;
+    font-weight: normal;
+    font-style: italic;
+    margin:1em 0 0 0;
+  }
+  
   article.node p, div.taxonomy-term p{
     @include content_courant;
     margin:0 0 1em 0;
@@ -490,8 +498,6 @@ main[role="main"]{
     }
   }
 
-
-
   img{
     max-width: 100%;
     height: auto;

+ 2 - 1
sites/default/config/sync/editor.editor.wysiwyg.yml

@@ -15,6 +15,7 @@ settings:
         -
           name: Formats
           items:
+            - Styles
             - Bold
             - Italic
             - Underline
@@ -50,7 +51,7 @@ settings:
       linkit_enabled: true
       linkit_profile: collection
     stylescombo:
-      styles: ''
+      styles: h4.inter-titre|Inter-titre
     language:
       language_list: un
 image_upload:

+ 1 - 1
sites/default/config/sync/filter.format.wysiwyg.yml

@@ -49,7 +49,7 @@ filters:
     status: false
     weight: -43
     settings:
-      allowed_html: '<em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <u> <a href hreflang !href accesskey id rel target title data-entity-type data-entity-uuid data-entity-substitution> <img src alt data-entity-type data-entity-uuid data-entity-substitution>'
+      allowed_html: '<em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h5 id> <h6 id> <u> <a href hreflang !href accesskey id rel target title data-entity-type data-entity-uuid data-entity-substitution> <img src alt data-entity-type data-entity-uuid data-entity-substitution> <p> <h1> <pre> <h4 id class="inter-titre">'
       filter_html_help: true
       filter_html_nofollow: false
   audio_links:

Some files were not shown because too many files changed in this diff