본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Html

원문 보기 위키 갱신

HTML 버전의 코드 편집기 컴포넌트예요. 언어 탭과 헤더, 업로드 영역 등 코드 편집 화면을 구성하는 데 사용해요.

출처: 문서

본문

예제

기본 (Default)

code goes here

읽기 전용 (Read-only)

code goes here

액션 없이 (Without actions)

YAML

[편집 시작 (Start editing)]

파일을 여기로 끌어다 놓거나 찾아보기로 업로드하세요. (Drag a file here or browse to upload.)

언어 탭 없이 (Without language tab)

code goes here

파일을 끌어다가 컴포넌트 위에 올리기 (Drag file and hover over component)

YAML

[편집 시작 (Start editing)]

파일을 여기로 끌어다 놓거나 찾아보기로 업로드하세요. (Drag a file here or browse to upload.)

선택적 헤더 콘텐츠와 키보드 단축키 (With optional header content and keyboard shortcuts)

헤더 메인 콘텐츠 (Header main content)

HTML

code goes here

선택적 코드 편집기 컨테이너 (With optional code editor container)

업로드가 활성화되거나 빈 상태가 제공될 때 이벤트 전파를 막기 위해 React에서 사용하는 추가 컨테이너예요. (This is an extra container used in React to prevent event propagation if upload is enabled or there is a provided empty state.)

HTML

[편집 시작 (Start editing)]

파일을 여기로 끌어다 놓거나 찾아보기로 업로드하세요. (Drag a file here or browse to upload.)

전체 높이 수식자 (With full height modifier)

헤더 메인 콘텐츠 (Header main content)

HTML

code goes here

문서 (Documentation)

사용법 (Usage)

클래스 적용 대상 결과
.pf-v6-c-code-editor `` 코드 편집기 컴포넌트를 초기화해요. 필수
.pf-v6-c-code-editor__header `` 컨트롤과 탭 요소에 사용되는 코드 편집기 헤더를 초기화해요.
.pf-v6-c-code-editor__header-content `` 컨트롤과 탭 요소에 사용되는 코드 편집기 헤더 콘텐츠를 초기화해요. 필수
.pf-v6-c-code-editor__main `` 코드 편집기의 메인 컨테이너를 초기화해요. 예: Monaco. 필수
.pf-v6-c-code-editor__code `` JS 코드 편집기 없이 코드를 담는 컨테이너를 초기화해요. PatternFly 스타일링이 적용돼요.
.pf-v6-c-code-editor__controls `` 코드 편집기 컨트롤을 초기화해요.
.pf-v6-c-code-editor__header-main `` 코드 편집기 헤더 콘텐츠 영역을 초기화해요.
.pf-v6-c-code-editor__keyboard-shortcuts `` 코드 편집기 헤더의 키보드 단축키 영역을 초기화해요.
.pf-v6-c-code-editor__tab `` 코드 편집기 탭을 초기화해요.
.pf-v6-c-code-editor__tab-text `` 코드 편집기 탭 텍스트를 초기화해요.
.pf-v6-c-code-editor__tab-icon `` 코드 편집기 탭 아이콘을 초기화해요.
.pf-v6-c-code-editor__upload `` 코드 편집기 업로드 경계선을 초기화해요.
.pf-v6-c-code-editor__container `` PatternFly React에서 .pf-v6-c-code-editor 안에 사용되는 컨테이너를 초기화해요. 업로드가 활성화되거나 빈 상태가 제공될 때 이벤트 전파를 막기 위해 사용돼요.
.pf-m-full-height .pf-v6-c-code-editor 전체 높이 스타일로 수정해요.

이 페이지를 GitHub에서 편집

더 알아보기 (Learn more)