The Mercury Editor Context Service does not dependably detect if the current response is in the Mercury Editor preview context

Created on 4 February 2025, 2 months ago

MercuryEditorContextService::isPreview() does not dependably return a correct result. For an example, see πŸ› New paragraphs don't show in newly added accordion sections Active .

Consider adding a query or POST parameter for the current mercury editor entity ID with all AJAX requests which can be read by MercuryEditorContextService::isPreview() to determine if the current request is in the Mercury Editor preview context.

πŸ› Bug report
Status

Needs work

Version

2.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States justin2pin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024