Skip to content

Commit 17d87eb

Browse files
author
Dennis Suitters
authored
Merge pull request #60 from DiemenDesign/master
Add codevoewKeepButton option to documents.
2 parents e859b27 + 1b89c56 commit 17d87eb

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)