grapesjs-style-bg icon indicating copy to clipboard operation
grapesjs-style-bg copied to clipboard

Not working on Safari 16.1 __webpack_require__ Invalid regular expression

Open msorokolit opened this issue 2 years ago • 2 comments

Hello ! It's not working on Safari 16.1 (17614.2.9.1.13, 17614)

[Error] SyntaxError: Invalid regular expression: invalid group specifier name webpack_require (index.js:308) (анонімна функція) (index.js:1377) (анонімна функція) (index.js:1380) webpackUniversalModuleDefinition (index.js:17) Глобальний код (index.js:18)

Знімок екрана 2022-12-05 о 19 12 21

msorokolit avatar Dec 05 '22 17:12 msorokolit

I have also encountered this. Specifically the new version of this lib uses a negative lookbehind here: https://github.com/GrapesJS/style-bg/blob/master/src/index.ts#L121

This feature is not supported in Safari (and IE, but who cares about that).

DavidHarvey avatar Mar 14 '23 20:03 DavidHarvey

Will it be fixed? Because it messes up my SPA application when there is a plugin imported

PanWcislo avatar Jun 24 '24 18:06 PanWcislo