Merge pull request 'Enter new contexts by default' (#10) from feature/scoped-context into release/v8.2.0

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/core/pulls/10
This commit is contained in:
Oleg Korshul
2024-09-17 14:27:31 +00:00
3 changed files with 18 additions and 4 deletions

View File

@ -497,9 +497,10 @@ namespace NSDoctRenderer
/**
* Returns the current JS context.
* @param enterContext Whether returned context should be entered or not.
* @return The current JS context
*/
CDocBuilderContext GetContext();
CDocBuilderContext GetContext(bool enterContext = true);
public:
/**