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 edf71da commit 1141051Copy full SHA for 1141051
frontend/src/ts/modals/custom-text.ts
@@ -369,7 +369,10 @@ function apply(): void {
369
CustomText.setPipeDelimiter(state.customTextPipeDelimiter);
370
CustomText.setText(text);
371
372
- if (state.customTextLimits.word !== "") {
+ if (state.customTextMode === "simple" && state.customTextPipeDelimiter) {
373
+ CustomText.setLimitMode("section");
374
+ CustomText.setLimitValue(text.length);
375
+ } else if (state.customTextLimits.word !== "") {
376
CustomText.setLimitMode("word");
377
CustomText.setLimitValue(parseInt(state.customTextLimits.word));
378
} else if (state.customTextLimits.time !== "") {
0 commit comments