Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inserted Image via URL does not show/load on WYSIWYG only editor #3230

Open
joao-miguel-inacio opened this issue Mar 7, 2024 · 0 comments
Open
Labels

Comments

@joao-miguel-inacio
Copy link

joao-miguel-inacio commented Mar 7, 2024

Image inserted via URL does not load on WYSIWYG only editor but loads on split view editor

image
image

To reproduce the behavior:

  1. Ensure editor is on WYSIWYG editor mode.
import { Editor } from '@toast-ui/react-editor';
<Editor initialEditType="wysiwyg" ... />
  1. Click on "insert image" button on toolbar and select URL
    image

  2. Paste URL (example https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRz4A224fVYcQVau6NcpaI2X3dmbeyJgMoB_Vo4xv2WWA&s )

  3. Click on "OK"

  4. See the Error

OR:

  1. Ensure editor is on WYSIWYG editor mode.
import { Editor } from '@toast-ui/react-editor';
<Editor initialEditType="wysiwyg" ... />
  1. 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)"}... />
  1. See the Error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant