Improving tiddlers importation and viewing.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-01-18 19:56:36 -05:00
parent 9d5282275b
commit 883cf7bf91
1 changed files with 9 additions and 1 deletions

View File

@ -163,7 +163,7 @@ Tiddler >> fromDictionary: aDictionary [
title: (aDictionary at: 'title');
text: (aDictionary at: 'text' ifAbsentPut: [ nil ]);
tags: (aDictionary at: 'tags' ifAbsentPut: [ nil ]);
created: (aDictionary at: 'created' ifAbsentPut: [ nil ]);
created: (aDictionary at: 'created' ifAbsentPut: [ self class nowLocal ]);
creator: (aDictionary at: 'creator' ifAbsentPut: [ nil ]);
modified: (aDictionary at: 'modified' ifAbsentPut: [ nil ]);
modifier: (aDictionary at: 'modifier' ifAbsentPut: [ nil ]);
@ -197,6 +197,14 @@ Tiddler >> fromMarkdownParsedItems: aCollection [
]
]
{ #category : #accessing }
Tiddler >> gtTextFor: aView [
<gtView>
^ aView textEditor
title: 'Text';
text: [ text ]
]
{ #category : #accessing }
Tiddler >> importFedWikiPage: pageViewUrlString [
| pageTitle pageViewUrl pageData |