X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/21cd91531dd9c6e88d00da03f6b2f3ad88fb0da0..b33289a3a89915e0418ffe66b34e540aa3ab75ba:/src/editor/modules/data/data.js?ds=sidebyside diff --git a/src/editor/modules/data/data.js b/src/editor/modules/data/data.js index e90a1b6..006bf0f 100644 --- a/src/editor/modules/data/data.js +++ b/src/editor/modules/data/data.js @@ -18,6 +18,11 @@ return function(sandbox) { var wlxmlDocument = wlxml.WLXMLDocumentFromXML(sandbox.getBootstrappedData().document); wlxmlDocument.registerExtension(listExtension); + sandbox.getPlugins().forEach(function(plugin) { + if(plugin.documentExtension) { + wlxmlDocument.registerExtension(plugin.documentExtension); + } + }); function readCookie(name) {