diff options
author | Vincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com> | 2019-10-21 23:52:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-21 23:52:50 +0200 |
commit | 26c93a796eceb3de136695548ab80e5455bd932a (patch) | |
tree | fa1f36802cdae44625a7a87960c5347e127f326d /app/view/templates/edittabs.php | |
parent | ba671a7c0880f8154a7b86d4cb172b0171e84021 (diff) | |
parent | 016dc180d41c28c8fb0883b09a55b69cb060a0c1 (diff) | |
download | wcms-26c93a796eceb3de136695548ab80e5455bd932a.tar.gz wcms-26c93a796eceb3de136695548ab80e5455bd932a.zip |
Merge pull request #13 from n-peugnet/add-code-mirror
Include CodeMirror in edit page
Diffstat (limited to 'app/view/templates/edittabs.php')
-rw-r--r-- | app/view/templates/edittabs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/view/templates/edittabs.php b/app/view/templates/edittabs.php index 0829c48..c890677 100644 --- a/app/view/templates/edittabs.php +++ b/app/view/templates/edittabs.php @@ -13,9 +13,9 @@ foreach ($tablist as $key => $value) { echo '<div class="content">'; if ($key == $opentab) { - echo '<textarea name="' . $key . '" id="' . $key . '" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" autofocus >' . $value . '</textarea>'; + echo '<textarea name="' . $key . '" id="edit' . $key . '" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" autofocus >' . $value . '</textarea>'; } else { - echo '<textarea name="' . $key . '" id="' . $key . '" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">' . $value . '</textarea>'; + echo '<textarea name="' . $key . '" id="edit' . $key . '" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">' . $value . '</textarea>'; } echo '</div>'; echo '</div>'; |