Commit graph

1415 commits

Author SHA1 Message Date
Kijin Sung
e15c913b21 Rename rx_upload CKEditor plugin to rx_paste, and move paste handler from editor.app.js to it 2024-04-30 22:18:11 +09:00
Kijin Sung
3e5951174e Put autosave-related tags together in the same place 2024-04-30 01:57:08 +09:00
Kijin Sung
4f94299414 Clean up unnecessary files inside CKEditor skin directory 2024-04-30 01:52:03 +09:00
Kijin Sung
579201fe7c Separate editor and uploader related PHP and JS code into their own native files 2024-04-30 01:42:37 +09:00
Kijin Sung
ae7920a276 Fix #2309 support Blade template as main file of editor skin 2024-04-28 22:29:45 +09:00
Kijin Sung
b9ea0e65b0 General cleanup of DOM traversal code in editor & uploader (should also fix #2303) 2024-04-26 13:35:20 +09:00
Kijin Sung
7dd3dd3838 Clean up javascript mixed with template syntax in file_upload.html 2024-04-25 23:19:32 +09:00
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
510cbf91ff Fix current time being displayed incorrectly (e.g. 5:9 instead of 05:09) in editor autosave notification 2024-01-05 12:19:45 +09:00
Kijin Sung
010ba87c5b Fix undefined variables and properties 2024-01-04 14:45:49 +09:00
Kijin Sung
6c113c22ed Fix unnecessary assignment by reference, which causes E_NOTICE 2024-01-04 10:25:25 +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
9a6524d63d Allow pre-setting upload_target_type for each editor 2023-11-19 21:29:15 +09:00
Kijin Sung
8176bdb845 Fix undefined variables in several module config templates 2023-11-09 01:37:38 +09:00
Kijin Sung
426027509c Use raw bytes, not MB, when setting allowed filesize in session 2023-11-06 08:39:15 +09:00
Kijin Sung
a647fff6b8 Allow setting file size and extension limits in setUploadInfo() 2023-11-06 08:24:04 +09:00
Kijin Sung
4bdadcdf2c Fix potentially undefined properties in EditorModel::getEditor() 2023-11-06 07:57:04 +09:00
Kijin Sung
990343d906 Set editor_mid automatically based on module_srl 2023-11-03 16:42:56 +09:00
Kijin Sung
e1cfb09652 Set proper module_srl and mid when uploading in member and communication modules 2023-11-02 21:22:43 +09:00
Kijin Sung
bffa50dd15 Fix RVE-2023-6 (validate module_srl when uploading/deleting) 2023-11-02 13:19:41 +09:00
Kijin Sung
72ab8ea8fc Disable CKEditor 4.22 version check AJAX request 2023-10-26 23:10:05 +09:00
Kijin Sung
df6fdd3bc3 Fix potential type error in editor component XML handling logic 2023-10-03 16:19:04 +09:00
Kijin Sung
7444bc3f1d Fix capitalization of class names 2023-10-02 22:55:41 +09:00
Kijin Sung
f3bc9a2f03 Clean up trigger registration code in document, comment, file, editor modules 2023-10-02 22:28:16 +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
8054564b37 Delete dispEditorPreview action that is no longer used 2023-09-05 01:13:19 +09:00
Kijin Sung
f3d753c6d0 Remove most references to x.js in core modules 2023-08-31 23:00:10 +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
84bae83d68 Convert remaining LESS files to SCSS 2023-08-31 02:42:34 +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
581097a9e3 Fix deprecation warnings in PHP 8.2 2023-05-01 00:05:56 +09:00
Kijin Sung
37b0d3a1e6 Remove trailing whitespace 2023-01-30 21:43:21 +09:00
Kijin Sung
b6d78becc9 Fix deprecation warnings in PHP 8.2 2023-01-16 22:21:57 +09:00
Kijin Sung
db3fb20a52 Fix optional parameter before required parameter 2022-12-27 22:54:31 +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
BJRambo
2d1164e670 베트남어 번역 추가 및 수정 2022-10-26 17:28:59 +09:00
Kijin Sung
3dfd78b729 RVE-2022-3 filter skin parameter in EditorView::dispEditorSkinColorset() 2022-06-28 20:08:06 +09:00
Kijin Sung
8224eb4027 Fix undefined property warning in PHP 8.0 2022-03-24 15:54:40 +09:00