codex-team / codex-team/codex

Broken article with empty content

Open
#626 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
26
Forks
12
PR merge metrics
No merged PRs in 30d

Description

### Short description

I was trying to save article with empty content.

### Expected behaviour

I expected that there will be an error "Fill the required field" or the article will be saved with empty content correctly.

### Actual behaviour

I saw was that there is now an article with `{"blocks":[]}` content. And also it is impossible to delete it via admin panel.

### Steps to reproduce

1. Create new article
2. Fill required title and short description
3. Tick "Hide from list of articles" (optional)
4. Save

https://codex.so/article/341

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.