Problem/Motivation

Currently elf is using FilterInterface::TYPE_MARKUP_LANGUAGE which is not supported in Ckeditor 5 (or other text editors), #3273312.

Steps to reproduce

Install and enable the elf filter on a text format.
Change editor to Ckeditor 5.
Enabling fails.

Proposed resolution

Change TYPE_MARKUP_LANGUAGE to a better, corresponding alternative and of the available options TYPE_TRANSFORM_IRREVERSIBLE seems to be a good candidate.

CommentFileSizeAuthor
#5 elf-support-ck-5-3311062-5.patch665 bytesbriantbailey

Issue fork elf-3311062

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

miikamakarainen created an issue. See original summary.

kksandr made their first commit to this issue’s fork.

kksandr’s picture

Status: Active » Needs review
briantbailey’s picture

StatusFileSize
new665 bytes

I created a patch which includes this change and can be applied with composer to version 8.x-1.6. The change allowed me to convert my text format to ckeditor 5. I'm including it here in case anyone needs it while we wait for this to be merged into a new release.

kksandr’s picture

@briantbailey you can always use any MR as a patch by adding .patch at the end of the link

For example https://git.drupalcode.org/project/elf/-/merge_requests/8 -> https://git.drupalcode.org/project/elf/-/merge_requests/8.patch

i-trokhanenko’s picture

Status: Needs review » Reviewed & tested by the community

i-trokhanenko’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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