Topic: Get contents of the text area and convert to an image?

smachesney free asked 3 years ago


I'm looking to get the contents of the WYSIWYG area and convert it to an image. Using html2canvas doesn't work with your configuration.

Any idea how I can accomplish this?


Marcin Luczak staff answered 3 years ago


You have probably been using html2canvas on the initial WYSIWYG element instead of its output .mdb-wysiwyg-textarea element. Please see my snippet showing how to use html2canvas on our WYSIWYG

I've used here html2canvas cdn:

Regards, Marcin

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.2
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No