X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/e1d56851ab750cfa9a76574f84dd94da24b2d264..872eb8cad5640b85c8d9286ef0af0237bf825f00:/src/editor/modules/documentToolbar/documentToolbar.js?ds=sidebyside diff --git a/src/editor/modules/documentToolbar/documentToolbar.js b/src/editor/modules/documentToolbar/documentToolbar.js index b66734f..9ae5c94 100644 --- a/src/editor/modules/documentToolbar/documentToolbar.js +++ b/src/editor/modules/documentToolbar/documentToolbar.js @@ -89,6 +89,7 @@ return function(sandbox) { document.on('operationEnd', function() { setContextParam('document', document); }); + setContextParam('document', document); } setContextParam('fragment', fragment);