Does not work with ckeditor 5

Created on 18 November 2023, 7 months ago
Updated 20 January 2024, 5 months ago

Problem/Motivation

When using ckeditor5 the new lines in the value of the textfield are removed and just one long string of html is returned

For example: <p>line on</p><p>https://some-oembed-url</p><p>line three</p>
all as one line of text.

This causes the regex in this module to fail and the urls are not picked up.

Steps to reproduce

  • Use ckeditor5 with soembed on the input filter
  • Add a url that should have an oembed on a new line, and save the node
  • the url is not embedded.

Proposed resolution

update the regex to account for this.

I will provide a patch

πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States loze

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024