Opened 5 years ago

Last modified 5 years ago

#11655 confirmed New Feature

editor.config.toolbarLocation='bottom' does not work

Reported by: Fasihi Owned by:
Priority: Normal Milestone:
Component: UI : Toolbar Version: 4.0 Beta
Keywords: Cc:

Description

Due to the implementation with the "floating" toolbar (depending on the scroll position/available space of the page), it is not possible to fix the location of the toolbar. It'd be great to give a preferred location of the toolbar ("put it to the bottom unless there is no space").

Please see my attached plugins/floatingspace/plugin.js with my temporary workaround to get an idea of location of the problem.

Attachments (1)

plugin.js (13.7 KB) - added by Fasihi 5 years ago.
see lines 129ff (editor.config.toolbarLocationFixed)

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by Fasihi

Attachment: plugin.js added

see lines 129ff (editor.config.toolbarLocationFixed)

comment:1 Changed 5 years ago by Fasihi

Component: GeneralUI : Toolbar
Keywords: toolbarLocation added
Version: 4.3.2

comment:2 Changed 5 years ago by Piotrek Koszuliński

Keywords: toolbarLocation removed
Type: BugNew Feature
Version: 4.3.2

comment:3 Changed 5 years ago by Jakub Ś

Status: newconfirmed
Version: 4.0 Beta

Option editor.config.toolbarLocation='bottom' hasn't been working from CKEditor 4.0 beta but this is intended. Inline editor works only with option 'top'.
We have fixed docs to inform users about it and will have this issue fixed once feature is implemented.

@fasihi01 thank you for the code. We will review it when possible. To speed up this review please submit your code as a pull request to https://github.com/ckeditor/ckeditor-dev.

Last edited 5 years ago by Jakub Ś (previous) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy