Add context for page Add context param for dcLegacyEditor to have same function prototype Addresses #1992