Portlet editing text: save hangs after switching to/from x-web-textile

Although I haven't upgraded (using Plone 5.0.8) this bug looks the same: TinyMCE broken after upgrade to 5.1.2

Is there an alternative way to edit Portlets HTML code?