askvortsov1 / flarum-rich-text

MIT License
17 stars 6 forks source link

Images are not rendered when initial upload is completed #9

Closed ctml91 closed 3 years ago

ctml91 commented 3 years ago

When uploading an image using fof/upload and using the image markdown template, the raw markdown text is displayed after upload and the preview must be toggled off and back on for it to render the image.

https://discuss.flarum.org/d/26455-wysiwyg-rich-text-editor/167

askvortsov1 commented 3 years ago

Opened https://github.com/FriendsOfFlarum/upload/pull/295, up to the FoF team now.

fanmingfei commented 2 years ago

This problem seems to still exist. Image not show in editor. image

ctml91 commented 2 years ago

You will need to change the template in fof upload using the image markdown template, check the discuss link in main post. The one in your screenshot isn't standard markdown so the editor doesn't know how to handle it. By switching to the other image template in fof/upload it should allow it to render.

fanmingfei commented 2 years ago

thanks