remove markdown editor (it traps tabs :'(

This commit is contained in:
Joshua Simmons 2017-08-12 18:38:08 -07:00
parent 0488e14e5e
commit 5ac02f26f1
2 changed files with 2 additions and 26 deletions

View file

@ -1,6 +1,6 @@
/* global window ace */
const loadEditors = () => {
/*const loadEditors = () => {
const $editors = $('.modal-body textarea, #id_body, #id_comment, #id_message, #id_text, #id_abstract, #id_additional_notes, #id_content_override, #id_description, #id_biography');
$editors.each((i, el) => {
const editorId = `markdown-editor-${i}`;
@ -30,3 +30,4 @@ const loadEditors = () => {
$(() => {
loadEditors();
});
*/

View file

@ -1,25 +0,0 @@
form {
#id_body,
#id_comment,
#id_message,
#id_text,
#id_abstract,
#id_additional_notes,
#id_content_override,
#id_description,
#id_biography,
.modal-body textarea {
display: none
}
.ace_editor {
min-height: 200px;
width: 100%;
border: 1px dotted #CCC;
}
.ace_content {
padding: 5px;
}
textarea.ace_text-input {
display: block;
}
}