$attachmentID,
$float,
$thumbnail,
- //$width,
+ $width,
];
$newElement = $element->ownerDocument->createElement('woltlab-metacode');
protected function mirrorWidthAttribute(\DOMElement $element): void
{
- // TODO: Remove this.
- return;
-
// Aligned images are wrapped in a `<figure>` element that is the target
// of the resize operation.
if ($element->parentNode->nodeName === 'figure') {