Skip to content

Commit

Permalink
使用太记桌面版同步
Browse files Browse the repository at this point in the history
  • Loading branch information
dongrentianyu committed Oct 28, 2024
1 parent 9e868cf commit 22b0005
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
6 changes: 3 additions & 3 deletions tiddlers/$__plugins_oeyoews_tiddlywiki-codemirror-6.json

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions tiddlers/Change-log.tid
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
created: 20241027180325949
creator: 马不前
modified: 20241027184227709
modified: 20241027192905333
modifier: 马不前
tags:
title: Change-log

2024-10-28

修改了[[$:/core/ui/PageTemplate]],修改方式如[[论坛链接|https://talk.tiddlywiki.org/t/is-there-a-way-to-implement-tm-close-tiddler-globally/3110/14]]中使用的一样,目的是确保每次打开都保持只有一个条目,这样就可以确保顶部栏的更新。
修改了[[$:/core/ui/PageTemplate]],修改方式如[[论坛链接|https://talk.tiddlywiki.org/t/is-there-a-way-to-implement-tm-close-tiddler-globally/3110/14]]中使用的一样,目的是确保每次打开都保持只有一个条目,这样就可以确保顶部栏的更新。但修改了里面的不足,换言之,即把里面的代码提前了。不然会导致故事河页面无法展示。

实际使用的代码,部分

```
<div class=<<containerClasses>>>

<$messagecatcher $tm-navigate=<<navigate-actions>> >

<$navigator story="$:/StoryList" history="$:/HistoryList" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>
```

要确保[[lock-button]]的值为`show`

Expand Down

0 comments on commit 22b0005

Please sign in to comment.