decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.87k stars 3.04k forks source link

Markdown editor - minor issues #56

Closed biilmann closed 7 years ago

biilmann commented 8 years ago

I'm grouping a bunch of minor issues for the text editor here to avoid creating a bunch of small tickets. Feel free to split them up if any of them need more discussion.

okonet commented 8 years ago

Flickering is fixed in #82. I think I'll tackle the rest of these as far as I can.

okonet commented 8 years ago

I feel like

Newline should always start paragraph block. If you're in a H1 and press enter, new block should be normal paragraph text.

is conflicting with

Type something, press shift+enter creates line-break

Why do we even need a soft-break in the editor?

okonet commented 8 years ago

Pressing backspace or delete when a component (like the youtube embed) should delete the component

I agree and this also should handle media removal. Right now if I add an image and then remove the reference in text, it stays in the repository. This might need a separate ticket. Thoughts?

cedricdelpoux commented 8 years ago

Do you plan to add header bar to control our markdown instead of the tooltip ?

The SiteLeaf markdown editor is very great : Siteleaf editor

It enable possibility to switch from markdown to visual feedback and we can add some images and links directly. So the preview panel could be useless #113

What do you think ?

okonet commented 7 years ago

We probably will at some point. We'll also provide a WYSIWYG editor later.

cedricdelpoux commented 7 years ago

Super, thank you very much

cassiozen commented 7 years ago

I'm closing this due to the change of plans regarding editor. Right now we're using a code view editor and will revisit the WYSIWYG editor in near future.

Please feel free to reopen if you want to add to the discussion.