Commit f070644
committed
Suggestions: Show structural-marker visual treatment in every editor intent
The BlockListBlock filter previously bailed out for any client not in
Suggest intent, so a post author reviewing a suggestion in Edit (the
default) saw the canvas in its post-suggestion state with no visual
cue that the change was still pending — a deletion looked already
deleted, an insertion looked like a normal block, etc.
Structural markers live in `metadata.suggestion` on the live block
and travel through the same sync path as block content, so any
intent already has the data needed to render the dimmed/struck
treatment. Drop the suggest-mode gate for the structural-class
branch, and keep it only for the attribute overlay "bracket" — that
one tracks the suggester's local, in-progress edits in the overlay
context, which no other intent has any way to read or act on.
Refs #77434.1 parent 51781f9 commit f070644
1 file changed
Lines changed: 10 additions & 5 deletions
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
168 | 175 | | |
169 | 176 | | |
170 | 177 | | |
| |||
190 | 197 | | |
191 | 198 | | |
192 | 199 | | |
| 200 | + | |
193 | 201 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 202 | + | |
198 | 203 | | |
199 | 204 | | |
200 | 205 | | |
| |||
203 | 208 | | |
204 | 209 | | |
205 | 210 | | |
206 | | - | |
| 211 | + | |
207 | 212 | | |
208 | 213 | | |
209 | 214 | | |
| |||
0 commit comments