Skip to content

[BUG] Adds "KOReader" tag even if the field is empty #87

Description

@shuvashish76

I created profile with empty "Custom Note Tags" field but still it adds "KOReader" tag when it sends to Desktop anki.
Edit:

https://github.com/Ajatt-Tools/anki.koplugin/tree/master/profiles#readme
Each note created by the plugin will have the tag 'KOReader', it is possible to add other custom tags
A card with custom tags can be created by pressing and holding the 'Add to Anki' button, which pops up a menu with some extra options.

Ok I get it. Request not to make it hard-code feature.
Suggestion: Make it configurable with predefined values and the user needs to put it there...which will add custom tags. The idea is similar to KOReader's sleep screen message. koreader/koreader#14181

  • %K KOReader or custom text
  • %f file name
  • %A author etc...

Use quotes to indicate the pattern for single Tag is over. e.g. "%K", NEEDS_WORK, "%f - %A"

Use case: My usecase is use custom Tag with Book's "Filename - Authors" by default for all books via our profile feature. I don't prefer holding the 'Add to Anki' button manually for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions