sindresorhus / Plash

💦 Make any website your Mac desktop wallpaper
https://sindresorhus.com/plash
MIT License
3.53k stars 130 forks source link

Keyboard text replacement not working #43

Closed Kiyozz closed 4 years ago

Kiyozz commented 4 years ago

Describe the bug

Keyboard text replacement not working in the webview.

To reproduce

  1. Setup a text replacement in MacOS settings (i.e. tt -> tutu)
  2. Setup the url of webview to manifest.app
  3. Create a note
  4. Try to use the replacement -> not working

On Chrome, text replacement works.

Expected behavior

Text replacement works: tt should be tutu in the note

Info

sindresorhus commented 4 years ago

I tried https://www.manifest.app in Safari and I didn't get any text replacement there either. Can you try?

Kiyozz commented 4 years ago

It seems to be a Manifest.app "issue".

the textareas has spellcheck=false that disable MacOS replacement. Chrome ignore it.

Is this possible to inject custom JavaScript so I can change all textarea spellcheck attribute?

sindresorhus commented 4 years ago

Not yet, but it's planned (#27).

However, I would recommend opening an issue on https://github.com/jonathontoon/manifest/issues. I don't see why a note app would disable spell checking...

Kiyozz commented 4 years ago

Thanks! Issue filled!

https://github.com/jonathontoon/manifest/issues/122