Skip to content

Commit 6061890

Browse files
committed
Document keyboard shortcut browser interception (#201)
1 parent 619b138 commit 6061890

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/plugins/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ The mouse ran up the clock.
203203
The clock struck one,
204204
The mouse ran down,
205205
Hickory dickory dock.</textarea></code-input>
206+
<h2>Please Note</h2>
206207
<p><small>When setting the size of <code>code-input</code> elements with this plugin, make sure they are large enough to fit the dialog, at least 500px wide and 170px tall with the default styling. (If you are using the <code>Autogrow</code> plugin, this will be done for you as long as your <code>--code-input_autogrow_max-width</code> and <code>--code-input_autogrow_max-height</code> are large enough.) For technical reasons the dialog cannot overflow the editing area.</small></p>
208+
<p><small>The keyboard shortcuts may be intercepted by the browser and unable to be used by <code>code-input.js</code>, for example in GNOME Web or Konqueror. Thus if you want this plugin to be available to all users, provide separate buttons to trigger the dialogs as shown above.</small></p>
207209
</body>
208210
</html>
209211
```
@@ -252,7 +254,9 @@ The mouse ran up the clock.
252254
The clock struck one,
253255
The mouse ran down,
254256
Hickory dickory dock.</textarea></code-input>
257+
<h2>Please Note</h2>
255258
<p><small>When setting the size of <code>code-input</code> elements with this plugin, make sure they are large enough to fit the dialog, at least 300px wide and 150px tall with the default styling. (If you are using the <code>Autogrow</code> plugin, this will be done for you as long as your <code>--code-input_autogrow_max-width</code> and <code>--code-input_autogrow_max-height</code> are large enough.) For technical reasons the dialog cannot overflow the editing area.</small></p>
259+
<p><small>The keyboard shortcuts may be intercepted by the browser and unable to be used by <code>code-input.js</code>, for example in GNOME Web or Konqueror. Thus if you want this plugin to be available to all users, provide a separate button to trigger the dialog as shown above.</small></p>
256260
</body>
257261
</html>
258262
```

0 commit comments

Comments
 (0)