MacOS – How to globally disable ‘Text Replacement’

icloudmacossystem-prefstext inputtext;

I've been looking for an answer to this question for a while, so I'm guessing this can only be solved with a console command.

What I want to do is disable 'Text Replacement' everywhere on my Mac.
The trick is, I have a library of text replacements that I use on my iPhone (like ill > I'll), and apparently it's synced to my iCloud account. As a result, if I make changes in one place it affects all of my devices everywhere – making the easy solution of "delete all of the text substitutions from your substitution library" is unavailable.

The text replacement I'm referring to specifically is the option you can disable by right-clicking on any text input area, then selecting 'Substitutions < Text Replacement' (see image).

Disabled 'Text Replacement'

I know you can disable this one field at a time by right-clicking fields and unchecking 'Text Replacement', but it is enabled by default for every individual input on every field for every application (including the entire internet and my browser's search/address bar), and it periodically gets re-enabled on some inputs.

I've already disabled 'Correct Spelling Automatically' from my system text options. (see image)

Disabled 'Correct Spelling Automatically'

And still I have to disable 'Text Replacement' on every field or it will try to correct my typing with entries in that dictionary.

I use iCloud tabs, handoff, and a number of Apple's other "Better Together" features (and I don't want to lose the ability to track my devices with 'Find my [device]'), so I don't want to disassociate my iCloud account from my computer or devices, but I'd be really happy if I never had to disable 'Text Replacement' on an input field again.

Any suggestions or ideas would be greatly appreciated!

EDIT:
I've found https://apple.stackexchange.com/a/217387/172938 and https://apple.stackexchange.com/a/121553/172938 , both of which have some console references:

defaults write -g WebAutomaticTextReplacementEnabled -bool true from the first link (for enabling 'Text Replacement' in Safari).

defaults delete -g NSUserDictionaryReplacementItems from the second link (for deleting the User Dictionary as seen in my second image).

Both pertain to my issue tangentially, but each to the opposite effect I'm looking for.

Best Answer

Very late, but

defaults write -g WebAutomaticTextReplacementEnabled -bool false

Will disable text replacement not just in Safari but in all other apps that use that input method (e.g. Evernote).

Reboot is required (at least as of macOS 10.13.6), and the menubar checkmark UI won't visually change within each app. The change also only affects applications, and not Spotlight.