Opened 4 months ago
Last modified 2 months ago
#64484 new defect (bug)
viewScriptModule is also being loaded in the block editor
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 7.1 | Priority: | normal |
| Severity: | minor | Version: | 6.9 |
| Component: | Editor | Keywords: | has-patch dev-feedback |
| Focuses: | Cc: |
Description
viewScriptModule file defined in the block.json is meant to be loaded only in the frontend when the block is displayed but right now is also being loaded in the block editor.
Additional information : https://github.com/WordPress/gutenberg/issues/72833
Change History (6)
This ticket was mentioned in PR #10693 on WordPress/wordpress-develop by @vrishabhsk.
4 months ago
#1
- Keywords has-patch added
#2
@
4 months ago
- Keywords reporter-feedback added
- Milestone changed from Awaiting Review to 7.0
Is this not also an issue for viewScript?
This ticket was mentioned in Slack in #core by juanmaguitar. View the logs.
2 months ago
#4
@
2 months ago
- Keywords dev-feedback added; reporter-feedback removed
From today's bug scrub
As per @jonsurrell comment on #10693 this needs more exploration by a developer
This really needs some debugging and an explanation. I don't think this change should move ahead until there's an understanding of why these systems behave differently.
I'm removing the reporter-feedback keyboard and adding the dev-feedback keyword.
@jonsurrell and @westonruter, do you think we could clarify this ticket in time for WP 7.0 RC1?
wp_enqueue_script_moduleTrac ticket: https://core.trac.wordpress.org/ticket/64484