X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/e1d56851ab750cfa9a76574f84dd94da24b2d264..25dbd250996753d1fbd63201fe75a87949c106d6:/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);