mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 16:26:59 +02:00
Per PR #91 fix issue processwire/processwire-issues#385 where ProcessPageEditImageSelect nosize option wasn't working with InputfieldCKEditor pwimage plugin
This commit is contained in:
@@ -208,7 +208,7 @@
|
||||
// note: class is added to figureWrapper (rather than <img>) when this is a caption
|
||||
if(caption === false) $insertHTML.addClass(cls);
|
||||
|
||||
if(width > 0) $insertHTML.attr('width', width);
|
||||
if(width > 0 && $img.attr('data-nosize') != '1') $insertHTML.attr('width', width);
|
||||
|
||||
if($linkWrapper) {
|
||||
// img was wrapped in an <a>...</a> and/or <figure>
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user