Hoe kunnen we het upload-icoon in het bewerkingsvenster verbergen of grijs maken? We hebben het uploaden uitgeschakeld

AI-generated summary

The discussion focuses on how to hide or grey out the upload icon in the Edit window when uploading is disabled. What_Exit asks for a solution, preferably through the Admin panel. Moin suggests removing all file types from the authorized extensions site setting, which automatically hides the button. Moin also mentions using CSS as an alternative method. Kartoon provides an example of how to hide buttons using CSS, which What_Exit plans to share with their team.

How can we either hide or grey out the upload icon in the Edit window?

We have uploading disabled.

I’m hoping there is an option in the Admin panel our administrator can use.

I am a moderator on https://boards.straightdope.com/

Thank you in advanced.

1 like

How did you do that? I think when all filetypes are removed from the authorized extensions site setting the button is hidden automatically.

Ik zal het moeten vragen, ik zie de instellingen niet. De beheerder die dit in 2020 heeft ingesteld, is er helaas niet meer.

Ik neem aan dat dit de enige manier is om het te verbergen?

No, there are also other ways. You can, for example, hide it with CSS (Making custom CSS changes on your site).

Dit is hoe ik de “center”-knop heb verborgen

button.center_ui_button.toolbar__button {
display: none !important;
}

Cursief

button.italic.toolbar__button {
display: none !important;
}

Dus je hoeft alleen maar te zoeken hoe de uploadknop in de console heet, deze in het bovenstaande te vervangen en in de CSS common voor je thema’s te plaatsen.

2 likes

Bedankt, ik zal dat doorgeven.