$(document).ready(function() {
  $('#popupalert').summernote({
    height: 300,
    placeholder: 'Write your popup message here...',
    toolbar: [
      ['style', ['style']],
      ['font', ['bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'clear']],
      ['fontname', ['fontname']],
      ['fontsize', ['fontsize']],
      ['color', ['color']],   // ✅ Color + More Colors picker
      ['para', ['ul', 'ol', 'paragraph']],
      ['height', ['height']],
      ['insert', ['link', 'picture', 'video', 'table', 'hr']],
      ['view', ['fullscreen', 'codeview', 'help']]
    ],
    styleTags: ['p','blockquote','pre','h1','h2','h3','h4','h5','h6'],
    fontNames: ['Arial','Courier New','Times New Roman','Verdana','Poppins','Roboto','Tahoma'],
    fontSizes: ['8','10','12','14','16','18','24','36','48','64']
  });
});