outliner: add full height option

This commit is contained in:
CloudHill 2020-11-26 18:39:53 +07:00
parent 2d484526b4
commit 71a0ab544c
2 changed files with 12 additions and 2 deletions

View File

@ -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
}
};

View File

@ -1,2 +1 @@
<div class="outliner">
</div>
<div class="outliner"></div>