Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Not rendering image, when loaded from HTML #2193

Open
maifeeulasad opened this issue Sep 24, 2019 · 4 comments
Open

Not rendering image, when loaded from HTML #2193

maifeeulasad opened this issue Sep 24, 2019 · 4 comments

Comments

@maifeeulasad
Copy link

Do you want to request a feature or report a bug?

A bug, previously opened and closed. Here it is, and here too

What is the current behavior?

Well editor renders image, when I add it, modify it, or whatsoever. But when I save that as html, try to render it into editor, then it just displays an iamge/camera/icon

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/gmertk/e61z7nfa/.


What is the expected behavior?

Chrome : here
Firefox : here

What it produced?

Chrome : here
Firefox : here

Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?

"draft-js": "^0.11.0"
"browser": ["chrome","firefox"]
"os":"win10"

@vazkir
Copy link

vazkir commented Nov 9, 2019

Any idea when this will be fixed?

@bot19
Copy link

bot19 commented Feb 4, 2020

I would like to know too. When an image comes in from HTML, it comes out as a camera emoji which I think was implemented here #1377. I don't know if there has been updates since for this, but it appears in 0.11.0 it is still shows a camera emoji.

@maifeeulasad
Copy link
Author

maybe there is some other way to do it.. maybe we are missing something... now i'm using react-rte, which uses draft-js and that seems to have no problem..

@MONTYYYYY
Copy link

any updates on this please?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants