getgrav / grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony
https://getgrav.org
MIT License
14.39k stars 1.39k forks source link

Autocorrect, autopunctuation, and autocapitalization not working on iOS Safari #3666

Open josephdpurcell opened 1 year ago

josephdpurcell commented 1 year ago

Description

The autocorrect, autopunctuation, and autocapitalization features do not work on iOS for the content input.

Steps to reproduce

  1. Install Grav
  2. Login
  3. Create a Page
  4. In the content area no characters get autocapitalized (eg after a period)
  5. Notice that entering two spaces does not result in a period followed by a space
  6. Notice that misspelled words do not result in a prompt for the correct spelling

Versions

Grav: 1.7.37.1 Admin: 1.10.37.1 PHP: 8.1.13 iOS Safari version: 15

Recording

https://user-images.githubusercontent.com/778111/209694510-edc9eb04-0573-4baf-941f-9de6905d5380.MOV

josephdpurcell commented 1 year ago

Some context: I am in search of a "good" markdown editing experience, which in my opinion includes these features. I am taking notes on https://github.com/directus/directus/discussions/16762, which includes a link to a spreadsheet that has an evaluation of various editors and CMS's.

I see that user/plugins/admin/themes/grav/package.json references CodeMirror 5, which lacks support for these auto-* features, see https://github.com/codemirror/codemirror5/issues/7009.

CodeMirror6 does not https://github.com/codemirror/dev/issues/1020. I'll note on the roadmap for Grav 2 that an upgrade to CodeMirror6 with support for iOS' auto-* features would be great.