Skip to content

Unfold block if it contains link to current page #55

@YuriGor

Description

@YuriGor

Hi, I am going to add feature to unfold block if it contains link to current page (useful in case of using in sidebar).
In the script.js I'll iterate over block's inner <a> with jquery and compare src with location.href (considering relative paths).
Does my plan looks doable?
Any advises how to make this feature configurable?
I have never seen dokuwiki before, even as a user, but I am prepared to face with js/php.
Please give me a hint which files to look into for adding new plugin option and how to check this option on client side in script.js.
If I'll succeed, will PR be welcome?

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