Skip to content

Lazyload: Images fail to load inside CKEditor #6

Description

@macburgee1

When using DCF Lazyload for inline images (those placed with Media Library in CKEditor), the images fail to render because the lazyload JS is not loaded on the node edit page. We may need to load the dcf-lazyLoad.js separately, although I'm not sure if the JS file can be loaded on its own. We may need to write some custom JS to facilitate. This JS will likely be exposed as a library.

https://github.com/digitalcampusframework/dcf/blob/2.0/js/dcf-lazyLoad.js

We can load that library by creating a Filter. All the filter would do is attach the library per Attaching a library in a filter plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions