easy-markdown-editor
easy-markdown-editor copied to clipboard
about preview img
after set previewImagesInEditor:true
or toggle side by side . if I upload a img. everytime I input anything,the image will load. it's like the img is blink。how to solve this?
I also have the 'img blink' problem at the preview side when using side-by-side mode. When i input new content to the editor side, the preview side will refresh the image.
Finally, I find that i forget to able the cache using in chrome network config
When changing something in the editor side, the preview side needs to update the rendered markdown, including any images. Because images take a short time to download and render, that results in a noticeable blink.
Make sure the image host allows caching (cache-control, etag, etc) and your browser uses it, that will stop most of the image blinking.