Make TinyMCE inserted images responsive (add img-responsive and img-fluid classes)

This commit is contained in:
Skylar Ittner 2018-05-16 00:27:19 -06:00
parent 86f9d0ce8d
commit d946e3339f

View File

@ -64,6 +64,10 @@ $(document).ready(function () {
filePickerCallback = callback;
parent.postMessage('browse ' + meta.filetype, "*");
},
image_dimensions: false,
image_class_list: [
{title: 'Autosizing', value: 'img-responsive img-fluid'}
],
mobile: {
theme: 'mobile'
}