retext-project / retext

ReText: Simple but powerful editor for Markdown and reStructuredText
GNU General Public License v2.0
1.86k stars 198 forks source link

Manual refresh preview #289

Open sonichy opened 7 years ago

sonichy commented 7 years ago

Add a refresh button on toolbar, when modify a image content (such as size) without modify markdown content, we can use this button to refresh preview. At present, we can only modify the markdown content to refresh preview.

mitya57 commented 7 years ago

How exactly do you modify the image content?

I don’t think such a button makes sense, because you can always click two times on the Preview button, it will refresh it.

sonichy commented 7 years ago

Although turn off/on Live Preview(Ctrl + L) has the same function with Refresh(F5), but this action will cause UI change, and affect user experience.

mitya57 commented 7 years ago

I still do not understand how you manage to change contents of the preview so that it needs refresh.

kannes commented 7 years ago

As I understand it @sonichy would embed image.png and then edit the image file (with an image editor) without changing any of the text.