You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.
It's a pretty cool way to ruin someone's plone installation!
go to @@filter-controlpanel and add two blank lines to "Custom Attributes" and watch mosaic and tinyMCE break.
specifically for the mosaic editor, you get Failed while initializing 'layout' pattern. TypeError: i[2] is undefined in your javascript console.
The effect is deep inside TinyMCE javascript where there aren't any matches to a regexp, yet the javascript still tries to access and use 'matches[2]' and gets an Type Error: undefined. The javascript should be fixed, it's where the edge case should be handled, but it's easier just to fix it in Plone I would imagine.
Simply filtering out empty strings should fix this simple issue.
The text was updated successfully, but these errors were encountered:
It's a pretty cool way to ruin someone's plone installation!
go to @@filter-controlpanel and add two blank lines to "Custom Attributes" and watch mosaic and tinyMCE break.
specifically for the mosaic editor, you get
Failed while initializing 'layout' pattern. TypeError: i[2] is undefined
in your javascript console.The effect is deep inside TinyMCE javascript where there aren't any matches to a regexp, yet the javascript still tries to access and use 'matches[2]' and gets an Type Error: undefined. The javascript should be fixed, it's where the edge case should be handled, but it's easier just to fix it in Plone I would imagine.
Simply filtering out empty strings should fix this simple issue.
The text was updated successfully, but these errors were encountered: