Does not work with ckeditor 5

Created on 18 November 2023, 12 months ago
Updated 20 January 2024, 10 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 Los Angeles

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

Comments & Activities

Production build 0.71.5 2024