Code Monkey home page Code Monkey logo

Comments (9)

dongrentianyu avatar dongrentianyu commented on May 30, 2024

因为我主要是觉得正常的普通条目,不需要使用这种编辑模板。所以理论上应该不需要给其他条目加上模板。不然又会有人问,为什么其他字段不能有这样的模板之类的。

from tidme.

dongrentianyu avatar dongrentianyu commented on May 30, 2024

这样修改,好像会取消这个编辑模板,具体的可能是筛选器写错了还是什么。明天再排查一下试试。

我觉得之前的挺好的,不知道能不能保留下,或者让用户进行选择呢?

from tidme.

dongrentianyu avatar dongrentianyu commented on May 30, 2024

没搞出来,不知道为什么。唉,可能我还是会用旧版吧,我感觉旧版更适合我一点。点击添加了?标签,就会自动显示编辑模板。

from tidme.

oflg avatar oflg commented on May 30, 2024

改成加?标签的。

现在墨屉不再是只对加?标签的有效,对所有牌组有效,只是默认牌组是?标签的。

创建一个牌组后,可以定义要复习的条目,比如可以自定义成x标签的。

image

from tidme.

oflg avatar oflg commented on May 30, 2024

~[<currentTiddler>tag[?]

此处的currentTiddler是指字段名称,所以你刚刚改的没有效果。storyTiddler才是条目名称。

from tidme.

dongrentianyu avatar dongrentianyu commented on May 30, 2024
[<storyTiddler>!has:field[caption]tag[?]then[$:/core/ui/EditTemplate/fieldEditor/default]] ~[<currentTiddler>match[caption]then[$:/plugins/tidme/fsrs4tw/ui/EditTemplate/field]]

但我这样写还是不行。

我觉得还是保留原来的编辑模板比较好。

image

因为我这种编辑模式下,编辑起来也很好,特别是在需要编写一些多行文本的题目的时候。

另外钓鱼插件是会自动升级成$:/plugins/tidme/fsrs4tw插件还是需要手动安装?因为我在cpl里没有看到 $:/plugins/tidme/fsrs4tw看到这个插件。

from tidme.

dongrentianyu avatar dongrentianyu commented on May 30, 2024
[<storyTiddler>!tag[?]then[$:/core/ui/EditTemplate/fieldEditor/default]] ~[<currentTiddler>match[caption]then[$:/plugins/tidme/fsrs4tw/ui/EditTemplate/field]]

这样写就可以实现了。只对添加了?标签的条目,编辑caption会出现设置的模板,其他的就是默认模板了。

from tidme.

dongrentianyu avatar dongrentianyu commented on May 30, 2024

image

感觉新旧的两个模板都差不多,虽然我可能更适应旧版本的。

from tidme.

oflg avatar oflg commented on May 30, 2024

适应哪个就用哪个本吧,或者自己diy,我应该不会改成原来的了。

from tidme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.