Skip to content

Useless Image reload triggered at keyup event #138

@tim-boerner

Description

@tim-boerner

What is the current behavior?
If images were pasted or uploaded, so that you have img tags. Every single image is reloaded on every single keyup, which results in massive useless network traffic.

steps to reproduce
set up everything as provided in docu
use any image as inital text, e.g.: <img src=\"https://avatars2.githubusercontent.com/u/119815?s=280&v=4\"></img> or just copy and paste something
focus editing area and start typing

example at codesandbox

What is the expected behavior?
Images should not be reloaded on every keyup or change

Which versions of TinyMCE/TinyMCE-Angular, and which browser / OS are affected by this issue?
Affected versions:
TinyMCE-Angular 3.4.0 / 3.3.0 / 3.2.0
Tested with Chrome Browser and TinyMCE 5.2.0

Did this work in previous versions of TinyMCE or TinyMCE-Angular?
Seams to work with TinyMCE-Angular 3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions