- @saidatom opened merge request.
- Status changed to Needs review
almost 2 years ago 8:53am 11 April 2023 - 🇬🇷Greece idimopoulos
idimopoulos → made their first commit to this issue’s fork.
- 🇬🇷Greece idimopoulos
I added 1 more commit because there are cases for the inline editors that breaks the code.
This is for example when there are multiple text filter plugins, for example\Drupal\filter\Plugin\Filter\FilterAlign::process
which adds the class using the dom element, thus adding it as a string.That causes
$variables['image']['#attributes']['class'][] = 'no-image-style';
to throw an exception. I am handling this case by splitting the class apart first.
Adding https://www.drupal.org/project/svg_image/issues/3321542 → as a related issue which was about the same thing mainly.