apostrophecms / apostrophecms/apostrophe

`edit: false` in an area does not apply to its nested areas

Open
#1,965 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
4.6k
Forks
650
Avg merge
19h 21m
Merged PRs (30d)
23

Description

**To Reproduce**
Steps to reproduce the behavior:
1. Populate an area on a piece that's included on the piece's show page. That area should include additional nested areas (such as in a layout widget)
2. On the show page, make the parent area `edit: false` to disable editing in-context.

**Expected behavior**
The parent and child areas are not editable in-context.

**Describe the bug**
The parent is not editable in-context, but child areas are editable.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue on a show page with a populated area containing nested areas, then trace the in-context editing behavior for the parent and its children. Done means setting edit: false on the parent prevents both the parent and all nested areas from being editable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.