This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fixed Code Injection inputs not being clickable
no issue - attempt to fix the "Cannot set property 'modeOption' of undefined" error by telling CM to replace the textarea element rather than appending to the wrapper and having Ember replace the textarea
- Loading branch information
1 parent
f8b03f5
commit 5727dc8
Showing
2 changed files
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
{{!-- display a standard textarea whilst waiting for CodeMirror to load/initialize --}} | ||
{{#if isInitializingCodemirror}} | ||
{{gh-textarea | ||
class="gh-cm-editor-textarea" | ||
value=(readonly _value) | ||
input=(action "updateFromTextarea" value="target.value")}} | ||
{{/if}} | ||
{{gh-textarea | ||
class="gh-cm-editor-textarea" | ||
value=(readonly _value) | ||
input=(action "updateFromTextarea" value="target.value")}} |