From 1d5e00ca731d5e439c291a5bae6b640fcbc8ee3c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Mon, 10 Oct 2016 17:04:06 +0200 Subject: [PATCH] Add small-text paragraph style to TinyMCE --- app/organization/core/static/js/tinymce_setup.js | 3 ++- app/static/src/sass/global/_wysiwyg.scss | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/organization/core/static/js/tinymce_setup.js b/app/organization/core/static/js/tinymce_setup.js index 3557882a..3ee0e285 100644 --- a/app/organization/core/static/js/tinymce_setup.js +++ b/app/organization/core/static/js/tinymce_setup.js @@ -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'} ] } diff --git a/app/static/src/sass/global/_wysiwyg.scss b/app/static/src/sass/global/_wysiwyg.scss index 84604011..17d17d5e 100644 --- a/app/static/src/sass/global/_wysiwyg.scss +++ b/app/static/src/sass/global/_wysiwyg.scss @@ -156,3 +156,9 @@ } } + +.wys-small-text { + + @extend .small-text; + +} -- 2.39.5