When you have "Convert URLs to URL embeds" enabled on a Text Format and enter a url (eg. a tweet URL) into your node text field with the selected Text Format, what happens on save:

What's expected:

An embedded URL (eg. a Tweet).

What happens:

URL is hidden from view and inspecting html you can see that the URL has been converted to: <drupal-url data-embed-url="THE_URL_YOU_ENTERED"></drupal-url>

The same url works when using the "Embed URL" CKEditor button on the same text field on the node.

Comments

krisrobinson created an issue. See original summary.

krisrobinson’s picture

Title: Convert URLs to Embedded URLs filter in text format creates empty link/paragraph » Convert URLs to URL Embeds filter in text format creates empty link/paragraph
krisrobinson’s picture

Issue summary: View changes
krisrobinson’s picture

Issue summary: View changes
krisrobinson’s picture

All this means is that the order of the processes that take place on the Text Format need to be re-arranged so that:

Convert URLs to URL embeds

is above:

Display embedded URLs

And it works for any link that's embeddable. However, links that are not embeddable, disappear.

krisrobinson’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.