Summernote creating duplicate IDs

Wappler Version : 3.4.1
Operating System : Mac OS

Expected behavior

What do you think should happen?

Non-clashing IDs should be produced when more than one Summernote is placed on a page.

Actual behavior

What actually happens?

Having multiple summernote elements on a page causes a clash of IDs on the page:

How to reproduce

  • Detail a step by step guide to reproduce the issue
  • A screenshot or short video indicating the problem
  • A copy of your code would help. Include: JS, HTML.
  • Test your steps on a clean page to see if you still have an issue

Add more than one Summernote element to a page - view the warnings in the console.

I do have most of them within modals on the page (the 'use in modal' option is selected image ), just incase that might be the root of the issue.

1 Like

The modal thing is not the cause of this issue. I have multiple summernotes on the page, and get the same warning.
This naming is actually from Summertnote library I think and not a Wappler bug. But, if Wappler team can fix this using their custom summernote layer js it would be great.

1 Like