How to make the editor toolbar located just above? I use inline editing, and the toolbar is transferred down if to scroll a site before the end of the page.
Asked
Active
Viewed 81 times
1 Answers
1
Using sharedspace can help you. You can find a similar issue, and the solution, here: How to make the inline ckeditor toolbar fixed at the top and not float
The implementation of the plugin would look like this:
<div id="toolbarLocation></div>
<div id="editor" contenteditable="true"></div>
<script>
CKEDITOR.disableAutoInline = true;
CKEDITOR.replace( 'editor', {
sharedSpaces: {
top: 'toolbarLocation'
}
} );
</script>
-
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Brody Oct 27 '15 at 02:47
-
Just added the code of the other answer, thanks for the reply. – dnr1 Oct 27 '15 at 10:30