Tweak position of ckeditor
This commit is contained in:
@@ -10,4 +10,8 @@ body {padding: 53px 0 0 0 !important;}
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.cke {
|
||||
margin-top: 40px !important;
|
||||
}
|
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user