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
3 lines (2 loc) • 16.6 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 */
;Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a="Jan",e="Feb",t="Mar",n="Apr",i="Mei",r="Jun",o="Jul",l="Ags",s="Sep",d="Okt",u="Nov",k="Des",c="Tipografi",p="Paragraf",m="Kutipan",g="Pratformat",b="Diperbarui",h="Baru",T="Template",S="Nama",y="Konten",C="Tebal",B="Garis Bawah",P="Coret",A="Miring",w="Responsif",D="Seri",f="Total",E="Label",L="Nilai",M="Warna",v="Format",U="X",F="Y",H="Ukuran",I="URL",K="Jangkar",R="Judul",G="Salin",V="Simpan",z="Lihat",x="Duplikat",N="Batal",W="Edit",J="Hapus",j="Hapus",O="Bahasa",Y="Ekspor",X="Apakah Anda yakin?",q="telusuri",_="Mengunggah",Z="Kata",Q="Karakter",$="Kalimat",aa="Paragraf",ea="Batalkan",ta="Ulangi",na="Pulihkan",ia="Catatan Kaki",ra="Sisipkan",oa="menit",la="Legenda",sa="Terapkan",da="Tema",ua="Dimensi",ka="Lebar",ca="Batas",pa="Warna",ma="Efek",ga="Titik patahan",ba="Perataan",ha="Padding",Ta="Tinggi",Sa="Bagi",ya="Secara horizontal",Ca="Secara vertikal",Ba="Gabungkan",Pa="Pindahkan",Aa="Atas",wa="Bawah",Da="Pengaturan",fa="Potong",Ea="Tempel",La="Urutkan",Ma="Properti",va="Sel",Ua="Mobile",Fa="Tablet",Ha="Desktop",Ia="Besar",Ka="Ultra",Ra="Cair",Ga="Timer",Va="Umum",za="hari",xa="jam",Na="detik",Wa="Sampai",Ja="Buat",ja="Perbarui",Oa="Tindakan",Ya="Menanjak",Xa="Peserta",qa="Kalender",_a="Kategori",Za="Bersihkan",Qa="Kolaborasi",$a="Data",ae="Menurun",ee="Deskripsi",te="Acara",ne="Tinggi",ie="Impor",re="Lokasi",oe="Rendah",le="Sedang",se="Orientasi",de="Prioritas",ue="Pilihan",ke="Tag",ce="Waktu",pe="Tips",me={"New Block":"Blok Baru","Split Horizontally":"Bagi Secara Horizontal","Split Vertically":"Bagi Secara Vertikal","Move Up":"Pindah Ke Atas","Move Down":"Pindah Ke Bawah","Block 1":"Blok 1","Block 2":"Blok 2","Series 1":"Seri 1","No valid data points to display":"Tidak ada titik data yang valid untuk ditampilkan",Jan:a,Feb:e,Mar:t,Apr:n,May:i,Jun:r,Jul:o,Aug:l,Sep:s,Oct:d,Nov:u,Dec:k,"Keyboard Shortcuts":"Pintasan Keyboard","Insert Table":"Sisipkan Tabel","Add Row Above":"Tambahkan Baris di Atas","Add Row Below":"Tambahkan Baris di Bawah","Add Column Left":"Tambahkan Kolom di Kiri","Add Column Right":"Tambahkan Kolom di Kanan","Delete Row":"Hapus Baris","Delete Column":"Hapus Kolom","Delete Table":"Hapus Tabel","Merge Cells":"Gabungkan Sel","Split Cell":"Pisahkan Sel","Set Cell Border":"Atur Batas Sel","Include header row":"Sertakan baris header",Typography:c,"Typography Styles":"Gaya Tipografi","Clear Formatting":"Hapus Format","Heading 1":"Judul 1","Heading 2":"Judul 2","Heading 3":"Judul 3","Heading 4":"Judul 4",Paragraph:p,Blockquote:m,Preformatted:g,"Horizontal Line":"Garis Horizontal",Updated:b,"Insert Video":"Sisipkan Video","Are you sure you want to delete this template?":"Apakah Anda yakin ingin menghapus template ini?",New:h,Templates:T,Name:S,Content:y,"Insert YouTube Video":"Sisipkan Video YouTube","YouTube Video URL":"URL Video YouTube",Bold:C,Underline:B,Strikethrough:P,Italic:A,"Responsive View":"Tampilan Responsif","Mobile View":"Tampilan Mobile","Tablet View":"Tampilan Tablet","Desktop View":"Tampilan Desktop","Large Desktop View":"Tampilan Desktop Besar","Ultra Wide View":"Tampilan Ultra Lebar",Responsive:w,"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.":"Pilih ukuran viewport untuk melihat pratinjau konten Anda pada lebar layar yang berbeda.<br>Gunakan pegangan ukuran dalam mode responsif untuk menyesuaikan lebar secara manual.",Series:D,Total:f,"Data Points":"Titik Data","Add Point":"Tambahkan Titik",Label:E,Value:L,Color:M,Format:v,"Delete Point":"Hapus Titik","Series Data":"Data Seri","Add Series":"Tambahkan Seri","Series name":"Nama seri","Insert Code Block":"Sisipkan Blok Kode","Copy to clipboard":"Salin ke clipboard","+ Add Data Point":"+ Tambahkan Titik Data",X:U,Y:F,"Bullet List":"Daftar Poin","Numbered List":"Daftar Bernomor",Size:H,URL:I,Anchor:K,Title:R,'Open in new tab (target="_blank")':'Buka di tab baru (target="_blank")','Add rel="nofollow"':'Tambahkan rel="nofollow"',"Insert Chart":"Sisipkan Grafik","Enter your code here...":"Masukkan kode Anda di sini...","Copied!":"Tersalin!",Copy:G,Save:V,View:z,Duplicate:x,Cancel:N,Edit:W,Delete:J,Remove:j,Language:O,Export:Y,Error:"Kesalahan","Insert Link":"Sisipkan Tautan","Align Left":"Rata Kiri","Align Center":"Rata Tengah","Align Right":"Rata Kanan","Insert Image":"Sisipkan Gambar","Font Size":"Ukuran Font","Font Family":"Jenis Font","Font Settings":"Pengaturan Font","Upload File":"Unggah File","Plain Text":"Teks Biasa","Markdown File":"File Markdown","HTML File":"File HTML","Use comments to provide feedback or suggestions.":"Gunakan komentar untuk memberikan umpan balik atau saran.","Delete Comment":"Hapus Komentar","Please select some text to comment on":"Silakan pilih beberapa teks untuk dikomentari","Failed to insert comment. Please try selecting a simpler text range.":"Gagal menyisipkan komentar. Silakan coba memilih rentang teks yang lebih sederhana.","Insert Comment":"Sisipkan Komentar","Recent Colors":"Warna Terbaru",Confirm:X,"Background Color":"Warna Latar Belakang","Text Color":"Warna Teks","Drag and drop your file here, or":"Seret dan lepas file Anda di sini, atau",browse:q,"Maximum file size: ":"Ukuran file maksimum: ",Uploading:_,"File size exceeds 10MB limit":"Ukuran file melebihi batas {{max}}","Upload failed. Please try again.":"Gagal mengunggah. Silakan coba lagi.",Words:Z,Characters:Q,"Characters (without spaces)":"Karakter (tanpa spasi)",Sentences:$,Paragraphs:aa,"HTML Source":"Sumber HTML","View HTML":"Lihat HTML",Undo:ea,Redo:ta,Restore:na,"Initial version":"Versi awal","Changes from previous version:":"Perubahan dari versi sebelumnya:","Edit History":"Riwayat Edit","View History":"Lihat Riwayat","Reading time":"Waktu baca","Insert Footnote":"Sisipkan Catatan Kaki",Footnotes:ia,"Add Footnote":"Tambahkan Catatan Kaki","Add explanatory or reference text that will appear at the bottom of the document":"Tambahkan teks penjelasan atau referensi yang akan muncul di bagian bawah dokumen",Insert:ra,min:oa,"Export PNG":"Ekspor PNG","Select template...":"Pilih template...","Bar: Sales":"Batang: Penjualan","Pie: Expenses":"Pai: Pengeluaran","Doughnut: Browsers":"Donat: Peramban","Line: Visitors":"Garis: Pengunjung","Chart Title":"Judul Grafik","X Axis Label":"Label Sumbu X","Y Axis Label":"Label Sumbu Y",Legend:la,"Show Legend":"Tampilkan legenda","Hide Legend":"Sembunyikan legenda","Table Properties":"Properti tabel",Apply:sa,"Style & Theme":"Gaya dan tema","Table Style":"Gaya tabel",Theme:da,Dimensions:ua,Width:ka,"Cell Padding":"Padding sel",Borders:ca,"Border Style":"Gaya batas","Border Width":"Lebar batas","Border Color":"Warna batas",Colors:pa,"Header Background":"Latar belakang header","Header Text Color":"Warna teks header",Effects:ma,"Zebra Stripe":"Garis zebra","Hover Effect":"Efek hover","Responsive Settings":"Pengaturan responsif",Breakpoint:ga,"Enable Horizontal Scroll":"Aktifkan scroll horizontal","Enable Touch Support":"Aktifkan dukungan sentuh","Enable Cards on Mobile":"Aktifkan kartu di mobile","Cell Formatting":"Format sel","Text Formatting":"Format teks","Font Weight":"Ketebalan font","Font Style":"Gaya font","Text Decoration":"Dekorasi teks",Alignment:ba,"Horizontal Alignment":"Perataan horizontal","Vertical Alignment":"Perataan vertikal",Padding:ha,Height:Ta,"Insert Lazy Table":"Sisipkan tabel lazy","Edit Lazy Table":"Edit tabel lazy","Fill Table":"Isi tabel","Fill Table with Data":"Isi tabel dengan data","Update Table":"Perbarui tabel","Text Block":"Blok teks","Container Block":"Blok kontainer","Split Container":"Bagi kontainer",Split:Sa,Horizontally:ya,Vertically:Ca,Merge:Ba,Move:Pa,Up:Aa,Down:wa,Settings:Da,"Make Editable":"Buat dapat diedit","Make Read-only":"Buat hanya baca","Insert Block":"Sisipkan blok","Clear Cell":"Bersihkan sel","Delete Cell":"Hapus sel","Select All":"Pilih semua",Cut:fa,Paste:Ea,"Auto Size":"Ukuran otomatis",Sort:La,"Sort Ascending":"Urutkan naik","Sort Descending":"Urutkan turun","Export Table":"Ekspor tabel","Import Table":"Impor tabel",Properties:Ma,Cells:va,Mobile:Ua,Tablet:Fa,Desktop:Ha,Large:Ia,Ultra:Ka,Fluid:Ra,"Resize editor width":"Ubah ukuran lebar editor",Timer:Ga,General:Va,days:za,hours:xa,sec:Na,"Time expired":"Waktu habis",Until:Wa,"Edit Timer":"Edit timer","Copy Timer":"Salin timer","Export Timer":"Ekspor timer","Import Timer":"Impor timer","Delete Timer":"Hapus timer","Timer copied successfully":"Timer berhasil disalin","Failed to copy timer":"Gagal menyalin timer","Export failed":"Ekspor gagal","Timer imported successfully":"Timer berhasil diimpor","Import failed":"Impor gagal","Title is required":"Judul diperlukan","Target date is required":"Tanggal target diperlukan","Target time is required":"Waktu target diperlukan","Invalid date/time format":"Format tanggal/waktu tidak valid","Enter timer title":"Masukkan judul timer","Enter timer description":"Masukkan deskripsi timer","Enter category":"Masukkan kategori","Enter tags separated by commas":"Masukkan tag yang dipisahkan dengan koma","New Timer":"Timer baru",Create:Ja,Update:ja,"No timers found":"Tidak ada timer ditemukan","Create your first timer to get started":"Buat timer pertama Anda untuk memulai","Are you sure you want to delete this timer?":"Apakah Anda yakin ingin menghapus timer ini?",Actions:Oa,"Add Column":"Tambah Kolom","Add Event":"Tambah Acara","Add Row":"Tambah Baris","All day event":"Acara sepanjang hari","Are you sure you want to delete this calendar?":"Apakah Anda yakin ingin menghapus kalender ini?",Ascending:Ya,Attendees:Xa,"Auto Fit":"Sesuaikan Otomatis","Bar/Area Mode":"Mode Bar/Area","Block Style":"Gaya Blok","Block Style Editor":"Editor Gaya Blok","CSS Classes":"Kelas CSS","CSS Selector (for HTML)":"Selektor CSS (untuk HTML)","CSV Delimiter":"Pemisah CSV",Calendar:qa,"Calendar Title":"Judul Kalender","Calendar copied successfully":"Kalender berhasil disalin","Calendar imported successfully":"Kalender berhasil diimpor",Category:_a,"Cell Operations":"Operasi Sel","Chart Type":"Jenis Grafik",Clear:Za,"Clear Table":"Bersihkan Tabel","Clipboard Operations":"Operasi Clipboard",Collaboration:Qa,"Copy Calendar":"Salin Kalender","Copy Cell":"Salin Sel","Copy Event":"Salin Acara","Copy Table":"Salin Tabel","Create your first calendar to get started":"Buat kalender pertama Anda untuk memulai","Current locale - Click to change":"Lokal saat ini - Klik untuk mengubah","Current viewport - Click to change":"Viewport saat ini - Klik untuk mengubah","Cut Cell":"Potong Sel",Data:$a,"Data URL":"URL Data",Date:"Tanggal","Default Colors":"Warna Default","Delete Calendar":"Hapus Kalender","Delete Elements":"Hapus Elemen","Delete Event":"Hapus Acara",Descending:ae,Description:ee,"Display Settings":"Pengaturan Tampilan","Duplicated Block":"Blok Tersalin","Duration (minutes)":"Durasi (menit)","Edit Calendar":"Edit Kalender","Edit Event":"Edit Acara","Enter X axis label...":"Masukkan label sumbu X...","Enter Y axis label...":"Masukkan label sumbu Y...","Enter attendees (comma separated)":"Masukkan peserta (dipisahkan koma)","Enter calendar description":"Masukkan deskripsi kalender","Enter calendar title":"Masukkan judul kalender","Enter chart title...":"Masukkan judul grafik...","Enter event description":"Masukkan deskripsi acara","Enter event location":"Masukkan lokasi acara","Enter event title":"Masukkan judul acara","Enter tags (comma separated)":"Masukkan tag (dipisahkan koma)",Event:te,"Event copied successfully":"Acara berhasil disalin","Export Calendar":"Ekspor Kalender","Export as PNG":"Ekspor sebagai PNG","Failed to copy calendar":"Gagal menyalin kalender","Failed to copy event":"Gagal menyalin acara","First row contains headers":"Baris pertama berisi header","Fluid width":"Lebar cair","Format Cell":"Format Sel",High:ne,Import:ie,"Import Calendar":"Impor Kalender","Import Type":"Jenis Impor","Import/Export":"Impor/Ekspor","Inline Styles":"Gaya Inline","Insert Cell":"Sisipkan Sel","Insert Cell Above":"Sisipkan Sel di Atas","Insert Cell Below":"Sisipkan Sel di Bawah","Insert Cell Left":"Sisipkan Sel di Kiri","Insert Cell Right":"Sisipkan Sel di Kanan","Insert Math":"Sisipkan Matematika","Language Settings":"Pengaturan Bahasa","Large Desktop":"Desktop Besar","Large desktop view":"Tampilan desktop besar","Line Height":"Tinggi Baris",Location:re,Low:oe,Medium:le,"Merge Horizontally":"Gabungkan Horizontal","Merge Vertically":"Gabungkan Vertikal","New Calendar":"Kalender Baru","New Template":"Template Baru","No calendars found":"Tidak ada kalender ditemukan","No reminder":"Tidak ada pengingat","Note: Width is disabled when Horizontal Scroll is enabled":"Catatan: Lebar dinonaktifkan saat Scroll Horizontal diaktifkan",Orientation:se,"Paste Cell":"Tempel Sel","Please enter a valid URL":"Silakan masukkan URL yang valid","Print / PDF File":"Cetak / File PDF",Priority:de,"Reminder (minutes before)":"Pengingat (menit sebelum)","Resize Columns":"Ubah Ukuran Kolom","Search shortcuts...":"Cari pintasan...","Select Column":"Pilih Kolom","Select Elements":"Pilih Elemen","Select Row":"Pilih Baris","Select Viewport":"Pilih Viewport","Select category":"Pilih kategori",Selection:ue,"Show Grid":"Tampilkan Grid","Smartphone view":"Tampilan smartphone","Sort Table":"Urutkan Tabel","Spell Check":"Periksa Ejaan","Standard desktop":"Desktop standar","Table ID (optional)":"ID Tabel (opsional)","Table Management":"Manajemen Tabel","Table Operations":"Operasi Tabel","Table Tools":"Alat Tabel","Tablet view":"Tampilan tablet",Tags:ke,"Tags (comma separated)":"Tag (dipisahkan koma)","Target Date":"Tanggal Target","Target Time":"Waktu Target",Time:ce,Tips:pe,"Ultra Wide":"Ultra Lebar","Ultra wide screen":"Layar ultra lebar","• Responsive mode allows manual resizing":"• Mode responsif memungkinkan pengubahan ukuran manual","• Tables adapt automatically to viewport size":"• Tabel menyesuaikan secara otomatis dengan ukuran viewport","• Use hotkeys for quick switching":"• Gunakan hotkey untuk pergantian cepat","• Viewport state is saved automatically":"• Status viewport disimpan secara otomatis"};exports.Actions=Oa;exports.Alignment=ba;exports.Anchor=K;exports.Apply=sa;exports.Apr=n;exports.Ascending=Ya;exports.Attendees=Xa;exports.Aug=l;exports.Blockquote=m;exports.Bold=C;exports.Borders=ca;exports.Breakpoint=ga;exports.Calendar=qa;exports.Cancel=N;exports.Category=_a;exports.Cells=va;exports.Characters=Q;exports.Clear=Za;exports.Collaboration=Qa;exports.Color=M;exports.Colors=pa;exports.Confirm=X;exports.Content=y;exports.Copy=G;exports.Create=Ja;exports.Cut=fa;exports.Data=$a;exports.Dec=k;exports.Delete=J;exports.Descending=ae;exports.Description=ee;exports.Desktop=Ha;exports.Dimensions=ua;exports.Down=wa;exports.Duplicate=x;exports.Edit=W;exports.Effects=ma;exports.Event=te;exports.Export=Y;exports.Feb=e;exports.Fluid=Ra;exports.Footnotes=ia;exports.Format=v;exports.General=Va;exports.Height=Ta;exports.High=ne;exports.Horizontally=ya;exports.Import=ie;exports.Insert=ra;exports.Italic=A;exports.Jan=a;exports.Jul=o;exports.Jun=r;exports.Label=E;exports.Language=O;exports.Large=Ia;exports.Legend=la;exports.Location=re;exports.Low=oe;exports.Mar=t;exports.May=i;exports.Medium=le;exports.Merge=Ba;exports.Mobile=Ua;exports.Move=Pa;exports.Name=S;exports.New=h;exports.Nov=u;exports.Oct=d;exports.Orientation=se;exports.Padding=ha;exports.Paragraph=p;exports.Paragraphs=aa;exports.Paste=Ea;exports.Preformatted=g;exports.Priority=de;exports.Properties=Ma;exports.Redo=ta;exports.Remove=j;exports.Responsive=w;exports.Restore=na;exports.Save=V;exports.Selection=ue;exports.Sentences=$;exports.Sep=s;exports.Series=D;exports.Settings=Da;exports.Size=H;exports.Sort=La;exports.Split=Sa;exports.Strikethrough=P;exports.Tablet=Fa;exports.Tags=ke;exports.Templates=T;exports.Theme=da;exports.Time=ce;exports.Timer=Ga;exports.Tips=pe;exports.Title=R;exports.Total=f;exports.Typography=c;exports.URL=I;exports.Ultra=Ka;exports.Underline=B;exports.Undo=ea;exports.Until=Wa;exports.Up=Aa;exports.Update=ja;exports.Updated=b;exports.Uploading=_;exports.Value=L;exports.Vertically=Ca;exports.View=z;exports.Width=ka;exports.Words=Z;exports.X=U;exports.Y=F;exports.browse=q;exports.days=za;exports.default=me;exports.hours=xa;exports.min=oa;exports.sec=Na;