디렉터리 개요
루트 디렉터리는 에디터의 최상위 디렉터리로, 모든 서브 디렉터리와 핵심 파일을 포함합니다. 이 문서에서는 포함된 파일과 하위 디렉터리를 소개하고, 초보자와 개발자가 어떤 순서로 읽으면 되는지 설명합니다.
포함된 파일
9.0.0/t2editor/config/get_upload_config.php
9.0.0/t2editor/config/learning_data.jsonl
9.0.0/t2editor/config/nsfw_api_browser.js
9.0.0/t2editor/config/nsfw_api_server.php
9.0.0/t2editor/config/t2_config.php
9.0.0/t2editor/config/upload_config.php
9.0.0/t2editor/css/content.css
9.0.0/t2editor/css/core.css
9.0.0/t2editor/css/dark.css
9.0.0/t2editor/editor.lib.php
9.0.0/t2editor/fonts/material-icons/MaterialIcons-Regular.eot
9.0.0/t2editor/fonts/material-icons/MaterialIcons-Regular.ttf
9.0.0/t2editor/fonts/material-icons/MaterialIcons-Regular.woff
9.0.0/t2editor/fonts/material-icons/MaterialIcons-Regular.woff2
9.0.0/t2editor/fonts/material-icons/MaterialIconsOutlined-Regular.woff2
9.0.0/t2editor/fonts/material-icons/font.woff2
9.0.0/t2editor/js/core.js
9.0.0/t2editor/js/jszip.min.js
9.0.0/t2editor/js/pdf.min.js
9.0.0/t2editor/js/pdf.worker.min.js
9.0.0/t2editor/js/toolbar.js
9.0.0/t2editor/js/utils.js
9.0.0/t2editor/plugin/ai/ai.css
9.0.0/t2editor/plugin/ai/ai.js
9.0.0/t2editor/plugin/ai_rearrange/ai_rearrange.css
9.0.0/t2editor/plugin/ai_rearrange/ai_rearrange.js
9.0.0/t2editor/plugin/clipurl/clipurl.css
9.0.0/t2editor/plugin/clipurl/clipurl.js
9.0.0/t2editor/plugin/code/code.css
9.0.0/t2editor/plugin/code/code.js
주의: 이 목록은 가장 중요한 파일만 나열한 것입니다. 나머지 파일들은 개별 파일 문서에서 자세히 설명합니다.
초보자와 웹마스터를 위한 안내
초보자와 웹마스터는 이 디렉터리의 구조를 이해하여 파일을 이동하거나 삭제할 때 문제 발생을 방지해야 합니다. 특히, config와 data 디렉터리는 서버 설정과 업로드 권한에 직접적으로 영향을 주므로 파일 권한을 적절하게 설정하는 것이 중요합니다.
전문 개발자를 위한 심층 분석
개발자는 각 파일이 어떠한 의존성을 가지는지, 다른 디렉터리와 어떻게 연동되는지 분석해야 합니다. 예를 들어, js 디렉터리의 core.js는 플러그인 로딩과 이벤트 처리를 담당하며, config 디렉터리의 upload_config.php는 이미지와 파일 업로드 제한을 결정합니다.