Inserted Image via URL does not show/load on WYSIWYG only editor
joao-miguel-inacio opened this issue · comments
Joao Miguel Inacio commented
Image inserted via URL does not load on WYSIWYG only editor but loads on split view editor
To reproduce the behavior:
- Ensure editor is on WYSIWYG editor mode.
import { Editor } from '@toast-ui/react-editor';
<Editor initialEditType="wysiwyg" ... />
-
Paste URL (example https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRz4A224fVYcQVau6NcpaI2X3dmbeyJgMoB_Vo4xv2WWA&s )
-
Click on "OK"
-
See the Error
OR:
- Ensure editor is on WYSIWYG editor mode.
import { Editor } from '@toast-ui/react-editor';
<Editor initialEditType="wysiwyg" ... />
- Pass the string "![image](https://github.com/nhn/tui.editor/assets/98990036/d71f0dab-9117-4ce5-a52a-3b05175887b2\)" as initial value:
import { Editor } from '@toast-ui/react-editor';
<Editor initialEditType="wysiwyg" initialValue={"![image](https://github.com/nhn/tui.editor/assets/98990036/d71f0dab-9117-4ce5-a52a-3b05175887b2)"}... />
- See the Error