Medium Editor in Modal does not work

Wappler Version : 4.9
Operating System : Windows
Server Model: PHP
Bootstrap Version: 5

How to reproduce

<div class="modal" id="modal1" is="dmx-bs5-modal">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Modal title</h5>
        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      <div class="modal-body">
        <form id="form2">
            <div class="form-group mb-3">
                <label for="textarea2" class="form-label">Your text</label>
                <textarea id="textarea12" class="form-control" is="dmx-medium-editor"></textarea>
            </div>
        </form>
      </div>
    </div>
  </div>

Work Around

Remove the Close button as in

<div class="modal" id="modal1" is="dmx-bs5-modal">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Modal title</h5>
      </div>
      <div class="modal-body">
        <form id="form2">
            <div class="form-group mb-3">
                <label for="textarea2" class="form-label">Your text</label>
                <textarea id="textarea12" class="form-control" is="dmx-medium-editor"></textarea>
            </div>
        </form>
      </div>
    </div>
  </div>
Community Page
Last updated: