Move the CKEditor inline toolbar

浪子不回头ぞ 提交于 2019-12-23 09:47:22

问题


I'm using CKEditor 4 inline. Is it possible to change the toolbar location e.g. 50px over the editor div?

Thank you!


回答1:


If you want to keep this "floating toolbar" behaviour, then you can move it around using these settings.

But if you want to keep toolbar in one place, then check this plugin: http://ckeditor.com/addon/sharedspace

There's a sample, but you need to build a CKEditor package with this plugin and then you'll be able to check it.




回答2:


You can simply give margin-top: -50px; to the toolbar element if you want to place it 50px over the editor div.



来源:https://stackoverflow.com/questions/16283597/move-the-ckeditor-inline-toolbar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!