editor.js icon indicating copy to clipboard operation
editor.js copied to clipboard

Any way to disable the add and tune buttons?

Open Slayking opened this issue 5 years ago • 12 comments

Hi, I'm wondering if there's anyway to disable the add and tune buttons.

It's not really necessary for what I am building and they are cluttering the already small text box. I really only want to use the inline tool bar. There's not too many resources for this editor so I thought I'd ask here.

Thanks :D

Slayking avatar Nov 16 '20 05:11 Slayking

@Slayking I am disabling it with CSS. It's not ideal, but it works:

.ce-toolbar {
  display: none !important;
}

ryandunnewold avatar Nov 16 '20 18:11 ryandunnewold

Works for now, not ideal yeah, unfortunate there's no existing config, hope the devs add it in the future. I was initially trying to disable it with js by deleting the element but that didn't work.

Slayking avatar Nov 17 '20 16:11 Slayking

i need it too

milu2003 avatar Mar 23 '21 21:03 milu2003

I second this request @neSpecc would you please take a look at this?

lofcz avatar Nov 28 '21 13:11 lofcz

yes, please consider adding this feature. We sometimes need blocks which should be pinned atop and never touched.

aakay avatar Oct 14 '22 08:10 aakay

Is there still no solution?

CodeLearningSlayer avatar Apr 17 '23 16:04 CodeLearningSlayer

Any solution?

brian7989 avatar Jul 09 '23 01:07 brian7989

yes, please consider adding this feature. We sometimes need blocks which should be pinned atop and never touched.

I agree. This feature would be very helpful!

nicoschuck avatar Sep 12 '23 15:09 nicoschuck

Hello, still no news about this request ?

We also could use this feature as some blocks shouldn't be able to use tools in some use cases.

m-burger avatar May 29 '24 08:05 m-burger

I second this. Is there still no way to hide these without CSS using a property where you can set a boolean value like the 'hideToolbar' property which is already available?

e-afzal avatar Dec 26 '24 11:12 e-afzal

I think, we can add it. We have legacy hideToolbar option that worked for that reason in the 1.0 version. We can make it work again like this.

neSpecc avatar Dec 26 '24 12:12 neSpecc

I think, we can add it. We have legacy hideToolbar option that worked for that reason in the 1.0 version. We can make it work again like this.

Thanks for the reply @neSpecc! I have applied the CSS solution by @ryandunnewold and it worked great. But if there's the hideToolbar like feature, that would be super swell. 👍🏻

e-afzal avatar Dec 26 '24 13:12 e-afzal