1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

TinyMce left/right image alignment class added. bbcode-img-left bbcode-img-right

This commit is contained in:
Cameron
2017-12-17 13:12:47 -08:00
parent 1173e3967f
commit d73f39f61d
3 changed files with 11 additions and 3 deletions

View File

@@ -549,8 +549,8 @@ class wysiwyg
{title: 'Justify', block: 'div', classes: 'text-justify', icon: 'alignjustify'},
{title: 'No Text-Wrap', block: 'div', classes: 'text-nowrap', icon: ''},
{title: 'Clear Float', block: 'div', classes: 'clearfix'},
{title: 'Image Left', selector: 'img', classes: 'pull-left', styles: {'margin': '0 10px 5px 0' }, icon: 'alignleft'},
{title: 'Image Right', selector: 'img', classes: 'pull-right', styles: { 'margin': '0 0 5px 10px'}, icon: 'alignright'}
{title: 'Image Left', selector: 'img', classes: 'bbcode-img-left', icon: 'alignleft'},
{title: 'Image Right', selector: 'img', classes: 'bbcode-img-right', icon: 'alignright'}
]},
@@ -854,7 +854,7 @@ class wysiwyg
0 => $pathBS . '/dist/css/bootstrap.min.css',
1 => $pathFA . '/css/font-awesome.min.css',
2 => e_PLUGIN_ABS . 'tinymce4/editor.css',
3 => $pathAn . '/animate.min.css',
3 => $pathAn . 'animate.min.css',
);