Created
June 7, 2015 17:48
-
-
Save madalinignisca/18f97b8d60e9595e1017 to your computer and use it in GitHub Desktop.
Make images added by Redactor responsive in Concrete5 7.x+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// add img-responsive class to Redactor added images | |
$('p[data-redactor-inserted-image=true]').find('img').addClass('img-responsive'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment