grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

Getting "Invalid or unexpected token" error

Open kishoreprocessdesign opened this issue 9 years ago • 3 comments

In https://unpkg.com/grapesjs

Line: 20837 var previousСolor = void 0;

Some nonascii character for previousColor. editor doesn't show the non ascii character.

kishoreprocessdesign avatar Nov 29 '17 03:11 kishoreprocessdesign

That's weird. Here's an alternate of the same version that doesn't have that issue: https://cdnjs.cloudflare.com/ajax/libs/grapesjs/0.12.45/grapes.js

ryandeba avatar Nov 29 '17 04:11 ryandeba

just looking at the source file https://raw.githubusercontent.com/artf/grapesjs/dev/dist/grapes.js where the interesting part comes from https://github.com/artf/grapesjs/blob/dev/src/domain_abstract/ui/InputColor.js#L93 indeed that "C" is not a "real" C 🤔 schermata 2017-11-30 alle 22 41 27

I'll fix it for the next release, thanks for the catch

artf avatar Nov 30 '17 21:11 artf

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Sep 18 '19 05:09 lock[bot]