Tweak position of ckeditor
This commit is contained in:
@@ -10,4 +10,8 @@ body {padding: 53px 0 0 0 !important;}
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cke {
|
||||||
|
margin-top: 40px !important;
|
||||||
}
|
}
|
@@ -110,7 +110,6 @@
|
|||||||
<div class="input-group input-group-lg width-full">
|
<div class="input-group input-group-lg width-full">
|
||||||
<label class="control-label">Biography or Personal Message</label>
|
<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') }}
|
{{ form.bio_message(class='form-control', id='editor1', placeholder='Tell us a bit about yourself and why you want to be a BFCT') }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
@@ -146,9 +145,9 @@
|
|||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/ckeditor/4.0.1/ckeditor.js"></script>
|
<script src="//cdnjs.cloudflare.com/ajax/libs/ckeditor/4.0.1/ckeditor.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
CKEDITOR.replace( 'editor1', {
|
CKEDITOR.replace( 'editor1', {
|
||||||
removePlugins: 'toolbar, elementspath',
|
removePlugins: 'toolbar, elementspath',
|
||||||
allowedContent: 'p h1 h2 strong em; a[!href];',
|
allowedContent: 'p h1 h2 strong em; a[!href];',
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user