@innovastudio/contentbuilder 1.4.61 → 1.4.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.4.61",
4
+ "version": "1.4.62",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -77536,6 +77536,7 @@ class Dictation {
77536
77536
  const inpCommand = this.builderStuff.querySelector('.inp-command');
77537
77537
  this.builder.commandText = '';
77538
77538
  inpCommand.value = '';
77539
+ inpCommand.focus();
77539
77540
  });
77540
77541
  const btnSend = builderStuff.querySelector('.cmd-send-command');
77541
77542
  btnSend.addEventListener('click', async () => {
@@ -77681,6 +77682,10 @@ class Dictation {
77681
77682
  const ovl = this.builderStuff.querySelector('.page-command-overlay');
77682
77683
  ovl.style.display = 'none';
77683
77684
  this.builder.isInProgress = false;
77685
+ if (this.checkMic() === false) {
77686
+ // Do not clear inpCommand text
77687
+ return;
77688
+ }
77684
77689
  if (this.builder.autoSendCommand) {
77685
77690
  // Clear
77686
77691
  const inpCommand = this.builderStuff.querySelector('.inp-command');