@innovastudio/contentbuilder 1.4.91 → 1.4.92
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -78138,13 +78138,13 @@ class Dictation {
|
|
78138
78138
|
inpCommand.setAttribute('placeholder', '');
|
78139
78139
|
} else {
|
78140
78140
|
if (val === 'general') {
|
78141
|
-
inpCommand.setAttribute('placeholder', this.builder.commandPlaceholders.general);
|
78141
|
+
inpCommand.setAttribute('placeholder', this.builder.commandPlaceholders.general || '');
|
78142
78142
|
} else if (val === 'block') {
|
78143
|
-
inpCommand.setAttribute('placeholder', this.builder.commandPlaceholders.edit_block);
|
78143
|
+
inpCommand.setAttribute('placeholder', this.builder.commandPlaceholders.edit_block || '');
|
78144
78144
|
} else if (val === 'others') {
|
78145
|
-
inpCommand.setAttribute('placeholder', this.builder.commandPlaceholders.ask_questions);
|
78145
|
+
inpCommand.setAttribute('placeholder', this.builder.commandPlaceholders.ask_questions || '');
|
78146
78146
|
} else if (val === 'image') {
|
78147
|
-
inpCommand.setAttribute('placeholder', this.builder.commandPlaceholders.generate_image);
|
78147
|
+
inpCommand.setAttribute('placeholder', this.builder.commandPlaceholders.generate_image || '');
|
78148
78148
|
}
|
78149
78149
|
}
|
78150
78150
|
|
@@ -78282,7 +78282,11 @@ class Dictation {
|
|
78282
78282
|
this.builder.hidePlaceholder = true;
|
78283
78283
|
inpCommand.setAttribute('placeholder', '');
|
78284
78284
|
} else {
|
78285
|
-
|
78285
|
+
if (!this.builder.commandPlaceholders) {
|
78286
|
+
this.builder.commandPlaceholders = {};
|
78287
|
+
this.builder.commandPlaceholders.general = '';
|
78288
|
+
}
|
78289
|
+
inpCommand.setAttribute('placeholder', this.builder.commandPlaceholders.general || '');
|
78286
78290
|
}
|
78287
78291
|
}
|
78288
78292
|
openDictation() {
|
@@ -79370,7 +79374,6 @@ class ContentBuilder {
|
|
79370
79374
|
onlineDemo: false,
|
79371
79375
|
autoSendDelay: 4000,
|
79372
79376
|
autoEditBlock: false,
|
79373
|
-
commandPlaceholderText: '',
|
79374
79377
|
enableShortCommands: true,
|
79375
79378
|
speechRecognitionLang: 'en-US',
|
79376
79379
|
assistantMode: 'general',
|