Context not working for name

Read the section underneath the part you marked with the red triangle.

// global.keys() returns a list of all properties set in global context.
// This allows them to be displayed in the Context Sidebar within the editor.
// In some circumstances it is not desirable to expose them to the editor. The
// following property can be used to hide any property set in functionGlobalContext
// from being list by global.keys().
// By default, the property is set to false to avoid accidental exposure of
// their values. Setting this to true will cause the keys to be listed.
exportGlobalContextKeys: false,

Change exportGlobalContextKeys to true.

See also the discussion here

1 Like