Markdown Easy won't install if Markdown Text Filter already exists

Created on 27 December 2024, 25 days ago

Problem/Motivation

If a text filter "Markdown" is already present the module refuses to install with an error "the markdown text filter already exists". This is happening if you use the "Markdown" module and you would also like to add "Markdown Easy". Even deinstallling "Markdown" module doesn't allow to install "Markdown Easy" as the text filter is still there.
There is no option for completely deleting a text filter (just "disabling") which doesn't solve the problem.

Proposed resolution

If "Markdown" text filter is already present, don't throw error and enable the module.

Workaround

There is a workaround to circumvent this scenario: As stated in issue https://www.drupal.org/project/markdown_easy/issues/3436943 πŸ› Markdown text format not created Closed: works as designed before 1.0.1 the text filter wasn't created upon enabling the module, so you can downgrade to 1.0.0 by running:

composer require 'drupal/markdown_easy:1.0.0'

afterwards enable the module, then upgrade again.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria roromedia Linz

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024