cqroot / joplin-outline

A markdown outline (TOC) sidebar plugin for Joplin.
MIT License
215 stars 16 forks source link

Panel width not ajustable when switching on this plugin #61

Open kai452 opened 2 years ago

kai452 commented 2 years ago

Hi, very, very usefull - many thanks.

One suggestion: When activating outline, the width is always about 50% of the active panel. Everytime I have to adjust it to much smaller size.

Would be nice to have a setting that will do this. A hint, how to do it in css would also be helpful for the moment.

Many thanks in advance, Kai

cqroot commented 2 years ago

The plugin can only control the style inside the panel. It cannot resize the panel.

So far I haven't found a way to resize the panel.

hyansuper commented 2 years ago

hope this could be of help https://lightzhan.xyz/index.php/2020/11/22/joplin-toc-customizing/

demybugs commented 1 year ago

I just found a solution. If you're using Joplin Portable, find the D:\...\JoplinPortable\JoplinProfile\settings.json, then add "width": 220, to the code:

{
    "key": "plugin-view-outline-outline.panel",
    "context": {
        "pluginId": "outline"
    },
    "width": 220,
    "visible": true
}