Issue #3214409 by codebymikey: Improve the Editor plugin behaviour supports image styles and uses DOM parser
- Resolve entity references using the
editor
module. The existing solution always returnedtrue
since it was essentially comparingFALSE >= 0
. - Add support for updating references to multiple attributes (src and srcset by default).
- Add support for updating references to image styles.
- Add a revision log explaining why the entity was updated.
- Use interfaces to aid with dependency injection on non-standard installs.
- Also broke down functionality into methods to aid with OOP.
Closes #3214409
Edited by codebymikey