Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 고차함수
- Promise
- ios
- input
- 애니메이션
- ajax
- 이벤트
- IntersectionObserver
- scroll
- event
- 이벤트 위임
- 배열
- 클로저
- Push
- ES6
- object
- 모듈
- array
- async
- 비동기
- json
- Flex
- slice
- This
- animation
- 문자열
- dom
- 스크롤
- 이벤트 루프
- video
Archives
- Today
- Total
목록에디터 (1)
FEDev Story
[자바스크립트] 에디터 만들기(document.execCommand())
document.execCommand('속성'); HTML5 부터 지원되는 document.execCommand() 함수 입니다.현재 선택영역의 텍스트를 인자로 받은 값을 통해 변환시킵니다.(여기서 선택 영역이란 마우스로 텍스트를 드래그했을 때의 파란 박스 영역을 말합니다.) 123456789101112131415document.execCommand('Italic') // 기울이기document.execCommand('Underline') // 밑줄document.execCommand('StrikeThrough') // 중간줄document.execCommand('Cut') // 자르기document.execCommand('Copy') // 복사하기document.execCommand('Paste') /..
Web.Dev
2018. 8. 3. 18:13