- Issue created by @ultimike
- Merge request !26Removed obsolete text about "Convert HTML..." filter. → (Merged) created by ultimike
- 🇮🇪Ireland lostcarpark
This all looks solid to me. We might also add 📌 Doublecheck settings being merged Active , which is all code removal, so I don't think needs any documentation or Readme change, but might need a brief note in the release notes, something like:
- Removed merge of saved settings with default when loading form, also removed blank "tips" from schema, and removed use of "Convert line breaks" filter from some tests.
- 🇺🇸United States ultimike Florida, USA
I just added some info about changes to the project page as well.
@lostcarpark - good idea in your comment 8, I'll add that as well. Okay to RTBC then?
thanks,
-mike -
ultimike →
committed 5f164507 on 2.0.x
Issue #3539479 by ultimike, lostcarpark: Draft release notes and doc...
-
ultimike →
committed 5f164507 on 2.0.x
- 🇺🇸United States ultimike Florida, USA
Actually, I'm going to leave this issue open as once the 2.0.0 release is made, I'll need to update the project page with the changes listed above.
-mike
- 🇺🇸United States ultimike Florida, USA
Added info about the breaking change from the hook implementation update!
- 🇺🇸United States ultimike Florida, USA
Added reference to markdown_easy.api.php file.
- 🇧🇪Belgium Dries
To help test RC1, I upgraded to Markdown Easy 2.0-RC1. I'll share my steps here, in case they are helpful for documentation purposes.
Upgrade the module from your current version to 2.0-RC1:
ddev composer require 'drupal/markdown_easy:^2.0@RC'
Run the database updates:
ddev drush updatedb
Enable the new 2.0 settings for filter enforcement and HTML stripping:
ddev drush config:set markdown_easy.settings skip_filter_enforcement 1
When prompted "markdown_easy.settings config does not exist. Do you want to create a new config object?", select "Yes".
Configure HTML input stripping:
ddev drush config:set markdown_easy.settings skip_html_input_stripping 1
Again, select "Yes" when prompted.
Security note: Skipping filter enforcement and HTML input stripping may have security implications. Only enable these settings if you trust your content sources and know what you're doing.
Verified my settings:
ddev drush config:get markdown_easy.settings
You should see:
skip_filter_enforcement: true skip_html_input_stripping: true
Clear cache to clear content caches:
ddev drush cache-rebuild
Next, I updated my existing Markdown text format. I went to
/admin/config/content/formats/
and make the following changes:- I set the Markdown flavor to "Smorgasbord"
- Disabled "Limit allowed HTML tags and correct faulty HTML"
- Disabled "Convert line breaks into HTML (i.e.
and)"
Then saved the text format configuration. So far, everything seems to work fine on my development environment.