- π¬π§United Kingdom james.williams
Here's an updated patch that ensures the tests also only look for the adjusted figcaption element. Still need to add new test coverage and merge the new class with any existing ones rather than just replacing the class attribute. On the latter - I noticed there's an xpath selector in the test, which for now I could just update to
//figcaption[@class="drupal-entity--editable"]//em
, but that wouldn't work if there are multiple classes.For what it's worth, for anyone else running into this - do make sure you have a
<figure>
element surrounding your<figcaption>
, otherwise CKEditor produces some really confusing output. - last update
over 1 year ago 88 pass, 2 fail