decaporg / decaporg/decap-cms

WYSIWYG editor that outputs HTML instead of Markdown

Open
#4,419 4 comments 10 reactions 0 assignees View on GitHub
area: formats area: ui/editor type: feature
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

**Is your feature request related to a problem? Please describe.**

it is common for jekyll (and other static generator) sites to use html as body format instead of markdown.

![markdowhtml](https://user-images.githubusercontent.com/955736/95137564-389a1480-071d-11eb-9d8a-9ade521d85ef.png)

I would like to configure the body widget to use an HTML WYSIWYG editor, instead of a markdown WYSIWYG. Where the content outputs are HTML.

I have this on a couple sites, for many different reasons. I will have a collection that uses HTML instead of Markdown as the content. Mostly when a page needs **more customization** than working in markdown. very similar to the standard Wordpress editor.

**Describe the solution you'd like**

Would like a widget configuration type of `html` that embeds a WYSIWYG editor with html output. I would use this in place of the `markdown` widget

**Describe alternatives you've considered**

```html

CMS.registerWidget('richtext', RichTextControl, RichTextPreview)

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.