Fixing page and snippets database registration for importing markdeep format pages.
This commit is contained in:
parent
d35eedd172
commit
d3efdf7238
@ -23,6 +23,8 @@ LeDatabase >> addPageFromMarkdeep: markdeepDocTree [
|
||||
createEmail: (remoteMetadata at: 'creator');
|
||||
editEmail: (remoteMetadata at: 'modifier').
|
||||
snippets do: [ :snippet | page addSnippet: snippet ].
|
||||
page children collect: [ :snippet | snippet database: self. self registerSnippet: snippet ].
|
||||
self addPage: page.
|
||||
^ page
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user