feat: page display + renderers reorg
This commit is contained in:
1 parent
4bb522f9d9
commit
db8e598e9a
36 files changed
+241
-52
No files matched your search
@@ -116,7 +116,7 @@ module.exports = class Page extends Model {
|
||||
authorId: opts.authorId,
|
||||
content: opts.content,
|
||||
creatorId: opts.authorId,
|
||||
contentType: _.get(WIKI.data.editors, `${opts.editor}.contentType`, 'text'),
|
||||
contentType: _.get(_.find(WIKI.data.editors, ['key', opts.editor]), `contentType`, 'text'),
|
||||
description: opts.description,
|
||||
editorKey: opts.editor,
|
||||
isPrivate: opts.isPrivate,
|
||||
|
||||
Reference in new issue
Block a user