-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Uploading Featured Image inserts it into post content #3393
Comments
I can't reproduce this, can you confirm it's fixed? |
Nope, not fixed. I just reproduced it on my site. |
It's probably related to your setup, plugins, theme etc... I can't reproduce on a fresh install. Anything particular we should test with? |
I've opened a support ticket with StudioPress to ask them about that (and linked here) |
@youknowriad Can I DM you or otherwise send you a link to the themes? (you can email me |
@Ipstenu Were you able to track down any additional details? If so, can you share them on this ticket? |
No, but it’s still happening as of last week. This week I was writing a lot of posts with code, and since #4456 is an issue, I have to go back to the old editor for that. |
I can confirm this is still happening for me in version 2.3.0. For me its not always required to have the pointer specifically in the post to get this snag (but it does give the result most consistently). Thinking it may be the file type, but it happens to both I can also confirm its actually uploading the image twice for me. |
Sorry, after I just posted that I did a couple more tests with the stripe logo as I don't think I've tried that in a post where I had many blocks before, it does have the same consistency as the other image when testing it in post with the many blocks as per the GIF. Weirdly enough this one seems to only insert at the 5th+ block (up to the 7th). Which is very weird as the other one definitely doesn't go beyond the 5th for me. Hope I'm being helpful in a way, there seems to be some consistency, just a really weird one. |
You are definitely being helpful and I think I know the real issue thanks to you. I believe from the gif that you're dragging the image to the modal to upload it right? I never tried that before instead I was using buttons. I think what happens is that the "drop" behavior of the modal is triggered but also the "drop" behavior of the editor behind the modal. Thanks for the help. |
Makes perfect sense.., I must've been very consistent in dragging those two different images to different heights then! (which also kinda makes sense as they were at entirely different locations in my finder) 🙄 |
It should be fixed with #5432. Can you confirm? |
Didn't seem to work initially, but after running |
Just to confirm, it's working for me too :) |
Issue Overview
When you upload a featured image, it puts it into the post CONTENT if you happen to have your cursor in a text block.
Steps to Reproduce (for bugs)
Note: This DOES NOT happen if you have your cursor in the title block or (magically) in no block at all.
This MAY be related to why #3392 happens
Expected Behavior
The featured image uploader should not insert the image into post content.
Current Behavior
The featured image gets inserted and ends up in the content
The text was updated successfully, but these errors were encountered: