]> git.parisson.com Git - mezzo.git/commitdiff
Add small-text paragraph style to TinyMCE
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Mon, 10 Oct 2016 15:04:06 +0000 (17:04 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Mon, 10 Oct 2016 15:04:06 +0000 (17:04 +0200)
app/organization/core/static/js/tinymce_setup.js
app/static/src/sass/global/_wysiwyg.scss

index 3557882a52a0bb00236a5b91f1813e04438f8c16..3ee0e2857e88f26cdd6c3a88332e6cc2a5840b1f 100644 (file)
@@ -84,7 +84,8 @@ jQuery(function($) {
             {
 
                 title: 'Paragraphs', items: [
-                    { title: 'Highlighted paragraph', selector: 'p', classes: 'wys-highlighted-paragraph'}
+                    { title: 'Highlighted paragraph', selector: 'p', classes: 'wys-highlighted-paragraph'},
+                    { title: 'Small paragraph', selector: 'p', classes: 'wys-small-text'}
                 ]
 
             }
index 846040110c8a6610737c1cb53336b127ea5bcf48..17d17d5eef46a6728e365150e596447efae22ab0 100644 (file)
     }
 
 }
+
+.wys-small-text {
+
+    @extend .small-text;
+
+}