mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-19 19:19:03 +00:00
outliner: add full height option
This commit is contained in:
parent
2d484526b4
commit
71a0ab544c
@ -7,6 +7,8 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
const store = require("../../pkg/store");
|
||||
|
||||
module.exports = {
|
||||
id: '87e077cc-5402-451c-ac70-27cc4ae65546',
|
||||
tags: ['extension', 'panel'],
|
||||
@ -14,10 +16,19 @@ module.exports = {
|
||||
desc: 'table of contents.',
|
||||
version: '1.0.0',
|
||||
author: 'CloudHill',
|
||||
options: [
|
||||
{
|
||||
key: 'fullHeight',
|
||||
label: 'full height',
|
||||
type: 'toggle',
|
||||
value: false
|
||||
}
|
||||
],
|
||||
panel: {
|
||||
html: "panel.html",
|
||||
name: "Outline",
|
||||
icon: "icon.svg",
|
||||
js: "panel.js",
|
||||
fullHeight: store('87e077cc-5402-451c-ac70-27cc4ae65546').fullHeight
|
||||
}
|
||||
};
|
||||
|
@ -1,2 +1 @@
|
||||
<div class="outliner">
|
||||
</div>
|
||||
<div class="outliner"></div>
|
Loading…
Reference in New Issue
Block a user