Magenerds / PageDesigner

92 stars 41 forks source link

Performance problem with large content #12

Closed MathieuJJ closed 5 years ago

MathieuJJ commented 7 years ago

Hi, When you add large html content, the browser freeze a few seconds (until 30 seconds on firefox). The problem is in the tinymce init function. To solve this issue, I removed content on the textarea tag before to call the tinymce init method. In page_designer.js, I added the line "jQuery('.textarea').val('');" on line 69 juste before init calling. Mathieu

sydekumf commented 7 years ago

Hey thanks for reporting :-) Can you do a pull request for this? :-)

MathieuJJ commented 7 years ago

I tried but I have an error: Authentication failed. You may not have permission to access the repository. Open options and verify that you're signed in with an account that has permission to access this repository.

sydekumf commented 7 years ago

You have to fork it first in your private repository, commit the changes there and then open up a pull request :-)

s00071609 commented 7 years ago

Has this been resolved or is this problem still there?>