Commit graph

599 commits

Author SHA1 Message Date
Kijin Sung
5b530792e5 Initial implementation of auto upload on paste or drop 2024-04-24 22:45:36 +09:00
Kijin Sung
88ac7ef65d Disable clipboard image handling in CKEditor 2024-04-24 10:35:45 +09:00
Kijin Sung
117023817d Eliminate unnecessary AJAX calls to file.getFileList
에디터 로딩 직후, 파일 업로드 직후, 파일 삭제 직후
첨부목록 갱신을 위해 file.getFileList를 호출하도록 되어 있는데,
첨부목록을 직전 요청의 응답과 함께 반환하도록 변경하여
불필요한 AJAX 요청이 발생하지 않도록 하고, 로딩 속도를 개선함.
2024-04-16 22:38:53 +09:00
Kijin Sung
c235f6b8b3 Adjust min-height to Prevent layout shift when CKEditor is loaded
https://xetown.com/questions/1801094
2023-12-31 16:21:05 +09:00
Kijin Sung
7a8b62448d Add rx_ckeditor class to ckeditor wrapper div
https://xetown.com/questions/1801094
2023-12-30 20:15:04 +09:00
Kijin Sung
b299dd02dc Fix spurious "sandbox" attribute being added to all iframes, due to CKEditor change
https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-iframe_attributes
2023-12-12 18:55:55 +09:00
Kijin Sung
72ab8ea8fc Disable CKEditor 4.22 version check AJAX request 2023-10-26 23:10:05 +09:00
Kijin Sung
a6f918fbf9 Fix undefined variable 2023-09-25 22:06:55 +09:00
Kijin Sung
2fc94f55aa Ensure that CKEditor.timestamp is string 2023-09-25 10:33:39 +09:00
Kijin Sung
283380ed0f Replace CKEditor default LESS file with SCSS, and clean up related code in editor.html
- LESS 컴파일러 라이브러리 유지보수 중단으로, 모든 LESS는 SCSS로 변환 필요
- CKEditor 쪽에서 PHP 변수, JS 변수, CSS 변수 서로 전달하는 방식은 추가 개선 필요
2023-09-25 02:07:28 +09:00
Kijin Sung
31253cdb43 Fix #2181 regexp assertion compatibility with older browsers 2023-09-16 01:14:05 +09:00
Kijin Sung
c8638d2548 Change cache-busting query string format from ?YYYYMMDDHHMMSS to ?t=UnixTime
- 날짜, 유닉스 타임스탬프, 16진수(CKEditor) 등 여러 가지 포맷을 혼용하고 있던
  캐시 방지용 쿼리스트링의 형태를 "유닉스 타임스탬프"로 통일
- 표준 시간대 처리 등 은근히 많은 자원을 소모하는 date() 함수를 사용하지 않음
- t=를 붙여서 정상적인 쿼리스트링 구조가 나오도록 하여, 웹방화벽이나 CDN
  등에서 문제를 일으킬 가능성을 줄임
