Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

disabling buttons in editor

  • jimmi4u
  • jimmi4u's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 11 months ago - 1 year 11 months ago #240126 by jimmi4u
disabling buttons in editor was created by jimmi4u
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.6.3
Own server or LimeSurvey hosting:own
Survey theme/template: vanilla
==================
Hi,
we want to disable the video buttons in the ckeditors toolbar globally and inserted a line in  the config.js (assets/packages/ckeditor) with a.removeButtons = "Html5video,VideoDetector"; but without luck. Is there a way to disable video buttons?
Thanks a lot,
jim

 
Last edit: 1 year 11 months ago by jimmi4u.

Please Log in to join the conversation.

  • jimmi4u
  • jimmi4u's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 11 months ago - 1 year 11 months ago #240135 by jimmi4u
Replied by jimmi4u on topic disabling buttons in editor
we need to remove tabs too from the popup windows. Is there a way on doing this? Thanks!
Last edit: 1 year 11 months ago by jimmi4u.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago #240151 by tpartner
Replied by tpartner on topic disabling buttons in editor

we want to disable the video buttons in the ckeditors toolbar globally

You can hide it with CSS in a custom admin them rather than editing core files which will be overwritten on updates.

Create a custom admin theme - www.limesurvey.org/manual/Custom_Admin_T...y_Version_3_or_newer

Place this in the custom.css file of that theme:
Code:
a.cke_button__image {
  display: none !important;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago #240152 by tpartner
Replied by tpartner on topic disabling buttons in editor

we need to remove tabs too from the popup windows.

Open a new thread for that and provide screenshots (we have no clue what you are referring to.).

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose