Directus: State of WYSIWYG interface

Created on 16 Mar 2020  路  3Comments  路  Source: directus/directus

Hey there,
I have a question about the WYSIWYG interface, because it's kind of unclear what happened to it in the past, and what could happen to it in the future :) There are closed issues where TipTap has been mentioned, and theoretically it has been introduced in v8 RC1 as well (I'm not sure about this, because we didn't use Directus when v8 came out).
Right now the editor behind this interface is TinyMCE, but we want to replace it in our project (probably with TipTap), however if it would be replaced anyway, we can wait for it, and spare the extra work on our side :)

Could you please clarify the situation? 馃檹

Most helpful comment

Thanks to you both... and here is the authoritative update:

We did have a PR for TipTap, and it was in the Release Candidate. However we did not want to have two WYSIWYG editors in the core suite any longer, and TipTap was not feature-rich enough to be the single/only editor. Since TinyMCE is proven (WordPress) and quite feature-rich, we chose that library.

That said, we would like to have a robust ecosystem of extensions, such as many different WYSIWYG and Markdown editors available for easy installation. However we're still working through the "Directus Marketplace" that would serve these... and the exact right modular way to install extensions on the fly. It's important to get this right so we don't have to implement a big breaking change to interface/extension architecture in the next 6-12 months that would render all those interfaces broken.

Also, I 100% agree that a solid markdown interface would be _really_ nice... especially for technical writing. We do have a Markdown editor, so someone could clean that one up a bit, or look into adding a new/netter one. There are two directions here... WYSIWYG Markdown (what we have now... with a side-by-side view), or the more visual one. Eventually we should have both... ideally one interface that has an option to choose the style.

All this is happening on a small, open-source team... so it's slow going. We're looking into funding options, but in the meantime, if you'd like to help speed things up, come chat with me on our Slack Community and we can discuss you joining our official core contributors (working on the marketplace, interfaces, or anything else). 馃憤

All 3 comments

To chime in, I think what Directus is lacking a bit right now, is support for technical writing. Tech writing potentially involves editing lots of code snippets and math formulas.

The Markdown Interface widget makes it difficult to embed media/images. The WSYWIG Interface widget makes it difficult to work with code snippets.

I know it's probably not directly adaptable, but I think Ghost did strike a good balance with their Koenig editor in this regards.

Are there any recommendations / best practices for setting up to Directus to power tech blogs?

Thanks to you both... and here is the authoritative update:

We did have a PR for TipTap, and it was in the Release Candidate. However we did not want to have two WYSIWYG editors in the core suite any longer, and TipTap was not feature-rich enough to be the single/only editor. Since TinyMCE is proven (WordPress) and quite feature-rich, we chose that library.

That said, we would like to have a robust ecosystem of extensions, such as many different WYSIWYG and Markdown editors available for easy installation. However we're still working through the "Directus Marketplace" that would serve these... and the exact right modular way to install extensions on the fly. It's important to get this right so we don't have to implement a big breaking change to interface/extension architecture in the next 6-12 months that would render all those interfaces broken.

Also, I 100% agree that a solid markdown interface would be _really_ nice... especially for technical writing. We do have a Markdown editor, so someone could clean that one up a bit, or look into adding a new/netter one. There are two directions here... WYSIWYG Markdown (what we have now... with a side-by-side view), or the more visual one. Eventually we should have both... ideally one interface that has an option to choose the style.

All this is happening on a small, open-source team... so it's slow going. We're looking into funding options, but in the meantime, if you'd like to help speed things up, come chat with me on our Slack Community and we can discuss you joining our official core contributors (working on the marketplace, interfaces, or anything else). 馃憤

Hey @benhaynes,
thanks for the clarification, I understand all your concerns :) We will dive into the RC's code and try to integrate a 3rd party solution then.

Was this page helpful?
0 / 5 - 0 ratings