본문 바로가기

IT관련/REACT6

CKEditor 툴바 커스텀(React) "이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다." - 참조 stackoverflow.com/questions/57576441/how-to-configure-ckeditor-toolbar-in-react-js How to configure Ckeditor Toolbar in React JS? I wanted to configure the Ckeditor toolbar in React, but I don't know where is the property details in the documentation. Ckeditor React integration documentation didn't help because it doesn't co... stackoverflo.. 2021. 1. 18.
nhn / tui.grid 선택한 rows id 값 가져오기 - 패키지 설치법 npm install --save @toast-ui/react-grid - rows id 가져오기 gridClick = (object) => { for (var key in object) { console.log("key: " + key + " / " + object[key]) } 위와 같이 해서 object key 값을 확인하고, 해당 키 값을 직접 오브젝트 어레이에 텍스트로 넣으면 값이 리턴된다. 오브젝트로 리턴되는 경우 한번더 키값을 잦아 바인딩 하면 값이 턴된다. console.log("rowKey : " + object['rowKey']) } 예시) alert(object['rowKey']) alert(this.state.rows[object['rowKey']]) alert(t.. 2021. 1. 11.
React Html 데이터 출력하기(print) let win = window.open(); win.document.write('Html Data'); win.print() win.close() 위와 같이 새로운 탭이 활성화 되면서 프린트 화면이 표출되고 pdf를 선택하여 저장할 수 있다. "이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다." 주식의 장기투자에 대한 자신의 경험을 바탕으로 책을 짓었군요! 한번쯤 읽어봐야 할 책인듯 합니다. 성장주 중심의 중저가주를 발굴하여 최소 100% 즉 2배 이상 오를 종목을 연구하는데 도움이 될거 같습니다. - 참조 stackoverrun.com/ko/q/11879832 javascript - React + Electron HTML 인쇄 방법? 나는 반응과 전자를 사용하고있다.. 2020. 12. 9.
react에서 Html을 docx파일로 받기(Html -> docx 변환) - 패키지 설치 npm install html-docx-js-typescript --save-dev - include import { asBlob } from 'html-docx-js-typescript' // if you want to save the docx file, you need import 'file-saver' import { saveAs } from 'file-saver' - 예제 handleClickWordSaveButton = () => { asBlob('html data').then(data => { saveAs(data, '문서명' + '.docx') // save as docx file }) // asBlob() return Promise } "이 포스팅은 쿠팡 파트너스 활동의 일.. 2020. 12. 9.