Opened 10 years ago

Last modified 10 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 10 years ago.
see lines 129ff (editor.config.toolbarLocationFixed)

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Fasihi

Attachment: plugin.js added

see lines 129ff (editor.config.toolbarLocationFixed)

comment:1 Changed 10 years ago by Fasihi

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

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

Keywords: toolbarLocation removed
Type: BugNew Feature
Version: 4.3.2

comment:3 Changed 10 years ago by Jakub Ś

Status: newconfirmed
Version: 4.0 Beta

Option editor.config.toolbarLocation='bottom' hasn't been working from CKEditor 4.0 beta.

@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.

Version 1, edited 10 years ago by Jakub Ś (previous) (next) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy