We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66bd0ad commit 8b63f28Copy full SHA for 8b63f28
src/components/fields/TextEditor.js
@@ -32,7 +32,7 @@ export class UnconnectedTextEditor extends Component {
32
if (index) {
33
const adjustedIndex = parseInt(index[3], 10) - 1;
34
if (!isNaN(adjustedIndex)) {
35
- return `%{meta[${adjustedIndex}]}`;
+ return `%{meta[${adjustedIndex < 0 ? 0 : adjustedIndex}]}`;
36
}
37
38
return match;
0 commit comments