on-codemerge
Version:
A WYSIWYG editor for on-codemerge is a user-friendly interface that allows users to edit and view their code in real time, exactly as it will appear in the final product
526 lines (525 loc) • 19.1 kB
JavaScript
/*! on-codemerge v1.3.1 @author Pavel Kuzmin @license MIT @homepage https://s00d.github.io/on-codemerge/ @repository git+https://github.com/s00d/on-codemerge.git Copyright (c) 2026 Pavel Kuzmin - Built on 2026-07-02T13:39:17.947Z */
const e = "1월", t = "2월", o = "3월", n = "4월", s = "5월", r = "6월", a = "7월", l = "8월", i = "9월", c = "10월", d = "11월", p = "12월", m = "타이포그래피", u = "단락", C = "인용문", g = "미리 서식 지정", T = "업데이트됨", y = "새로 만들기", S = "템플릿", h = "이름", b = "내용", w = "굵게", E = "밑줄", D = "취소선", L = "기울임꼴", v = "반응형", A = "시리즈", f = "총계", k = "레이블", I = "값", F = "색상", M = "형식", R = "X", x = "Y", H = "크기", B = "URL", P = "앵커", U = "제목", V = "복사", z = "저장", N = "보기", Y = "복제", W = "취소", G = "편집", O = "삭제", X = "제거", q = "언어", J = "내보내기", _ = "확실합니까?", j = "찾아보기", K = "업로드 중", Z = "단어", Q = "문자", $ = "문장", ee = "단락", te = "실행 취소", oe = "다시 실행", ne = "복원", se = "각주", re = "삽입", ae = "분", le = "범례", ie = "적용", ce = "테마", de = "크기", pe = "너비", me = "테두리", ue = "색상", Ce = "효과", ge = "브레이크포인트", Te = "정렬", ye = "패딩", Se = "높이", he = "분할", be = "가로로", we = "세로로", Ee = "병합", De = "이동", Le = "위", ve = "아래", Ae = "설정", fe = "잘라내기", ke = "붙여넣기", Ie = "정렬", Fe = "속성", Me = "셀", Re = "모바일", xe = "태블릿", He = "데스크톱", Be = "대형", Pe = "울트라", Ue = "유동적", Ve = "작업", ze = "오름차순", Ne = "참석자", Ye = "캘린더", We = "카테고리", Ge = "지우기", Oe = "협업", Xe = "데이터", qe = "내림차순", Je = "설명", _e = "이벤트", je = "높음", Ke = "가져오기", Ze = "위치", Qe = "낮음", $e = "보통", et = "방향", tt = "우선순위", ot = "선택", nt = "태그", st = "시간", rt = "팁", at = "타이머", lt = "일반", it = "일", ct = "시간", dt = "초", pt = "까지", mt = "생성", ut = "업데이트", Ct = {
"New Block": "새 블록",
"Split Horizontally": "수평으로 분할",
"Split Vertically": "수직으로 분할",
"Move Up": "위로 이동",
"Move Down": "아래로 이동",
"Block 1": "블록 1",
"Block 2": "블록 2",
"Series 1": "시리즈 1",
"No valid data points to display": "표시할 유효한 데이터 포인트가 없습니다",
Jan: e,
Feb: t,
Mar: o,
Apr: n,
May: s,
Jun: r,
Jul: a,
Aug: l,
Sep: i,
Oct: c,
Nov: d,
Dec: p,
"Keyboard Shortcuts": "키보드 단축키",
"Insert Table": "표 삽입",
"Add Row Above": "위에 행 추가",
"Add Row Below": "아래에 행 추가",
"Add Column Left": "왼쪽에 열 추가",
"Add Column Right": "오른쪽에 열 추가",
"Delete Row": "행 삭제",
"Delete Column": "열 삭제",
"Delete Table": "표 삭제",
"Merge Cells": "셀 병합",
"Split Cell": "셀 분할",
"Set Cell Border": "셀 테두리 설정",
"Include header row": "헤더 행 포함",
Typography: m,
"Typography Styles": "타이포그래피 스타일",
"Clear Formatting": "서식 지우기",
"Heading 1": "제목 1",
"Heading 2": "제목 2",
"Heading 3": "제목 3",
"Heading 4": "제목 4",
Paragraph: u,
Blockquote: C,
Preformatted: g,
"Horizontal Line": "수평선",
Updated: T,
"Insert Video": "동영상 삽입",
"Are you sure you want to delete this template?": "이 템플릿을 삭제하시겠습니까?",
New: y,
Templates: S,
Name: h,
Content: b,
"Insert YouTube Video": "YouTube 동영상 삽입",
"YouTube Video URL": "YouTube 동영상 URL",
Bold: w,
Underline: E,
Strikethrough: D,
Italic: L,
"Responsive View": "반응형 보기",
"Mobile View": "모바일 보기",
"Tablet View": "태블릿 보기",
"Desktop View": "데스크톱 보기",
"Large Desktop View": "대형 데스크톱 보기",
"Ultra Wide View": "초광역 보기",
Responsive: v,
"Select a viewport size to preview your content at different screen widths.<br>Use the resize handles in responsive mode to adjust the width manually.": "다양한 화면 너비에서 콘텐츠를 미리 보려면 뷰포트 크기를 선택하세요.<br>반응형 모드에서 크기 조정 핸들을 사용하여 너비를 수동으로 조정합니다.",
Series: A,
Total: f,
"Data Points": "데이터 포인트",
"Add Point": "포인트 추가",
Label: k,
Value: I,
Color: F,
Format: M,
"Delete Point": "포인트 삭제",
"Series Data": "시리즈 데이터",
"Add Series": "시리즈 추가",
"Series name": "시리즈 이름",
"Insert Code Block": "코드 블록 삽입",
"Copy to clipboard": "클립보드에 복사",
"+ Add Data Point": "+ 데이터 포인트 추가",
X: R,
Y: x,
"Bullet List": "글머리 기호 목록",
"Numbered List": "번호 목록",
Size: H,
URL: B,
Anchor: P,
Title: U,
'Open in new tab (target="_blank")': '새 탭에서 열기 (target="_blank")',
'Add rel="nofollow"': 'rel="nofollow" 추가',
"Insert Chart": "차트 삽입",
"Enter your code here...": "여기에 코드를 입력하세요...",
"Copied!": "복사됨!",
Copy: V,
Save: z,
View: N,
Duplicate: Y,
Cancel: W,
Edit: G,
Delete: O,
Remove: X,
Language: q,
Export: J,
Error: "오류",
"Insert Link": "링크 삽입",
"Align Left": "왼쪽 정렬",
"Align Center": "가운데 정렬",
"Align Right": "오른쪽 정렬",
"Insert Image": "이미지 삽입",
"Font Size": "글꼴 크기",
"Font Family": "글꼴",
"Font Settings": "글꼴 설정",
"Upload File": "파일 업로드",
"Plain Text": "일반 텍스트",
"Markdown File": "Markdown 파일",
"HTML File": "HTML 파일",
"Use comments to provide feedback or suggestions.": "피드백이나 제안을 제공하려면 댓글을 사용하세요.",
"Delete Comment": "댓글 삭제",
"Please select some text to comment on": "댓글을 달 텍스트를 선택하세요",
"Failed to insert comment. Please try selecting a simpler text range.": "댓글 삽입 실패. 더 간단한 텍스트 범위를 선택해 보세요.",
"Insert Comment": "댓글 삽입",
"Recent Colors": "최근 색상",
Confirm: _,
"Background Color": "배경색",
"Text Color": "텍스트 색상",
"Drag and drop your file here, or": "파일을 여기에 끌어다 놓거나",
browse: j,
"Maximum file size: ": "최대 파일 크기: ",
Uploading: K,
"File size exceeds 10MB limit": "파일 크기가 {{max}} 제한을 초과했습니다",
"Upload failed. Please try again.": "업로드 실패. 다시 시도하세요.",
Words: Z,
Characters: Q,
"Characters (without spaces)": "문자 (공백 제외)",
Sentences: $,
Paragraphs: ee,
"HTML Source": "HTML 소스",
"View HTML": "HTML 보기",
Undo: te,
Redo: oe,
Restore: ne,
"Initial version": "초기 버전",
"Changes from previous version:": "이전 버전과의 변경 사항:",
"Edit History": "편집 기록",
"View History": "기록 보기",
"Reading time": "읽는 시간",
"Insert Footnote": "각주 삽입",
Footnotes: se,
"Add Footnote": "각주 추가",
"Add explanatory or reference text that will appear at the bottom of the document": "문서 하단에 나타날 설명 또는 참조 텍스트 추가",
Insert: re,
min: ae,
"Export PNG": "PNG 내보내기",
"Select template...": "템플릿 선택...",
"Bar: Sales": "막대: 판매",
"Pie: Expenses": "파이: 지출",
"Doughnut: Browsers": "도넛: 브라우저",
"Line: Visitors": "선: 방문자",
"Chart Title": "차트 제목",
"X Axis Label": "X축 레이블",
"Y Axis Label": "Y축 레이블",
Legend: le,
"Show Legend": "범례 표시",
"Hide Legend": "범례 숨기기",
"Table Properties": "테이블 속성",
Apply: ie,
"Style & Theme": "스타일 및 테마",
"Table Style": "테이블 스타일",
Theme: ce,
Dimensions: de,
Width: pe,
"Cell Padding": "셀 패딩",
Borders: me,
"Border Style": "테두리 스타일",
"Border Width": "테두리 너비",
"Border Color": "테두리 색상",
Colors: ue,
"Header Background": "헤더 배경",
"Header Text Color": "헤더 텍스트 색상",
Effects: Ce,
"Zebra Stripe": "얼룩말 줄무늬",
"Hover Effect": "호버 효과",
"Responsive Settings": "반응형 설정",
Breakpoint: ge,
"Enable Horizontal Scroll": "가로 스크롤 활성화",
"Enable Touch Support": "터치 지원 활성화",
"Enable Cards on Mobile": "모바일에서 카드 활성화",
"Cell Formatting": "셀 서식",
"Text Formatting": "텍스트 서식",
"Font Weight": "글꼴 굵기",
"Font Style": "글꼴 스타일",
"Text Decoration": "텍스트 장식",
Alignment: Te,
"Horizontal Alignment": "가로 정렬",
"Vertical Alignment": "세로 정렬",
Padding: ye,
Height: Se,
"Insert Lazy Table": "지연 테이블 삽입",
"Edit Lazy Table": "지연 테이블 편집",
"Fill Table": "테이블 채우기",
"Fill Table with Data": "데이터로 테이블 채우기",
"Update Table": "테이블 업데이트",
"Text Block": "텍스트 블록",
"Container Block": "컨테이너 블록",
"Split Container": "컨테이너 분할",
Split: he,
Horizontally: be,
Vertically: we,
Merge: Ee,
Move: De,
Up: Le,
Down: ve,
Settings: Ae,
"Make Editable": "편집 가능하게 만들기",
"Make Read-only": "읽기 전용으로 만들기",
"Insert Block": "블록 삽입",
"Clear Cell": "셀 지우기",
"Delete Cell": "셀 삭제",
"Select All": "모두 선택",
Cut: fe,
Paste: ke,
"Auto Size": "자동 크기",
Sort: Ie,
"Sort Ascending": "오름차순 정렬",
"Sort Descending": "내림차순 정렬",
"Export Table": "테이블 내보내기",
"Import Table": "테이블 가져오기",
Properties: Fe,
Cells: Me,
Mobile: Re,
Tablet: xe,
Desktop: He,
Large: Be,
Ultra: Pe,
Fluid: Ue,
"Resize editor width": "편집기 너비 조정",
"Are you sure you want to delete this timer?": "이 타이머를 삭제하시겠습니까?",
Actions: Ve,
"Add Column": "열 추가",
"Add Event": "이벤트 추가",
"Add Row": "행 추가",
"All day event": "종일 이벤트",
"Are you sure you want to delete this calendar?": "이 캘린더를 삭제하시겠습니까?",
Ascending: ze,
Attendees: Ne,
"Auto Fit": "자동 맞춤",
"Bar/Area Mode": "막대/영역 모드",
"Block Style": "블록 스타일",
"Block Style Editor": "블록 스타일 편집기",
"CSS Classes": "CSS 클래스",
"CSS Selector (for HTML)": "CSS 선택자 (HTML용)",
"CSV Delimiter": "CSV 구분자",
Calendar: Ye,
"Calendar Title": "캘린더 제목",
"Calendar copied successfully": "캘린더가 성공적으로 복사되었습니다",
"Calendar imported successfully": "캘린더가 성공적으로 가져와졌습니다",
Category: We,
"Cell Operations": "셀 작업",
"Chart Type": "차트 유형",
Clear: Ge,
"Clear Table": "테이블 지우기",
"Clipboard Operations": "클립보드 작업",
Collaboration: Oe,
"Copy Calendar": "캘린더 복사",
"Copy Cell": "셀 복사",
"Copy Event": "이벤트 복사",
"Copy Table": "테이블 복사",
"Create your first calendar to get started": "시작하려면 첫 번째 캘린더를 만드세요",
"Current locale - Click to change": "현재 로케일 - 클릭하여 변경",
"Current viewport - Click to change": "현재 뷰포트 - 클릭하여 변경",
"Cut Cell": "셀 잘라내기",
Data: Xe,
"Data URL": "데이터 URL",
Date: "날짜",
"Default Colors": "기본 색상",
"Delete Calendar": "캘린더 삭제",
"Delete Elements": "요소 삭제",
"Delete Event": "이벤트 삭제",
Descending: qe,
Description: Je,
"Display Settings": "표시 설정",
"Duplicated Block": "복제된 블록",
"Duration (minutes)": "지속 시간 (분)",
"Edit Calendar": "캘린더 편집",
"Edit Event": "이벤트 편집",
"Enter X axis label...": "X축 레이블 입력...",
"Enter Y axis label...": "Y축 레이블 입력...",
"Enter attendees (comma separated)": "참석자 입력 (쉼표로 구분)",
"Enter calendar description": "캘린더 설명 입력",
"Enter calendar title": "캘린더 제목 입력",
"Enter chart title...": "차트 제목 입력...",
"Enter event description": "이벤트 설명 입력",
"Enter event location": "이벤트 위치 입력",
"Enter event title": "이벤트 제목 입력",
"Enter tags (comma separated)": "태그 입력 (쉼표로 구분)",
Event: _e,
"Event copied successfully": "이벤트가 성공적으로 복사되었습니다",
"Export Calendar": "캘린더 내보내기",
"Export as PNG": "PNG로 내보내기",
"Failed to copy calendar": "캘린더 복사 실패",
"Failed to copy event": "이벤트 복사 실패",
"First row contains headers": "첫 번째 행에 헤더가 포함됨",
"Fluid width": "유동적 너비",
"Format Cell": "셀 서식",
High: je,
Import: Ke,
"Import Calendar": "캘린더 가져오기",
"Import Type": "가져오기 유형",
"Import/Export": "가져오기/내보내기",
"Inline Styles": "인라인 스타일",
"Insert Cell": "셀 삽입",
"Insert Cell Above": "위에 셀 삽입",
"Insert Cell Below": "아래에 셀 삽입",
"Insert Cell Left": "왼쪽에 셀 삽입",
"Insert Cell Right": "오른쪽에 셀 삽입",
"Insert Math": "수학 삽입",
"Language Settings": "언어 설정",
"Large Desktop": "대형 데스크톱",
"Large desktop view": "대형 데스크톱 보기",
"Line Height": "줄 높이",
Location: Ze,
Low: Qe,
Medium: $e,
"Merge Horizontally": "가로로 병합",
"Merge Vertically": "세로로 병합",
"New Calendar": "새 캘린더",
"New Template": "새 템플릿",
"No calendars found": "캘린더를 찾을 수 없습니다",
"No reminder": "알림 없음",
"Note: Width is disabled when Horizontal Scroll is enabled": "참고: 가로 스크롤이 활성화되면 너비가 비활성화됩니다",
Orientation: et,
"Paste Cell": "셀 붙여넣기",
"Please enter a valid URL": "유효한 URL을 입력하세요",
"Print / PDF File": "인쇄 / PDF 파일",
Priority: tt,
"Reminder (minutes before)": "알림 (분 전)",
"Resize Columns": "열 크기 조정",
"Search shortcuts...": "단축키 검색...",
"Select Column": "열 선택",
"Select Elements": "요소 선택",
"Select Row": "행 선택",
"Select Viewport": "뷰포트 선택",
"Select category": "카테고리 선택",
Selection: ot,
"Show Grid": "그리드 표시",
"Smartphone view": "스마트폰 보기",
"Sort Table": "테이블 정렬",
"Spell Check": "맞춤법 검사",
"Standard desktop": "표준 데스크톱",
"Table ID (optional)": "테이블 ID (선택사항)",
"Table Management": "테이블 관리",
"Table Operations": "테이블 작업",
"Table Tools": "테이블 도구",
"Tablet view": "태블릿 보기",
Tags: nt,
"Tags (comma separated)": "태그 (쉼표로 구분)",
"Target Date": "목표 날짜",
"Target Time": "목표 시간",
Time: st,
Tips: rt,
"Ultra Wide": "울트라 와이드",
"Ultra wide screen": "울트라 와이드 화면",
"• Responsive mode allows manual resizing": "• 반응형 모드에서는 수동 크기 조정이 가능합니다",
"• Tables adapt automatically to viewport size": "• 테이블은 뷰포트 크기에 자동으로 적응합니다",
"• Use hotkeys for quick switching": "• 빠른 전환을 위해 단축키를 사용하세요",
"• Viewport state is saved automatically": "• 뷰포트 상태는 자동으로 저장됩니다",
Timer: at,
General: lt,
days: it,
hours: ct,
sec: dt,
"Time expired": "시간 만료",
Until: pt,
"Edit Timer": "타이머 편집",
"Copy Timer": "타이머 복사",
"Export Timer": "타이머 내보내기",
"Import Timer": "타이머 가져오기",
"Delete Timer": "타이머 삭제",
"Timer copied successfully": "타이머가 성공적으로 복사되었습니다",
"Failed to copy timer": "타이머 복사 실패",
"Export failed": "내보내기 실패",
"Timer imported successfully": "타이머가 성공적으로 가져와졌습니다",
"Import failed": "가져오기 실패",
"Title is required": "제목이 필요합니다",
"Target date is required": "목표 날짜가 필요합니다",
"Target time is required": "목표 시간이 필요합니다",
"Invalid date/time format": "잘못된 날짜/시간 형식",
"Enter timer title": "타이머 제목 입력",
"Enter timer description": "타이머 설명 입력",
"Enter category": "카테고리 입력",
"Enter tags separated by commas": "쉼표로 구분된 태그 입력",
"New Timer": "새 타이머",
Create: mt,
Update: ut,
"No timers found": "타이머를 찾을 수 없습니다",
"Create your first timer to get started": "시작하려면 첫 번째 타이머를 만드세요"
};
export {
Ve as Actions,
Te as Alignment,
P as Anchor,
ie as Apply,
n as Apr,
ze as Ascending,
Ne as Attendees,
l as Aug,
C as Blockquote,
w as Bold,
me as Borders,
ge as Breakpoint,
Ye as Calendar,
W as Cancel,
We as Category,
Me as Cells,
Q as Characters,
Ge as Clear,
Oe as Collaboration,
F as Color,
ue as Colors,
_ as Confirm,
b as Content,
V as Copy,
mt as Create,
fe as Cut,
Xe as Data,
p as Dec,
O as Delete,
qe as Descending,
Je as Description,
He as Desktop,
de as Dimensions,
ve as Down,
Y as Duplicate,
G as Edit,
Ce as Effects,
_e as Event,
J as Export,
t as Feb,
Ue as Fluid,
se as Footnotes,
M as Format,
lt as General,
Se as Height,
je as High,
be as Horizontally,
Ke as Import,
re as Insert,
L as Italic,
e as Jan,
a as Jul,
r as Jun,
k as Label,
q as Language,
Be as Large,
le as Legend,
Ze as Location,
Qe as Low,
o as Mar,
s as May,
$e as Medium,
Ee as Merge,
Re as Mobile,
De as Move,
h as Name,
y as New,
d as Nov,
c as Oct,
et as Orientation,
ye as Padding,
u as Paragraph,
ee as Paragraphs,
ke as Paste,
g as Preformatted,
tt as Priority,
Fe as Properties,
oe as Redo,
X as Remove,
v as Responsive,
ne as Restore,
z as Save,
ot as Selection,
$ as Sentences,
i as Sep,
A as Series,
Ae as Settings,
H as Size,
Ie as Sort,
he as Split,
D as Strikethrough,
xe as Tablet,
nt as Tags,
S as Templates,
ce as Theme,
st as Time,
at as Timer,
rt as Tips,
U as Title,
f as Total,
m as Typography,
B as URL,
Pe as Ultra,
E as Underline,
te as Undo,
pt as Until,
Le as Up,
ut as Update,
T as Updated,
K as Uploading,
I as Value,
we as Vertically,
N as View,
pe as Width,
Z as Words,
R as X,
x as Y,
j as browse,
it as days,
Ct as default,
ct as hours,
ae as min,
dt as sec
};