
1. ckeditor5소스 받고 2. 화면에 에디터 뜨게 하고 3. 새글 저장, 조회, 수정 화면 까지. 1. ckeditor5 소스 받기 여러 블로그 따라하면 일단 뜨기는 함. 근데 글자색깔 바꾸는게 없던가,, 사진 첨부가 안되던가.. ckeditor 홈페이지 가서 영어를 열심히 해석한 결과, "Customize and build your CKEditor 5" 라는 제목의 화면이 있음. https://ckeditor.com/ckeditor-5/online-builder/ CKEditor 5 Online Builder | Create your own editor in 5 steps Create your own CKEditor 5 build with customized plugins, toolbar and..
function cjj2han(cho,jung,jong) { return String.fromCharCode(0xAC00 + 21*28*cho + 28*jung + jong); } console.log(cjj2han(0,0,0)); // 가 console.log(cjj2han(0,2,0)); // 갸 console.log(cjj2han(2,0,0)); // 나 초성 0~18, 중성 0~20, 종성 0~27 인데, 랜덤으로 돌려봤다. var cho = Math.floor(Math.random()*19); var jung = Math.floor(Math.random()*21); var jong = Math.floor(Math.random()*28); console.log(cjj2han(cho,jung,jon..
출처: 인프런 유인동님 '자바스크립트로 알아보는 함수형 프로그래밍' 강의 1. _curry function _curry(fn) { return function(a, b) { return arguments.length == 2 ? fn(a, b) : function(b) { return fn(a, b); }; } } auguments로 2개 받는 함수를 보내야 함. function (a,b) { return a + b; } 같은? _curry( function(a,b) { return a + b; } ); 또는 var sum = function(a,b) { return a + b; }; _curry(sum); 여기에 parameter 2개를 보낸다면? _curry(sum)(x,y) = "function(a..