forked from getgrav/grav-plugin-editor-buttons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blueprints.yaml
58 lines (52 loc) · 1.33 KB
/
blueprints.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Editor Buttons
version: 1.1.2
description: Adds additional editor button options
icon: edit
author:
name: Team Grav
email: devs@getgrav.org
url: http://getgrav.org
homepage: https://github.com/getgrav/grav-plugin-editor-buttons
keywords: admin, plugin, editor, buttons
bugs: https://github.com/getgrav/grav-plugin-editor-buttons/issues
license: MIT
dependencies:
- { name: admin, version: '~1.1' }
form:
validation: loose
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
buttons:
type: section
title: PLUGIN_EDITOR_BUTTONS.ENABLE_BUTTONS
underline: true
fields:
insert_table:
type: toggle
label: PLUGIN_EDITOR_BUTTONS.INSERT_TABLE_BUTTON
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
insert_notice:
type: toggle
label: PLUGIN_EDITOR_BUTTONS.INSERT_NOTICES
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool