A full-featured, open-source content management framework built with Node.js that empowers organizations by combining in-context editing and headless architecture in a full-stack JS environment.
Widget players are now properly invoked when they arrive later in the page load process.
It's possible now to target the HMR build when registering via template.append and template.prepend. Use when: 'hmr:public' or when: 'hmr:apos' that will be evaluated against the current asset options.hmr configuration.
What are the specific steps to test this change?
Players should always run during the initial page load.
should inject the component only when HMR is on and the asset module option hmr is set to public. The generic when: 'hmr' still works as expected.
What kind of change does this PR introduce?
(Check at least one)
[x] Bug fix
[ ] New feature
[ ] Refactor
[ ] Documentation
[ ] Build-related changes
[ ] Other
Make sure the PR fulfills these requirements:
[x] It includes a) the existing issue ID being resolved, b) a convincing reason for adding this feature, or c) a clear description of the bug it resolves
[x] The changelog is updated
[ ] Related documentation has been updated
[ ] Related tests have been updated
If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.
Summary
template.append
andtemplate.prepend
. Usewhen: 'hmr:public'
orwhen: 'hmr:apos'
that will be evaluated against the current assetoptions.hmr
configuration.What are the specific steps to test this change?
Players should always run during the initial page load.
The following injection:
should inject the component only when HMR is on and the asset module option
hmr
is set topublic
. The genericwhen: 'hmr'
still works as expected.What kind of change does this PR introduce?
(Check at least one)
Make sure the PR fulfills these requirements:
If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.
Other information: