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