Issue #3247795 by heddn, Graber, ravi.shankar, yogeshmpawar, Anchal_gupta, Wim...
Issue #3247795 by heddn, Graber, ravi.shankar, yogeshmpawar, Anchal_gupta, Wim Leers, Fabianx, alexpott, benmorss, catch: Add text filter plugin to support <img loading="lazy"> and remove it from editor_file_reference
$assert_session->elementExists('xpath',sprintf('//img[@src="%s" and @loading="lazy" and @width and @height and @data-entity-uuid="%s" and @data-entity-type="file"]',$image_url,$image_uuid));
$assert_session->elementExists('xpath',sprintf('//img[@src="%s" and @width and @height and @data-entity-uuid="%s" and @data-entity-type="file"]',$image_url,$image_uuid));
// Ensure that width, height, and length attributes are not stored in the
// database.
@@ -555,7 +555,7 @@ public function testEditorFileReferenceIntegration() {
$assert_session->elementExists('xpath',sprintf('//img[@src="%s" and @loading="lazy" and @width and @height and @data-entity-uuid="%s" and @data-entity-type="file"]',$image_url,$image_uuid));
$assert_session->elementExists('xpath',sprintf('//img[@src="%s" and @width and @height and @data-entity-uuid="%s" and @data-entity-type="file"]',$image_url,$image_uuid));