Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

🎨 Improved code injection loading behaviour on slow connections #935

Merged

Conversation

kevinansfield
Copy link
Collaborator

closes TryGhost/Ghost#9249

  • in {{gh-cm-editor}} display a standard textarea in place of the CodeMirror editor whilst CodeMirror assets are loading in the background, textarea will be upgraded to a CodeMirror editor when loading finishes
  • update styles so that the switch from plain textarea to CodeMirror is not too jarring

code-injection-loading

closes TryGhost/Ghost#9249
- in `{{gh-cm-editor}}` display a standard textarea in place of the CodeMirror editor whilst CodeMirror assets are loading in the background, textarea will be upgraded to a CodeMirror editor when loading finishes
- update styles so that the switch from plain textarea to CodeMirror is not too jarring
@kevinansfield kevinansfield merged commit 3139b23 into TryGhost:master Jan 2, 2018
@kevinansfield kevinansfield deleted the fix-codeinjection-loading branch January 2, 2018 18:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Post code injection loading state broken
1 participant