WYSISWY editor inside form for taking notes


Topic: WYSISWY editor inside form for taking notes

davesmacer pro premium priority asked a year ago

Hi,

I want to use a wysiwyg editor as a form-control to take notes from the user. It works fine, however, whenever I put the inside a form, it is messing up the link add input format like this: enter image description here

If I put the editor outside my form it works correctly: enter image description here

Examining the htmls, when it works fine, the "link add popup" has a form (), and it is not being added when the control is inside my form, so that's what's messing it up (best guess).

Any insight or help with this would be greatly appreciated, it works fine, but the format looks a bit messy.

Regards, David Solano


Grzegorz Bujański staff answered a year ago

we are sorry for that, we will fix it as soon as possible. At the moment, the only workaround to this problem is to add styles that will set the dropdown spacing.

<form>
  <div id="my-wysiwyg" class="wysiwyg" data-mdb-wysiwyg="wysiwyg">

  </div>
</form>

#my-wysiwyg #links-section .dropdown-menu {
  padding: 1rem 1.5rem 1rem 1.5rem
}

davesmacer pro premium priority answered a year ago

ty, let me know if I can be of any help


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.4.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No
Tags