Didn’t have to try.
I downloaded the newest Version (2.7) of Enfold and installed it a new (after I renamed the old enfold theme folder).
According to the enfold options panel, the newest version of enfold was installed (but it was 2.4.5 or so).
I wasn’t sure how to best update and therefor renamed the theme in the style.css and changed the folder name and installed the theme afresh. I had to correct some configuration afterwards but the editor worked again.
you have to past this in your themes functions.php file