Set focus to field when adding a new custom block

I am using wysiwyg: true to suppress the drawer when adding a new block, which works well, but I have to click into the block to start editing. Is there a way in set the focus to my field ?

This is my custom block plugin index.js:

panel.plugin("re/txt", {
  blocks: {
    txt: {
      computed: {
        textField() {
          return this.field("txt");
      template: `
          class="k-writer k-block-type-text-input"
          @input="update({ txt: $event })"

Looking at heading.vue, for example, I find this

	methods: {
		focus() {