archesproject / arches

Arches is a web platform for creating, managing, & visualizing geospatial data. Arches was inspired by the needs of the Cultural Heritage community, particularly the widespread need of organizations to build & manage cultural heritage inventories
GNU Affero General Public License v3.0
217 stars 144 forks source link

Workflows - spell checker freezes page #8219

Closed rlwilliamss closed 2 years ago

rlwilliamss commented 2 years ago

Describe the issue - When using the spell checker on text boxes e.g., Proposal Description, the pages freezes and you cannot cancel or exit the spell checker. Reloading the page fixes issue.

Steps to reproduce

1) Open a Consultation workflow

2) On the Application Proposal step, enter some text and open the spell checker:

image

chrisdolby-HE commented 2 years ago

From further research, this is a core Arches bug, and here's what has happened.

The spell check plugin that we appear to be using (Spell Check As You Type) stopped supporting its ad-supported popup service, and now you need to use one of the paid-for APIs that the plugin provides, or alter the settings on the editor to use the native browser spellcheck. (Details at this link: https://ckeditor.com/docs/ckeditor4/latest/features/spellcheck.html#spell-check-as-you-type-scayt)

Having looked into this further, and current browser spellcheck support, it's quite likely we could switch the setting to the native spellcheck, as all current browsers support the functionality: https://caniuse.com/spellcheck-attribute

Additionally, and it may be relevant, the company providing the APIs is based in Kharkiv, Ukraine, so may not be able to operate.

I'll raise this on the arches repo.

chiatt commented 2 years ago

Duplicate of #8210