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';
|
'use strict';
|
||||||
|
|
||||||
|
const store = require("../../pkg/store");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
id: '87e077cc-5402-451c-ac70-27cc4ae65546',
|
id: '87e077cc-5402-451c-ac70-27cc4ae65546',
|
||||||
tags: ['extension', 'panel'],
|
tags: ['extension', 'panel'],
|
||||||
@ -14,10 +16,19 @@ module.exports = {
|
|||||||
desc: 'table of contents.',
|
desc: 'table of contents.',
|
||||||
version: '1.0.0',
|
version: '1.0.0',
|
||||||
author: 'CloudHill',
|
author: 'CloudHill',
|
||||||
|
options: [
|
||||||
|
{
|
||||||
|
key: 'fullHeight',
|
||||||
|
label: 'full height',
|
||||||
|
type: 'toggle',
|
||||||
|
value: false
|
||||||
|
}
|
||||||
|
],
|
||||||
panel: {
|
panel: {
|
||||||
html: "panel.html",
|
html: "panel.html",
|
||||||
name: "Outline",
|
name: "Outline",
|
||||||
icon: "icon.svg",
|
icon: "icon.svg",
|
||||||
js: "panel.js",
|
js: "panel.js",
|
||||||
|
fullHeight: store('87e077cc-5402-451c-ac70-27cc4ae65546').fullHeight
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -1,2 +1 @@
|
|||||||
<div class="outliner">
|
<div class="outliner"></div>
|
||||||
</div>
|
|
Loading…
Reference in New Issue
Block a user