Make TinyMCE inserted images responsive (add img-responsive and img-fluid classes)
This commit is contained in:
parent
86f9d0ce8d
commit
d946e3339f
@ -64,6 +64,10 @@ $(document).ready(function () {
|
|||||||
filePickerCallback = callback;
|
filePickerCallback = callback;
|
||||||
parent.postMessage('browse ' + meta.filetype, "*");
|
parent.postMessage('browse ' + meta.filetype, "*");
|
||||||
},
|
},
|
||||||
|
image_dimensions: false,
|
||||||
|
image_class_list: [
|
||||||
|
{title: 'Autosizing', value: 'img-responsive img-fluid'}
|
||||||
|
],
|
||||||
mobile: {
|
mobile: {
|
||||||
theme: 'mobile'
|
theme: 'mobile'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user