remove markdown editor (it traps tabs :'(
This commit is contained in:
parent
0488e14e5e
commit
5ac02f26f1
2 changed files with 2 additions and 26 deletions
|
@ -1,6 +1,6 @@
|
||||||
/* global window ace */
|
/* 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');
|
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) => {
|
$editors.each((i, el) => {
|
||||||
const editorId = `markdown-editor-${i}`;
|
const editorId = `markdown-editor-${i}`;
|
||||||
|
@ -30,3 +30,4 @@ const loadEditors = () => {
|
||||||
$(() => {
|
$(() => {
|
||||||
loadEditors();
|
loadEditors();
|
||||||
});
|
});
|
||||||
|
*/
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue