Improving tiddlers importation and viewing.
This commit is contained in:
parent
9d5282275b
commit
883cf7bf91
@ -163,7 +163,7 @@ Tiddler >> fromDictionary: aDictionary [
|
|||||||
title: (aDictionary at: 'title');
|
title: (aDictionary at: 'title');
|
||||||
text: (aDictionary at: 'text' ifAbsentPut: [ nil ]);
|
text: (aDictionary at: 'text' ifAbsentPut: [ nil ]);
|
||||||
tags: (aDictionary at: 'tags' 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 ]);
|
creator: (aDictionary at: 'creator' ifAbsentPut: [ nil ]);
|
||||||
modified: (aDictionary at: 'modified' ifAbsentPut: [ nil ]);
|
modified: (aDictionary at: 'modified' ifAbsentPut: [ nil ]);
|
||||||
modifier: (aDictionary at: 'modifier' 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 }
|
{ #category : #accessing }
|
||||||
Tiddler >> importFedWikiPage: pageViewUrlString [
|
Tiddler >> importFedWikiPage: pageViewUrlString [
|
||||||
| pageTitle pageViewUrl pageData |
|
| pageTitle pageViewUrl pageData |
|
||||||
|
Loading…
Reference in New Issue
Block a user