작성 도구 모음을 사용자 지정하는 방법?

for the :gear: menu

이렇게 작성해 봤는데 표시 순서가 변경되지 않았습니다.
참고: display: none; 도 작동하지 않았습니다.

.toolbar-popup-menu-options {
  [data-name="Create event"] {
    order: -1;
  }
}

아래 문법은 의도대로 작동하여 "Create event"를 맨 위로 이동시킵니다.

.select-kit-collection {
  display: flex;
  flex-direction: column;
}

.select-kit-row[data-name="Create event"] {
  order: -1;
}

CSS에 익숙하지 않아 ChatGPT의 도움을 받아 위의 코드를 작성했습니다.

1개의 좋아요