From 4bfb8f8491e1bcb4254b98c5cc6251be566c4a2c Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 12 Jan 2017 16:40:28 -0800 Subject: [PATCH] TinyMce Bootstrap Listgroup item class. --- e107_plugins/tinymce4/wysiwyg.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e107_plugins/tinymce4/wysiwyg.php b/e107_plugins/tinymce4/wysiwyg.php index 2cef611b0..c4a5023a3 100644 --- a/e107_plugins/tinymce4/wysiwyg.php +++ b/e107_plugins/tinymce4/wysiwyg.php @@ -536,6 +536,7 @@ class wysiwyg {title: 'Lists', items: [ {title: 'FontAwesome', selector: 'ul', classes: 'fa-ul' }, {title: 'Bootstrap Listgroup', selector: 'ul', classes: 'list-group' }, + {title: 'Bootstrap Listgroup Item', selector: 'li', classes: 'list-group-item' }, ]}, {title: 'Alignment', items: [ @@ -620,7 +621,7 @@ class wysiwyg {title: 'Button (Danger)', value: 'btn btn-danger'} ]"; - + /* $ret['setup'] = "function(ed) { ed.addMenuItem('test', {