Commit graph

1441 commits

Author SHA1 Message Date
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
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
e3541c046b Prevent disabled editor component in editor popup 2021-12-31 00:06:13 +09:00
Kijin Sung
d49614d59c Disable all editor components except poll_maker by default #1786 2021-09-10 23:49:55 +09:00
Kijin Sung
5311b73d68 Fix #1786 don't add width/height styles if they are zero 2021-09-10 23:41:57 +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
9412cc4a22 Fix #1628 error in PHP 8.0 in editor component setup screen 2021-02-22 21:11:39 +09:00
Kijin Sung
c6f728cec6 Fix warnings in PHP 8.0 related to editor components 2021-02-09 01:21:53 +09:00
Kijin Sung
4bb823ddfe Disable exportpdf CKEditor plugin by default #1585 2021-01-29 10:32:59 +09:00
Kijin Sung
b388161c03 If there are multiple saved documents, only use one 2021-01-29 10:32:18 +09:00
Kijin Sung
53a3096591 Rearrange CKEditor full toolbar and remove extra buttons
- CKEditor 업데이트 후 새로 추가된 버튼들 때문에 메뉴 줄이 넘어가는 문제 수정
- 웹상에서 활용도가 높지 않은 플래시 버튼, 새 페이지 버튼 등을 제거
- 관련이슈: #1585
2021-01-29 10:30:15 +09:00
Kijin Sung
cc871c5474 Shorten ipaddress field to 60 chars in most modules 2021-01-19 21:59:33 +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
a51ea6fbe4 Fix comment editor skin not being saved in module part config
https://xetown.com/questions/1506918
2021-01-12 01:30:16 +09:00
Kijin Sung
b7856e5683 Fix syntax error in emoticon component 2021-01-10 16:23:16 +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
Kijin Sung
e3fa780295 Add button to restore CKEditor remove_plugins to default value 2021-01-09 22:40:37 +09:00
Kijin Sung
cfca3a11fd
Merge pull request #1546 from kijin/pr/editor-dark-mode
에디터에서 다크모드 자동 감지
2021-01-08 11:43:15 +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
4dcdb9e4bd Fix various warnings in PHP 8.0 2021-01-08 00:27:00 +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