Skip to content

Commit 321d662

Browse files
author
Steve Kwak
committed
panel index page tabs fixed
1 parent d60600f commit 321d662

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/ui/panels/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,13 @@ Note: you can either reuse your panel's UI nodes, or destroy and recreate the pa
208208

209209
As you can see in the example above, every time the user's `selection` changes, your (optional) lifecycle method `update` will trigger. You will have access to both `selection` and `root` as parameters in the function. This means that your panel can display dynamic content based on what user has selected in the document.
210210

211-
{% tabs sample-selection="Sample", html-selection="HTML", js-selection="JS" %}
211+
{% tabs sampleselection="Sample", htmlselection="HTML", jsselection="JS" %}
212212

213-
{% content "sample-selection" %}
213+
{% content "sampleselection" %}
214214

215215
![Error message](./assets/error.png)
216216

217-
{% content "htmlhtml-selection" %}
217+
{% content "htmlselection" %}
218218

219219
```html
220220
<style>
@@ -296,7 +296,7 @@ As you can see in the example above, every time the user's `selection` changes,
296296
</form>
297297
```
298298

299-
{% content "js-selection" %}
299+
{% content "jsselection" %}
300300

301301
```js
302302
let panel;

0 commit comments

Comments
 (0)