79518959

Date: 2025-03-19 02:05:39
Score: 1
Natty:
Report link

You need to initialize the Quill containers in the fetch method after the PartialView is loaded into the DOM. With jQuery.load, I had been initializing Quill in the PartialView. Google's AI Overview gave me the answer:

fetch('/your-partial-view-url')
      .then(response => response.text())
      .then(html => {
        document.getElementById('your-container').innerHTML = html;
        initializeQuill();
      })
      .catch(error => console.error('Error fetching partial view:', error));
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Momenee