Skip to content

Commit 1b89c56

Browse files
author
Diemen Design
committed
Add codeviewKeepButton to plugin document.
1 parent 6848d18 commit 1b89c56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

03-plugins.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ The vars below are not all needed, what you need depends on what your trying acc
188188

189189
// tooltip for button
190190
tooltip: lang.examplePlugin.tooltip,
191+
192+
// Stop button from being disabled when in CodeView
193+
codeviewKeepButton: true,
194+
191195
click:function (e) {
192196
context.invoke('examplePlugin.show');
193197
}

0 commit comments

Comments
 (0)