Summernote actions not working

======== 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

This would be very useful to be resolved for what I’m working on too.

Seems there was indeed a problem with the actions, only the setValue was working correctly, the others not. Here an update. (2.3 KB)


Thanks Patrick. I’ve just tried it out and it works fine.

Looking at the earlier thread about this, it was mentioned that:

Word formatter / cleaner addon is coming next week

Was this added? If so, how is the feature used? If not, it would be a very useful addition.

It has not been added yet.


Thanks @patrick actions are working now.

Fixed in Wappler 3.3.3