- 덤으로, 길이도 2바이트씩 짧아짐
2023-09-12 23:15:26 +09:00
Kijin Sung
68ee78f1f8 Update CKEditor timestamp if editor module config is updated #2173 2023-09-12 23:03:12 +09:00
Kijin Sung
b65c2b5c29 Replace xGetElementById() with document.getElementById() in CKEditor script
https://xetown.com/questions/1783129#comment_1783270
2023-08-31 13:24:12 +09:00
Kijin Sung
9d44192889 Convert simpleeditor stylesheet to SCSS 2023-08-31 02:44:38 +09:00
Kijin Sung
6afb32f652 Fix SimpleEditor not recognizing latest YouTube iframe code #2159 2023-08-06 18:24:28 +09:00
Kijin Sung
ed7a0bd4e2 Fix RVE-2023-1 editor module XSS 2023-07-05 01:34:48 +09:00
Kijin Sung
42baab1c2c Set CKEDITOR.toolbarMode to make the current setting available in config.js 2022-12-20 12:37:08 +09:00
Kijin Sung
995068830c Fix #2037 missing "strike" button in CKEditor simple toolbar 2022-12-15 23:04:30 +09:00
Kijin Sung
78d1b6966a Fix image_link editor component popup loading even if image_link component is disabled 2021-12-31 00:19:30 +09:00
Kijin Sung
c87ddd5894 Fix #1733 insufficient unset of layout CSS values inside editor iframe 2021-06-22 00:32:28 +09:00
Kijin Sung
8cd650abfe Fix CKEditor auto dark mode not working in iOS with divarea plugin
https://xetown.com/questions/1506918
2021-01-19 21:37:03 +09:00
Kijin Sung
44ecff5e55 Fix #1556 fix auto-detection of dark mode even when it is disabled 2021-01-10 00:39:53 +09:00
Min-Soo Kim
bd7ba13d9a
자동저장 메시지 색상도 다크모드 적용 2021-01-08 02:14:05 +09:00
Kijin Sung
3258aec031 Revert e725455a 2021-01-08 02:12:24 +09:00
Min-Soo Kim
ea6d0c1b8a
!important 로 의도한 효과 내도록 수정
moono-dark 가 아닌 컬러셋과 동일한 효과가 나도록 선택자를 추가했습니다.
2021-01-08 01:56:59 +09:00
Min-Soo Kim
e725455a0e
Merge branch 'editor-dark' into pr/editor-dark-mode 2021-01-08 01:26:58 +09:00
Kijin Sung
98393b033d Remove !important 2021-01-07 23:29:53 +09:00
Kijin Sung
d9e44117cc Apply dark mode to Moono Lisa dialogs 2021-01-07 23:27:29 +09:00
Kijin Sung
7c1887b8a7 .color_scheme_dark 참조하도록 정리 2021-01-07 22:47:30 +09:00
Min-Soo Kim
9394694830
Moono-lisa darkmode 제안. 2021-01-07 11:46:35 +09:00
Min-Soo Kim
26558e4c6c
Moono-lisa 에 대한 다크모드 제안. 2021-01-07 11:44:59 +09:00
Min-Soo Kim
b45ef9f698 Fix moono-lisa darkmode function 2021-01-07 11:40:33 +09:00
Min-Soo Kim
c4cb246b3d Add uicolor settings
uicolor 설정을 이용해서 moono-lisa 스킨의 다크모드를 구현합니다.
2021-01-07 11:32:43 +09:00
Kijin Sung
9587cfd067 Fix timing issues when detecting dark mode 2021-01-06 23:41:28 +09:00
Kijin Sung
e7b49baf13 Support automatic switching to dark skin in CKEditor and SimpleEditor 2021-01-06 23:35:51 +09:00
Kijin Sung
6be4a0531d Fix #1527 autosave not working in CKEditor 2020-12-25 23:30:42 +09:00
Kijin Sung
2badc1dc69 Refresh timestamp on all CKEditor plugins if CKEditor itself is updated 2020-12-15 02:37:30 +09:00
Kijin Sung
15e66c2c6a Fix invalid default_font_size javascript error
https://xetown.com/questions/1475074
2020-10-31 15:32:45 +09:00
conory
8ccfd963b6 rhymix_content class 추가 2020-09-17 20:40:06 +09:00
Kijin Sung
1956089f8c Fix #1375 #1390 force some default styles on editor content area 2020-08-20 16:08:00 +09:00
Min-Soo Kim
c3d40f733d
에디터에 스크롤이 생기는 문제 해결 (#1377)
https://github.com/rhymix/rhymix/issues/1375
2020-08-07 09:12:11 +09:00
Kijin Sung
1e2317f313 Fix #1374 incorrect insertion of audio/video links in SimpleEditor 2020-08-03 13:37:34 +09:00
Kijin Sung
b97ca16b6c Add .editable class to simpleeditor div 2020-07-27 21:57:47 +09:00
Kijin Sung
6c0e3ace1f Fix #1361 always add at least one <p> tag 2020-07-23 20:25:00 +09:00
Kijin Sung
8ef75ea63f Fix $css_content being set to null in iOS 2020-07-23 20:22:17 +09:00
Kijin Sung
e0f5678aba Add option to select different editors for PC and mobile 2020-07-09 00:23:54 +09:00
Kijin Sung
f471e16636 Remove most tags and attributes not needed in this editor 2020-07-08 19:58:10 +09:00
Kijin Sung
237637b2ef Fix ugly border around contenteditable div in Chrome 2020-07-08 19:46:37 +09:00
Kijin Sung
6a4131ffd3 Allow autoinsert to work in IE11 2020-07-08 19:45:49 +09:00