WordPress-Editor-iOS icon indicating copy to clipboard operation
WordPress-Editor-iOS copied to clipboard

Shortcodes - deleted if added to html mode

Open meremagee opened this issue 10 years ago • 1 comments

adding supported embeddable url on its own line in HTML mode should render the shortcode upon publish. urls on their own lines currently being deleted upon publish instead.

note: adding full shortcode syntax in html mode works as expected. adding shortcode into visual mode doesn't work because it's wrapped in p (logging separately)

meremagee avatar Feb 24 '15 16:02 meremagee

I'm working with a user in a private email thread that's having some issues with the YouTube embed. When he adds the URL within the body of the text, it turns up as a link rather than the embed. I'm unable to reproduce in the same (latest) version in production. When he tries to embed the link, it gets wrapped in p tags as shown here:

http://d.pr/i/16CnG

However, it seems to be a bit inconsistent. If he publishes a new page with just the link (pasted in the HTML editor), it embeds. However, if he adds more text around the link (before and after), it gets hyperlinked instead. Here are some screenshots from his latest test:

https://cloudup.com/clG25HsE2nY

Similar issue?

jeremeylduvall avatar Apr 09 '15 17:04 jeremeylduvall