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
Kijin Sung
67b39cf5d0
Add empty paragraph after audio/video tags
2020-07-08 19:18:37 +09:00
Kijin Sung
e448c7a529
Preserve <br> for empty paragraphs
2020-07-08 19:05:36 +09:00
Kijin Sung
9b69cd2aca
Fix empty lines being removed after saving
2020-07-08 16:20:19 +09:00
Kijin Sung
a2c763661c
Add a simple editor based on contenteditable
2020-07-08 15:34:04 +09:00
Kijin Sung
ece4ce90c2
Exclude enterkey plugin in iOS
2020-07-08 15:33:16 +09:00
Kijin Sung
8d05a674f5
Fix #1335 support autoinsert option by file type
2020-07-03 23:56:37 +09:00
Min-Soo Kim
588f7a6df8
에디터 스킨 스타일 추가 수정 (미세 수정) ( #1320 )
...
#1308 에 대한 추가 수정입니다.
2020-06-17 21:29:08 +09:00
Min-Soo Kim
e7cb5ede82
에디터 스타일과 기본 스타일의 합병
...
* 기본 에디터 스타일과 기본 스타일 설정이 충돌하는 경우가 많았습니다.
- 기본 스타일을 지정했는데, 기본 에디터 스타일 내의 스타일 지정이 있는 경우 반영이 안되는 경우, 또는 기본 에디터 스타일을 변경했는데 기본 스타일 설정 때문에 반영이 적절하게 되지 않는 경우 등.
* 기본 에디터 스타일에서도 less 또는 sass를 사용하도록 하고 싶었지만, 위지윅 에디터에서 본문에 나타날 스타일을 그대로 보여주는데 한계가 있었습니다.
- 기본 에디터 스타일을 위지윅 에디터 내에서 나타내기 위해서 변칙적인 방법이 많이 활용되었습니다. 때문에 실제 본문에서 적용되는 스타일 시트의 우선순위와 위지윅 에디터 내에서 적용되는 스타일 시트의 우선순위에 차이가 있었습니다. 이 차이는 실제 보여지는 스타일과 작성하는 에디터 내의 스타일 차이를 크게 만들 가능성이 있었습니다.
* 기능의 의미가 많이 퇴색되었고, 의미 전달이 명확하지 않은 기능이었습니다.
- 기능상 기본 에디터 스타일과 기본 스타일은 서로 겹치는 영역의 기능입니다. 기본으로 포함된 두 에디터 스타일 간에 차이가 크지 않기도 해서 어떤 기능인지 사용자가 알아채기도 어려웠습니다. 자료실에 배포되고 있는 에디터 스타일도 대단히 적었습니다.
* 게시판이나 각 글의 모듈 스킨에서 지정하는 스타일과 충돌할 가능성도 있습니다.
따라서, 에디터 스타일이 의도한 것 처럼 글의 스타일에 대한 관리자 통제 기능은 유지하면서, 다른 기능과 중복되거나 충돌할 수 있는 기능을 정리합니다.
가능한 많은 환경에서 테스트 하였으나, 추가로 이와 관련한 의견이 있을 경우 merge 후에도 계속 반영 해나가겠습니다.
2020-06-16 00:33:19 +09:00