tiddly-gittly / slate-write

A WYSIWYG editor for TiddlyWiki. (WIP)

Home Page:https://tiddly-gittly.github.io/slate-write/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用级联可能会导致无法正常使用所见即所得

dongrentianyu opened this issue · comments

<$transclude tiddler=<<currentTiddler>> mode="block"/>

<div style="column-count:3;">
<$list filter='[<currentTiddler>fields:exclude[text title created modified tags creator modifier type revision bag url douban-url imgurl wysiwyg]]' variable=fld emptyMessage='<tr><td>no fields</td></tr>'>

<$list filter="[subfilter<fld>]" variable=fieldname>
<$list filter="[all[current]get<fieldname>]" variable=field-value>

<<fieldname>> -> <<field-value>>

</$list>
</$list>
</$list>
</div>

我自己搞了一个级联,是为了呈现正文和一些字段。

image

类似图片中的效果。但无法使用所见即所得进行编辑。感觉也可能是 <$transclude tiddler=<<currentTiddler>> mode="block"/>影响了。

我等下测试一下看看情况。

测试了跟<$transclude tiddler=<<currentTiddler>> mode="block"/>没啥关系。可能还是级联导致的。

可能是级联优先级高于所见即所得的级联?你可以检查一下这个插件的级联

没注意到所见即所得还有级联。把我设置的级联调整在插件之后,就能正常使用了。