Damus
Sebastix profile picture
Sebastix
@Sebastix
As I was building cross-posting long-form content (NIP-23) to Nostr from a Drupal CMS, I was not able to find a good WYSIWYG rich text editor which outputs Markdown formatted content. CKEditor version 5 is shipped in the latest versions of Drupal which formats your text to HTML. I found the markdown_output plugin in the very rich ecosystem of CKEditor. A plugin that provides me the solution I was looking for.
It was not easy to get it to use within Drupal, but doing hard things is often more rewarding than doing a lot of easy things.

Last week I released the first beta release of the module called CKEditor5_Markdown_Editor for Drupal. With this module you can enable the Markdown output plugin in the settings of your text formatter.

The result is quite simple as you can see here:


The module: https://www.drupal.org/project/ckeditor5_markdown_editor

@Dries this raises a questionmark how to cross-post your blog content to Nostr as I assume your content if formatted in HTML 🤔

#Drupal #CKEditor5 #Markdown #NIP23
1🤙1
Dries · 99w
Yes, all my content is currently stored as HTML. I assume Nostr requires plain text content?