Tweak position of ckeditor

This commit is contained in:
2014-07-18 12:55:28 +02:00
parent 65547ca24e
commit 454452a190
2 changed files with 7 additions and 4 deletions

View File

@@ -10,4 +10,8 @@ body {padding: 53px 0 0 0 !important;}
top: 0;
left: 0;
position: absolute;
}
.cke {
margin-top: 40px !important;
}

View File

@@ -110,7 +110,6 @@
<div class="input-group input-group-lg width-full">
<label class="control-label">Biography or Personal Message</label>
{{ form.bio_message(class='form-control', id='editor1', placeholder='Tell us a bit about yourself and why you want to be a BFCT') }}
</div>
<hr/>
@@ -146,9 +145,9 @@
<script src="//cdnjs.cloudflare.com/ajax/libs/ckeditor/4.0.1/ckeditor.js"></script>
<script type="text/javascript">
CKEDITOR.replace( 'editor1', {
removePlugins: 'toolbar, elementspath',
allowedContent: 'p h1 h2 strong em; a[!href];',
});
removePlugins: 'toolbar, elementspath',
allowedContent: 'p h1 h2 strong em; a[!href];',
});
</script>
{% endblock %}