Fix server edits of resources included in shortcode/hooks

Fixes #13093
This commit is contained in:
Bjørn Erik Pedersen
2024-11-29 12:13:49 +01:00
parent fc3d1cbadb
commit c1dc35dd71
4 changed files with 86 additions and 21 deletions

View File

@@ -172,7 +172,6 @@ type contextKey string
var Context = struct {
DependencyManagerScopedProvider hcontext.ContextDispatcher[identity.DependencyManagerScopedProvider]
GetDependencyManagerInCurrentScope func(context.Context) identity.Manager
SetDependencyManagerInCurrentScope func(context.Context, identity.Manager) context.Context
DependencyScope hcontext.ContextDispatcher[int]
Page hcontext.ContextDispatcher[page]
IsInGoldmark hcontext.ContextDispatcher[bool]