X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/e1d56851ab750cfa9a76574f84dd94da24b2d264..9f6d1535529f8d33732ecaac54bbd56afb536b0f:/src/editor/modules/documentToolbar/documentToolbar.js 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);