For example
How do I remove these option?
What’s the best way to do it?
just use CSS display:none?
something like
.bold.btn.no-text.btn-icon.ember-view{
display: none;
}
it work, but is this the best way?
Thanks!
I don’t know if it might be the “best” way to do it. But it certainly is the simplest way to do it.
If you take it out of the DOM there is the possibility that users could add it back in (like you did using your dev tools to remove it)
If you wanted to take it out completely it would involve removing it from the output which is not so simple to do.
So I guess the question is why do you want to remove them. Is the goal to simply tidy up the options display or to deter or prevent users from having those options?
Thanks for reply!
I simply want tidy up,
I am just asking in case there are better way, now I would keep using this CSS way~
Thanks again!
안녕하세요, 메뉴를 깔끔하게 정리하는 방법을 본인이나 다른 분들이 찾아보셨나요?
파비리온의 커스텀 이벤트 플러그인과 달력 아이콘이 충돌하기 때문에 해당 아이콘을 비활성화하고 싶습니다.
아이콘을 숨기시겠습니까, 아니면 로케일 날짜 기능을 완전히 비활성화하시겠습니까? discourse local dates enabled를 비활성화하면 아이콘이 사라집니다. 다만, 기능을 전반적으로 비활성화하지 않으신다면 CSS를 사용하여 버튼을 숨길 수도 있습니다. 컴포저 툴바를 사용자 지정하는 방법에 대한 자세한 내용은 How to customize the composer toolbar? - #3 by awesomerobot 확인할 수 있습니다.
네, 정확히 그겁니다. 팁을 알려주셔서 감사합니다. 저에게는 이 방법으로 해결되었습니다.
[quote=“Kris, post:3, topic:323577, username:awesomerobot”]
.d-editor-button-bar {
.local-dates { // 날짜 버튼 숨김
display: none;
}
}
```[/quote]