diff options
Diffstat (limited to 'src/js/arching-kaos-tools.js')
-rw-r--r-- | src/js/arching-kaos-tools.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/js/arching-kaos-tools.js b/src/js/arching-kaos-tools.js index 2dfaec6..c8ebfb9 100644 --- a/src/js/arching-kaos-tools.js +++ b/src/js/arching-kaos-tools.js @@ -29,6 +29,7 @@ import { akModuleComments } from "./arching-kaos-modules-comments.js"; import { akModuleFiles } from "./arching-kaos-modules-files.js"; import { akModuleMixtapes } from "./arching-kaos-modules-mixtapes.js"; import { akModuleNews } from "./arching-kaos-modules-news.js"; +import { akModuleMarkdown } from "./arching-kaos-modules-markdown.js"; import { storeReference, resolveReferences } from "./arching-kaos-modules-references.js"; import { getSettings } from "./arching-kaos-web-ui-settings.js"; import { debugLog } from "./utils.js"; @@ -390,7 +391,7 @@ function renderGroupOnDataSection(group) { element:'summary', innerText: group_render } ] }; - makeElement(details, divs); + makeElement(details, divs.querySelector('.content')); } else { @@ -449,6 +450,10 @@ function renderZblockAsModule(json, params) { akModuleNews(zblockIPFSHash, zblockObject, blockObject, json); } + else if (action == "markdown/add") + { + akModuleMarkdown(zblockIPFSHash, zblockObject, blockObject, json); + } else if (action == "comments/add") { akModuleComments(zblockIPFSHash,blockObject, json); |