======== TEMPLATE BUG FORM ========
Wappler Version : 3.2.2
Operating System : Windows 10
Expected behavior
Using the various actions available for Summernote should enable text to be added to the Summernote textarea
Actual behavior
The options don’t seem to work.
How to reproduce
Create a Summernote textarea and add buttons linked to these dynamic events:
… eg:
<button id="btn1" class="btn btn-primary" dmx-on:click="text1.setValue('my_text')">Button</button>
<button id="btn2" class="btn btn-primary" dmx-on:click="text1.insertText('my_insert_text')">Button</button>
<button id="btn3" class="btn btn-primary" dmx-on:click="text1.pasteHTML('my_html_text')">Button</button>
Clicking the buttons has no effect. The developer console shows:
TypeError: this.editor.insertText is not a function