trix
trix copied to clipboard
Fixed mistake with readme section for Loading and Saving Editor State.
The readme section for explaining how to load saved editor state had an incorrect method signature which caused it to throw an error when loading state as per the readme instructions.
I've updated the readme section to include the correct method signature so that it will now work if people implement what's in the readme.
See here for others having the same issue: https://stackoverflow.com/questions/63090235/basecamp-trix-editor-loading-stored-content-from-json