suneditor 3.0.0-beta.9 → 3.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -57
- package/dist/suneditor-contents.min.css +1 -0
- package/dist/suneditor.min.css +1 -1
- package/dist/suneditor.min.js +1 -1
- package/package.json +110 -61
- package/src/assets/design/color.css +36 -17
- package/src/assets/design/size.css +2 -0
- package/src/assets/icons/defaultIcons.js +17 -2
- package/src/assets/suneditor-contents.css +51 -16
- package/src/assets/suneditor.css +116 -43
- package/src/core/config/contextProvider.js +288 -0
- package/src/core/config/eventManager.js +188 -0
- package/src/core/config/instanceCheck.js +59 -0
- package/src/core/config/optionProvider.js +452 -0
- package/src/core/editor.js +166 -1637
- package/src/core/event/actions/index.js +229 -0
- package/src/core/event/effects/common.registry.js +74 -0
- package/src/core/event/effects/keydown.registry.js +573 -0
- package/src/core/event/effects/ruleHelpers.js +148 -0
- package/src/core/event/eventOrchestrator.js +944 -0
- package/src/core/event/executor.js +27 -0
- package/src/core/{base/eventHandlers → event/handlers}/handler_toolbar.js +27 -28
- package/src/core/{base/eventHandlers → event/handlers}/handler_ww_clipboard.js +10 -8
- package/src/core/{base/eventHandlers → event/handlers}/handler_ww_dragDrop.js +22 -23
- package/src/core/event/handlers/handler_ww_input.js +75 -0
- package/src/core/event/handlers/handler_ww_key.js +228 -0
- package/src/core/event/handlers/handler_ww_mouse.js +166 -0
- package/src/core/event/ports.js +211 -0
- package/src/core/event/reducers/keydown.reducer.js +97 -0
- package/src/core/event/rules/keydown.rule.arrow.js +63 -0
- package/src/core/event/rules/keydown.rule.backspace.js +208 -0
- package/src/core/event/rules/keydown.rule.delete.js +132 -0
- package/src/core/event/rules/keydown.rule.enter.js +150 -0
- package/src/core/event/rules/keydown.rule.tab.js +35 -0
- package/src/core/event/support/defaultLineManager.js +136 -0
- package/src/core/event/support/selectionState.js +204 -0
- package/src/core/kernel/coreKernel.js +320 -0
- package/src/core/kernel/kernelInjector.js +19 -0
- package/src/core/kernel/store.js +173 -0
- package/src/core/{class → logic/dom}/char.js +42 -45
- package/src/core/logic/dom/format.js +1075 -0
- package/src/core/{class → logic/dom}/html.js +743 -624
- package/src/core/logic/dom/inline.js +1847 -0
- package/src/core/logic/dom/listFormat.js +601 -0
- package/src/core/{class → logic/dom}/nodeTransform.js +92 -72
- package/src/core/{class → logic/dom}/offset.js +254 -317
- package/src/core/logic/dom/selection.js +754 -0
- package/src/core/logic/panel/menu.js +389 -0
- package/src/core/logic/panel/toolbar.js +449 -0
- package/src/core/logic/panel/viewer.js +761 -0
- package/src/core/logic/shell/_commandExecutor.js +380 -0
- package/src/core/logic/shell/commandDispatcher.js +241 -0
- package/src/core/logic/shell/component.js +970 -0
- package/src/core/logic/shell/focusManager.js +110 -0
- package/src/core/{base → logic/shell}/history.js +110 -60
- package/src/core/logic/shell/pluginManager.js +363 -0
- package/src/core/logic/shell/shortcuts.js +130 -0
- package/src/core/logic/shell/ui.js +904 -0
- package/src/core/schema/context.js +66 -0
- package/src/core/schema/frameContext.js +160 -0
- package/src/core/schema/options.js +628 -0
- package/src/core/section/constructor.js +194 -500
- package/src/core/section/documentType.js +297 -222
- package/src/events.js +808 -543
- package/src/helper/clipboard.js +27 -16
- package/src/helper/converter.js +100 -78
- package/src/helper/dom/domCheck.js +56 -30
- package/src/helper/dom/domQuery.js +159 -89
- package/src/helper/dom/domUtils.js +114 -49
- package/src/helper/dom/index.js +5 -1
- package/src/helper/env.js +26 -26
- package/src/helper/index.js +1 -1
- package/src/helper/keyCodeMap.js +25 -28
- package/src/helper/numbers.js +4 -8
- package/src/helper/unicode.js +4 -8
- package/src/hooks/base.js +307 -0
- package/src/hooks/params.js +130 -0
- package/src/interfaces/contracts.js +227 -0
- package/src/interfaces/index.js +7 -0
- package/src/interfaces/plugins.js +239 -0
- package/src/langs/ckb.js +4 -4
- package/src/langs/cs.js +4 -4
- package/src/langs/da.js +4 -4
- package/src/langs/de.js +4 -4
- package/src/langs/en.js +4 -4
- package/src/langs/es.js +4 -4
- package/src/langs/fa.js +4 -4
- package/src/langs/fr.js +4 -4
- package/src/langs/he.js +4 -4
- package/src/langs/hu.js +4 -4
- package/src/langs/it.js +4 -4
- package/src/langs/ja.js +4 -4
- package/src/langs/km.js +4 -4
- package/src/langs/ko.js +4 -4
- package/src/langs/lv.js +4 -4
- package/src/langs/nl.js +4 -4
- package/src/langs/pl.js +4 -4
- package/src/langs/pt_br.js +13 -13
- package/src/langs/ro.js +4 -4
- package/src/langs/ru.js +4 -4
- package/src/langs/se.js +4 -4
- package/src/langs/tr.js +4 -4
- package/src/langs/uk.js +4 -4
- package/src/langs/ur.js +4 -4
- package/src/langs/zh_cn.js +4 -4
- package/src/modules/{Browser.js → contract/Browser.js} +119 -128
- package/src/modules/{ColorPicker.js → contract/ColorPicker.js} +132 -142
- package/src/modules/contract/Controller.js +589 -0
- package/src/modules/{Figure.js → contract/Figure.js} +591 -411
- package/src/modules/{HueSlider.js → contract/HueSlider.js} +125 -86
- package/src/modules/contract/Modal.js +357 -0
- package/src/modules/contract/index.js +9 -0
- package/src/modules/manager/ApiManager.js +197 -0
- package/src/modules/{FileManager.js → manager/FileManager.js} +128 -160
- package/src/modules/manager/index.js +5 -0
- package/src/modules/{ModalAnchorEditor.js → ui/ModalAnchorEditor.js} +108 -138
- package/src/modules/{SelectMenu.js → ui/SelectMenu.js} +119 -120
- package/src/modules/{_DragHandle.js → ui/_DragHandle.js} +1 -1
- package/src/modules/ui/index.js +6 -0
- package/src/plugins/browser/audioGallery.js +23 -26
- package/src/plugins/browser/fileBrowser.js +25 -28
- package/src/plugins/browser/fileGallery.js +20 -23
- package/src/plugins/browser/imageGallery.js +24 -23
- package/src/plugins/browser/videoGallery.js +27 -29
- package/src/plugins/command/blockquote.js +11 -17
- package/src/plugins/command/exportPDF.js +26 -26
- package/src/plugins/command/fileUpload.js +138 -133
- package/src/plugins/command/list_bulleted.js +48 -44
- package/src/plugins/command/list_numbered.js +48 -44
- package/src/plugins/dropdown/align.js +64 -50
- package/src/plugins/dropdown/backgroundColor.js +34 -35
- package/src/plugins/dropdown/{formatBlock.js → blockStyle.js} +43 -37
- package/src/plugins/dropdown/font.js +50 -36
- package/src/plugins/dropdown/fontColor.js +34 -35
- package/src/plugins/dropdown/hr.js +55 -50
- package/src/plugins/dropdown/layout.js +20 -15
- package/src/plugins/dropdown/lineHeight.js +46 -30
- package/src/plugins/dropdown/list.js +32 -33
- package/src/plugins/dropdown/paragraphStyle.js +40 -34
- package/src/plugins/dropdown/table/index.js +915 -0
- package/src/plugins/dropdown/table/render/table.html.js +308 -0
- package/src/plugins/dropdown/table/render/table.menu.js +121 -0
- package/src/plugins/dropdown/table/services/table.cell.js +465 -0
- package/src/plugins/dropdown/table/services/table.clipboard.js +414 -0
- package/src/plugins/dropdown/table/services/table.grid.js +504 -0
- package/src/plugins/dropdown/table/services/table.resize.js +463 -0
- package/src/plugins/dropdown/table/services/table.selection.js +466 -0
- package/src/plugins/dropdown/table/services/table.style.js +844 -0
- package/src/plugins/dropdown/table/shared/table.constants.js +109 -0
- package/src/plugins/dropdown/table/shared/table.utils.js +219 -0
- package/src/plugins/dropdown/template.js +20 -15
- package/src/plugins/dropdown/textStyle.js +28 -22
- package/src/plugins/field/mention.js +54 -49
- package/src/plugins/index.js +5 -5
- package/src/plugins/input/fontSize.js +100 -97
- package/src/plugins/input/pageNavigator.js +13 -10
- package/src/plugins/modal/audio.js +208 -219
- package/src/plugins/modal/drawing.js +99 -104
- package/src/plugins/modal/embed.js +323 -312
- package/src/plugins/modal/image/index.js +942 -0
- package/src/plugins/modal/image/render/image.html.js +150 -0
- package/src/plugins/modal/image/services/image.size.js +198 -0
- package/src/plugins/modal/image/services/image.upload.js +216 -0
- package/src/plugins/modal/image/shared/image.constants.js +20 -0
- package/src/plugins/modal/link.js +74 -54
- package/src/plugins/modal/math.js +126 -119
- package/src/plugins/modal/video/index.js +858 -0
- package/src/plugins/modal/video/render/video.html.js +131 -0
- package/src/plugins/modal/video/services/video.size.js +281 -0
- package/src/plugins/modal/video/services/video.upload.js +92 -0
- package/src/plugins/popup/anchor.js +57 -49
- package/src/suneditor.js +73 -61
- package/src/themes/cobalt.css +155 -0
- package/src/themes/dark.css +143 -120
- package/src/typedef.js +214 -63
- package/types/assets/icons/defaultIcons.d.ts +8 -0
- package/types/assets/suneditor-contents.css.d.ts +1 -0
- package/types/assets/suneditor.css.d.ts +1 -0
- package/types/core/config/contextProvider.d.ts +148 -0
- package/types/core/config/eventManager.d.ts +68 -0
- package/types/core/config/instanceCheck.d.ts +33 -0
- package/types/core/config/optionProvider.d.ts +147 -0
- package/types/core/editor.d.ts +27 -586
- package/types/core/event/actions/index.d.ts +50 -0
- package/types/core/event/effects/common.registry.d.ts +56 -0
- package/types/core/event/effects/keydown.registry.d.ts +80 -0
- package/types/core/event/effects/ruleHelpers.d.ts +36 -0
- package/types/core/event/eventOrchestrator.d.ts +191 -0
- package/types/core/event/executor.d.ts +13 -0
- package/types/core/event/handlers/handler_toolbar.d.ts +38 -0
- package/types/core/event/handlers/handler_ww_clipboard.d.ts +36 -0
- package/types/core/event/handlers/handler_ww_dragDrop.d.ts +26 -0
- package/types/core/event/handlers/handler_ww_input.d.ts +38 -0
- package/types/core/event/handlers/handler_ww_key.d.ts +40 -0
- package/types/core/event/handlers/handler_ww_mouse.d.ts +47 -0
- package/types/core/event/ports.d.ts +256 -0
- package/types/core/event/reducers/keydown.reducer.d.ts +84 -0
- package/types/core/event/rules/keydown.rule.arrow.d.ts +19 -0
- package/types/core/event/rules/keydown.rule.backspace.d.ts +18 -0
- package/types/core/event/rules/keydown.rule.delete.d.ts +18 -0
- package/types/core/event/rules/keydown.rule.enter.d.ts +18 -0
- package/types/core/event/rules/keydown.rule.tab.d.ts +18 -0
- package/types/core/event/support/defaultLineManager.d.ts +22 -0
- package/types/core/event/support/selectionState.d.ts +29 -0
- package/types/core/kernel/coreKernel.d.ts +219 -0
- package/types/core/kernel/kernelInjector.d.ts +16 -0
- package/types/core/kernel/store.d.ts +170 -0
- package/types/core/logic/dom/char.d.ts +46 -0
- package/types/core/logic/dom/format.d.ts +234 -0
- package/types/core/logic/dom/html.d.ts +290 -0
- package/types/core/logic/dom/inline.d.ts +93 -0
- package/types/core/logic/dom/listFormat.d.ts +101 -0
- package/types/core/logic/dom/nodeTransform.d.ts +110 -0
- package/types/core/logic/dom/offset.d.ts +335 -0
- package/types/core/logic/dom/selection.d.ts +165 -0
- package/types/core/logic/panel/menu.d.ts +93 -0
- package/types/core/logic/panel/toolbar.d.ts +128 -0
- package/types/core/logic/panel/viewer.d.ts +89 -0
- package/types/core/logic/shell/_commandExecutor.d.ts +18 -0
- package/types/core/logic/shell/commandDispatcher.d.ts +65 -0
- package/types/core/logic/shell/component.d.ts +182 -0
- package/types/core/logic/shell/focusManager.d.ts +31 -0
- package/types/core/{base → logic/shell}/history.d.ts +13 -12
- package/types/core/logic/shell/pluginManager.d.ts +115 -0
- package/types/core/logic/shell/shortcuts.d.ts +131 -0
- package/types/core/logic/shell/ui.d.ts +261 -0
- package/types/core/schema/context.d.ts +104 -0
- package/types/core/schema/frameContext.d.ts +320 -0
- package/types/core/schema/options.d.ts +1241 -0
- package/types/core/section/constructor.d.ts +117 -652
- package/types/core/section/documentType.d.ts +43 -61
- package/types/events.d.ts +796 -65
- package/types/helper/clipboard.d.ts +5 -4
- package/types/helper/converter.d.ts +55 -43
- package/types/helper/dom/domCheck.d.ts +27 -19
- package/types/helper/dom/domQuery.d.ts +76 -57
- package/types/helper/dom/domUtils.d.ts +62 -39
- package/types/helper/dom/index.d.ts +87 -1
- package/types/helper/env.d.ts +16 -13
- package/types/helper/index.d.ts +8 -2
- package/types/helper/keyCodeMap.d.ts +24 -23
- package/types/helper/numbers.d.ts +4 -6
- package/types/helper/unicode.d.ts +4 -3
- package/types/hooks/base.d.ts +239 -0
- package/types/hooks/params.d.ts +65 -0
- package/types/index.d.ts +20 -117
- package/types/interfaces/contracts.d.ts +183 -0
- package/types/interfaces/index.d.ts +3 -0
- package/types/interfaces/plugins.d.ts +168 -0
- package/types/langs/_Lang.d.ts +2 -2
- package/types/langs/index.d.ts +2 -2
- package/types/modules/contract/Browser.d.ts +262 -0
- package/types/modules/contract/ColorPicker.d.ts +99 -0
- package/types/modules/contract/Controller.d.ts +204 -0
- package/types/modules/contract/Figure.d.ts +529 -0
- package/types/modules/{HueSlider.d.ts → contract/HueSlider.d.ts} +39 -28
- package/types/modules/contract/Modal.d.ts +62 -0
- package/types/modules/contract/index.d.ts +7 -0
- package/types/modules/manager/ApiManager.d.ts +106 -0
- package/types/modules/manager/FileManager.d.ts +124 -0
- package/types/modules/manager/index.d.ts +3 -0
- package/types/modules/ui/ModalAnchorEditor.d.ts +152 -0
- package/types/modules/ui/SelectMenu.d.ts +107 -0
- package/types/modules/{_DragHandle.d.ts → ui/_DragHandle.d.ts} +1 -0
- package/types/modules/ui/index.d.ts +4 -0
- package/types/plugins/browser/audioGallery.d.ts +33 -41
- package/types/plugins/browser/fileBrowser.d.ts +42 -50
- package/types/plugins/browser/fileGallery.d.ts +33 -41
- package/types/plugins/browser/imageGallery.d.ts +30 -37
- package/types/plugins/browser/videoGallery.d.ts +33 -41
- package/types/plugins/command/blockquote.d.ts +4 -21
- package/types/plugins/command/exportPDF.d.ts +23 -33
- package/types/plugins/command/fileUpload.d.ts +80 -100
- package/types/plugins/command/list_bulleted.d.ts +9 -35
- package/types/plugins/command/list_numbered.d.ts +9 -35
- package/types/plugins/dropdown/align.d.ts +23 -46
- package/types/plugins/dropdown/backgroundColor.d.ts +35 -53
- package/types/plugins/dropdown/blockStyle.d.ts +45 -0
- package/types/plugins/dropdown/font.d.ts +18 -41
- package/types/plugins/dropdown/fontColor.d.ts +35 -53
- package/types/plugins/dropdown/hr.d.ts +26 -52
- package/types/plugins/dropdown/layout.d.ts +19 -25
- package/types/plugins/dropdown/lineHeight.d.ts +21 -39
- package/types/plugins/dropdown/list.d.ts +6 -34
- package/types/plugins/dropdown/paragraphStyle.d.ts +34 -45
- package/types/plugins/dropdown/table/index.d.ts +158 -0
- package/types/plugins/dropdown/table/render/table.html.d.ts +71 -0
- package/types/plugins/dropdown/table/render/table.menu.d.ts +59 -0
- package/types/plugins/dropdown/table/services/table.cell.d.ts +76 -0
- package/types/plugins/dropdown/table/services/table.clipboard.d.ts +26 -0
- package/types/plugins/dropdown/table/services/table.grid.d.ts +77 -0
- package/types/plugins/dropdown/table/services/table.resize.d.ts +72 -0
- package/types/plugins/dropdown/table/services/table.selection.d.ts +59 -0
- package/types/plugins/dropdown/table/services/table.style.d.ts +162 -0
- package/types/plugins/dropdown/table/shared/table.constants.d.ts +134 -0
- package/types/plugins/dropdown/table/shared/table.utils.d.ts +91 -0
- package/types/plugins/dropdown/template.d.ts +19 -25
- package/types/plugins/dropdown/textStyle.d.ts +23 -30
- package/types/plugins/field/mention.d.ts +66 -72
- package/types/plugins/index.d.ts +41 -40
- package/types/plugins/input/fontSize.d.ts +57 -96
- package/types/plugins/input/pageNavigator.d.ts +5 -8
- package/types/plugins/modal/audio.d.ts +60 -153
- package/types/plugins/modal/drawing.d.ts +16 -118
- package/types/plugins/modal/embed.d.ts +46 -166
- package/types/plugins/modal/image/index.d.ts +281 -0
- package/types/plugins/modal/image/render/image.html.d.ts +45 -0
- package/types/plugins/modal/image/services/image.size.d.ts +55 -0
- package/types/plugins/modal/image/services/image.upload.d.ts +24 -0
- package/types/plugins/modal/image/shared/image.constants.d.ts +17 -0
- package/types/plugins/modal/link.d.ts +46 -66
- package/types/plugins/modal/math.d.ts +17 -86
- package/types/plugins/modal/{video.d.ts → video/index.d.ts} +89 -221
- package/types/plugins/modal/video/render/video.html.d.ts +37 -0
- package/types/plugins/modal/video/services/video.size.d.ts +74 -0
- package/types/plugins/modal/video/services/video.upload.d.ts +19 -0
- package/types/plugins/popup/anchor.d.ts +8 -38
- package/types/suneditor.d.ts +55 -24
- package/types/typedef.d.ts +344 -228
- package/CONTRIBUTING.md +0 -186
- package/src/core/base/eventHandlers/handler_ww_key_input.js +0 -1200
- package/src/core/base/eventHandlers/handler_ww_mouse.js +0 -194
- package/src/core/base/eventManager.js +0 -1523
- package/src/core/class/component.js +0 -856
- package/src/core/class/format.js +0 -3433
- package/src/core/class/menu.js +0 -346
- package/src/core/class/selection.js +0 -610
- package/src/core/class/shortcuts.js +0 -98
- package/src/core/class/toolbar.js +0 -431
- package/src/core/class/ui.js +0 -424
- package/src/core/class/viewer.js +0 -750
- package/src/core/section/actives.js +0 -266
- package/src/core/section/context.js +0 -102
- package/src/editorInjector/_classes.js +0 -36
- package/src/editorInjector/_core.js +0 -87
- package/src/editorInjector/index.js +0 -73
- package/src/modules/ApiManager.js +0 -191
- package/src/modules/Controller.js +0 -474
- package/src/modules/Modal.js +0 -346
- package/src/modules/index.js +0 -14
- package/src/plugins/dropdown/table.js +0 -4034
- package/src/plugins/modal/image.js +0 -1376
- package/src/plugins/modal/video.js +0 -1226
- package/types/core/base/eventHandlers/handler_toolbar.d.ts +0 -41
- package/types/core/base/eventHandlers/handler_ww_clipboard.d.ts +0 -40
- package/types/core/base/eventHandlers/handler_ww_dragDrop.d.ts +0 -35
- package/types/core/base/eventHandlers/handler_ww_key_input.d.ts +0 -45
- package/types/core/base/eventHandlers/handler_ww_mouse.d.ts +0 -39
- package/types/core/base/eventManager.d.ts +0 -401
- package/types/core/class/char.d.ts +0 -61
- package/types/core/class/component.d.ts +0 -213
- package/types/core/class/format.d.ts +0 -623
- package/types/core/class/html.d.ts +0 -430
- package/types/core/class/menu.d.ts +0 -126
- package/types/core/class/nodeTransform.d.ts +0 -93
- package/types/core/class/offset.d.ts +0 -522
- package/types/core/class/selection.d.ts +0 -188
- package/types/core/class/shortcuts.d.ts +0 -142
- package/types/core/class/toolbar.d.ts +0 -189
- package/types/core/class/ui.d.ts +0 -164
- package/types/core/class/viewer.d.ts +0 -140
- package/types/core/section/actives.d.ts +0 -46
- package/types/core/section/context.d.ts +0 -45
- package/types/editorInjector/_classes.d.ts +0 -41
- package/types/editorInjector/_core.d.ts +0 -87
- package/types/editorInjector/index.d.ts +0 -69
- package/types/modules/ApiManager.d.ts +0 -125
- package/types/modules/Browser.d.ts +0 -326
- package/types/modules/ColorPicker.d.ts +0 -135
- package/types/modules/Controller.d.ts +0 -251
- package/types/modules/Figure.d.ts +0 -517
- package/types/modules/FileManager.d.ts +0 -202
- package/types/modules/Modal.d.ts +0 -111
- package/types/modules/ModalAnchorEditor.d.ts +0 -236
- package/types/modules/SelectMenu.d.ts +0 -194
- package/types/modules/index.d.ts +0 -26
- package/types/plugins/dropdown/formatBlock.d.ts +0 -55
- package/types/plugins/dropdown/table.d.ts +0 -627
- package/types/plugins/modal/image.d.ts +0 -451
- /package/{LICENSE → LICENSE.txt} +0 -0
package/package.json
CHANGED
|
@@ -1,13 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "suneditor",
|
|
3
|
-
"version": "3.0.0-
|
|
4
|
-
"description": "Vanilla
|
|
3
|
+
"version": "3.0.0-rc.2",
|
|
4
|
+
"description": "Vanilla JavaScript based WYSIWYG web editor",
|
|
5
5
|
"author": "Yi JiHong",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "src/suneditor.js",
|
|
8
|
+
"module": "src/suneditor.js",
|
|
8
9
|
"types": "types/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./types/index.d.ts",
|
|
13
|
+
"default": "./src/suneditor.js"
|
|
14
|
+
},
|
|
15
|
+
"./types": {
|
|
16
|
+
"types": "./types/typedef.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./plugins": {
|
|
19
|
+
"types": "./types/plugins/index.d.ts",
|
|
20
|
+
"default": "./src/plugins/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./langs/*": {
|
|
23
|
+
"types": "./types/langs/*.d.ts",
|
|
24
|
+
"default": "./src/langs/*.js"
|
|
25
|
+
},
|
|
26
|
+
"./css": {
|
|
27
|
+
"types": "./types/assets/suneditor.css.d.ts",
|
|
28
|
+
"default": "./src/assets/suneditor.css"
|
|
29
|
+
},
|
|
30
|
+
"./css/contents": {
|
|
31
|
+
"types": "./types/assets/suneditor-contents.css.d.ts",
|
|
32
|
+
"default": "./src/assets/suneditor-contents.css"
|
|
33
|
+
},
|
|
34
|
+
"./interfaces": {
|
|
35
|
+
"types": "./types/interfaces/index.d.ts",
|
|
36
|
+
"default": "./src/interfaces/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./src/*": "./src/*",
|
|
39
|
+
"./package.json": "./package.json"
|
|
40
|
+
},
|
|
9
41
|
"sideEffects": [
|
|
10
|
-
"./src/assets
|
|
42
|
+
"./src/assets/*.css"
|
|
11
43
|
],
|
|
12
44
|
"engines": {
|
|
13
45
|
"node": ">=14.0.0"
|
|
@@ -15,81 +47,96 @@
|
|
|
15
47
|
"scripts": {
|
|
16
48
|
"dev": "webpack-dev-server --config webpack/dev.js",
|
|
17
49
|
"start": "npm run dev",
|
|
18
|
-
"build:dev": "cross-env NODE_ENV=development webpack --config webpack/builder.js",
|
|
19
|
-
"build:prod": "cross-env NODE_ENV=production webpack --config webpack/builder.js",
|
|
20
|
-
"lint": "
|
|
50
|
+
"build:dev": "cross-env NODE_ENV=development webpack --config webpack/builder.js && cross-env NODE_ENV=development webpack --config webpack/builder-contents.js && rm -f dist/_suneditor-contents.js",
|
|
51
|
+
"build:prod": "cross-env NODE_ENV=production webpack --config webpack/builder.js && cross-env NODE_ENV=production webpack --config webpack/builder-contents.js && rm -f dist/_suneditor-contents.js",
|
|
52
|
+
"lint:type": "npx tsc --noEmit",
|
|
21
53
|
"lint:fix-js": "npx eslint \"src/**/*.js\" --fix",
|
|
22
|
-
"lint:fix-ts": "npx eslint
|
|
23
|
-
"lint:fix-all": "npx eslint \"src/**/*.js\"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"test": "
|
|
54
|
+
"lint:fix-ts": "npx eslint types/ --fix",
|
|
55
|
+
"lint:fix-all": "npx eslint \"src/**/*.js\" types/ --fix",
|
|
56
|
+
"lint": "npx eslint \"src/**/*.js\" types/ && npm run lint:type && npm run check:arch",
|
|
57
|
+
"ts-build": "npm run check:inject && (npx tsc || true) && barrelsby --config .barrelsby.json && node scripts/ts-build/format-index.cjs && node scripts/ts-build/fix-langs.cjs && node scripts/ts-build/wrap-dts.cjs && node scripts/ts-build/rename-index.cjs && node scripts/ts-build/interfaces-convert.cjs && node scripts/ts-build/gen-options-dts.cjs && node scripts/ts-build/gen-css-dts.cjs && node scripts/ts-build/inject-typedef-import.cjs && npm run lint:fix-ts",
|
|
58
|
+
"test": "jest --silent",
|
|
59
|
+
"test:watch": "jest --watch",
|
|
60
|
+
"test:coverage": "jest --coverage",
|
|
61
|
+
"test:e2e": "playwright test",
|
|
62
|
+
"test:e2e:ui": "playwright test --ui",
|
|
63
|
+
"test:e2e:headed": "playwright test --headed",
|
|
64
|
+
"test:all": "jest --silent && playwright test",
|
|
65
|
+
"check": "npm run check:arch && npm run check:exports && npm run check:inject && npm run check:langs",
|
|
66
|
+
"check:arch": "dependency-cruiser --config .dependency-cruiser.js src",
|
|
67
|
+
"check:exports": "node scripts/check/check-exports-sync.cjs",
|
|
68
|
+
"check:inject": "node scripts/check/gen-button-types.cjs && node scripts/check/inject-plugin-jsdoc.cjs",
|
|
69
|
+
"check:langs": "cross-env GOOGLE_APPLICATION_CREDENTIALS=./.env/google-api-service-account.json node scripts/check/langs-sync.cjs --auto-translate && npx eslint \"src/langs/*.js\" --fix && npx eslint \"types/langs/_Lang.d.ts\" --fix",
|
|
27
70
|
"update-browserslist": "npx browserslist@latest --update-db"
|
|
28
71
|
},
|
|
29
72
|
"bugs": {
|
|
30
73
|
"url": "https://github.com/JiHong88/SunEditor/issues"
|
|
31
74
|
},
|
|
32
|
-
"homepage": "
|
|
75
|
+
"homepage": "https://suneditor.com",
|
|
33
76
|
"repository": {
|
|
34
77
|
"type": "git",
|
|
35
78
|
"url": "https://github.com/JiHong88/SunEditor.git"
|
|
36
79
|
},
|
|
37
80
|
"devDependencies": {
|
|
38
|
-
"@babel/core": "^7.
|
|
39
|
-
"@
|
|
40
|
-
"@codemirror/lang-
|
|
41
|
-
"@
|
|
81
|
+
"@babel/core": "^7.28.4",
|
|
82
|
+
"@babel/preset-env": "^7.28.3",
|
|
83
|
+
"@codemirror/lang-html": "^6.4.10",
|
|
84
|
+
"@codemirror/lang-javascript": "^6.2.4",
|
|
85
|
+
"@google-cloud/translate": "^9.2.0",
|
|
42
86
|
"@octokit/rest": "^21.1.1",
|
|
43
|
-
"@
|
|
44
|
-
"@typescript-eslint/
|
|
45
|
-
"@
|
|
46
|
-
"
|
|
87
|
+
"@playwright/test": "^1.56.0",
|
|
88
|
+
"@typescript-eslint/eslint-plugin": "^8.45.0",
|
|
89
|
+
"@typescript-eslint/parser": "^8.45.0",
|
|
90
|
+
"@webpack-cli/serve": "^3.0.1",
|
|
91
|
+
"babel-jest": "^30.2.0",
|
|
92
|
+
"babel-loader": "^10.0.0",
|
|
47
93
|
"barrelsby": "^2.8.1",
|
|
94
|
+
"baseline-browser-mapping": "^2.9.19",
|
|
48
95
|
"clean-webpack-plugin": "^4.0.0",
|
|
49
|
-
"codemirror": "^6.
|
|
50
|
-
"codemirror5": "npm:codemirror
|
|
96
|
+
"codemirror": "^6.65.7",
|
|
97
|
+
"codemirror5": "npm:codemirror@5.65.20",
|
|
51
98
|
"cross-env": "^7.0.3",
|
|
52
|
-
"css-loader": "^
|
|
53
|
-
"css-minimizer-webpack-plugin": "^
|
|
54
|
-
"csstype": "^3.1.
|
|
55
|
-
"
|
|
56
|
-
"eslint
|
|
57
|
-
"eslint-
|
|
99
|
+
"css-loader": "^7.1.2",
|
|
100
|
+
"css-minimizer-webpack-plugin": "^7.0.2",
|
|
101
|
+
"csstype": "^3.1.3",
|
|
102
|
+
"dependency-cruiser": "^17.1.0",
|
|
103
|
+
"eslint": "^9.36.0",
|
|
104
|
+
"eslint-config-prettier": "^10.1.8",
|
|
105
|
+
"eslint-plugin-compat": "^6.0.2",
|
|
106
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
107
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
58
108
|
"file-loader": "^6.2.0",
|
|
59
|
-
"glob": "^11.0.
|
|
60
|
-
"html-webpack-plugin": "^5.
|
|
61
|
-
"
|
|
109
|
+
"glob": "^11.0.3",
|
|
110
|
+
"html-webpack-plugin": "^5.6.4",
|
|
111
|
+
"http-server": "^14.1.1",
|
|
112
|
+
"jest": "^30.2.0",
|
|
113
|
+
"jest-environment-jsdom": "^30.2.0",
|
|
62
114
|
"jsdoc": "^4.0.4",
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"karma-firefox-launcher": "^2.1.2",
|
|
66
|
-
"karma-jasmine": "^5.1.0",
|
|
67
|
-
"karma-opera-launcher": "^1.0.0",
|
|
68
|
-
"karma-safari-launcher": "^1.0.0",
|
|
69
|
-
"karma-webpack": "^5.0.0",
|
|
70
|
-
"katex": "^0.16.7",
|
|
115
|
+
"jsdom": "^27.0.0",
|
|
116
|
+
"katex": "^0.16.22",
|
|
71
117
|
"mathjax-full": "^3.2.2",
|
|
72
|
-
"mini-css-extract-plugin": "^2.
|
|
73
|
-
"prettier": "^
|
|
74
|
-
"terser-webpack-plugin": "^5.3.
|
|
75
|
-
"typescript": "^5.
|
|
118
|
+
"mini-css-extract-plugin": "^2.9.4",
|
|
119
|
+
"prettier": "^3.6.2",
|
|
120
|
+
"terser-webpack-plugin": "^5.3.14",
|
|
121
|
+
"typescript": "^5.9.2",
|
|
76
122
|
"url-loader": "^4.1.1",
|
|
77
|
-
"webpack": "^5.
|
|
78
|
-
"webpack-
|
|
123
|
+
"webpack": "^5.102.0",
|
|
124
|
+
"webpack-bundle-analyzer": "^4.10.2",
|
|
125
|
+
"webpack-cli": "^6.0.1",
|
|
79
126
|
"webpack-dev-server": "^5.2.2",
|
|
80
|
-
"webpack-merge": "^
|
|
127
|
+
"webpack-merge": "^6.0.1"
|
|
81
128
|
},
|
|
82
129
|
"browserslist": [
|
|
83
|
-
"chrome >=
|
|
84
|
-
"edge >=
|
|
85
|
-
"firefox >=
|
|
86
|
-
"safari >=
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"not IE
|
|
92
|
-
"not
|
|
130
|
+
"chrome >= 119",
|
|
131
|
+
"edge >= 119",
|
|
132
|
+
"firefox >= 121",
|
|
133
|
+
"safari >= 17",
|
|
134
|
+
"opera >= 105",
|
|
135
|
+
"samsung >= 23",
|
|
136
|
+
"Firefox ESR",
|
|
137
|
+
"not dead",
|
|
138
|
+
"not IE 11",
|
|
139
|
+
"not op_mini all"
|
|
93
140
|
],
|
|
94
141
|
"ignore": [
|
|
95
142
|
"**/.*",
|
|
@@ -100,10 +147,10 @@
|
|
|
100
147
|
"types",
|
|
101
148
|
"dist",
|
|
102
149
|
"README.md",
|
|
103
|
-
"
|
|
104
|
-
"LICENSE"
|
|
150
|
+
"LICENSE.txt"
|
|
105
151
|
],
|
|
106
152
|
"keywords": [
|
|
153
|
+
"suneditor",
|
|
107
154
|
"wysiwyg",
|
|
108
155
|
"wysiwyg editor",
|
|
109
156
|
"wysiwyg html editor",
|
|
@@ -111,14 +158,16 @@
|
|
|
111
158
|
"rich text editor",
|
|
112
159
|
"rich editor",
|
|
113
160
|
"html editor",
|
|
114
|
-
"
|
|
115
|
-
"editor",
|
|
161
|
+
"html5 editor",
|
|
116
162
|
"javascript editor",
|
|
163
|
+
"javascript rich text editor",
|
|
117
164
|
"vanilla javascript",
|
|
118
165
|
"contenteditable",
|
|
119
166
|
"lightweight editor",
|
|
167
|
+
"lightweight rich text editor",
|
|
168
|
+
"open source editor",
|
|
120
169
|
"text formatting",
|
|
121
170
|
"web editor",
|
|
122
171
|
"browser editor"
|
|
123
172
|
]
|
|
124
|
-
}
|
|
173
|
+
}
|
|
@@ -1,28 +1,40 @@
|
|
|
1
1
|
.sun-editor,
|
|
2
2
|
.sun-editor-editable {
|
|
3
3
|
/** --------------------------- content - [colors] ----------- */
|
|
4
|
+
/* caret and placeholder */
|
|
4
5
|
--se-caret-color: #333;
|
|
5
6
|
--se-placeholder-color: #bbb;
|
|
7
|
+
|
|
8
|
+
/* editable text tones */
|
|
6
9
|
--se-edit-font-color: #333;
|
|
7
10
|
--se-edit-font-pre: #666;
|
|
8
11
|
--se-edit-font-quote: #999;
|
|
12
|
+
|
|
13
|
+
/* editable surfaces */
|
|
9
14
|
--se-edit-background-color: #fff;
|
|
10
15
|
--se-edit-background-pre: #f9f9f9;
|
|
16
|
+
|
|
17
|
+
/* content border scale */
|
|
11
18
|
--se-edit-border-light: #e1e1e1;
|
|
12
19
|
--se-edit-border-dark: #b1b1b1;
|
|
13
20
|
--se-edit-border-dark-n1: #c1c1c1;
|
|
14
21
|
--se-edit-border-dark-n2: #d1d1d1;
|
|
22
|
+
--se-edit-border-table: #cecece;
|
|
23
|
+
|
|
24
|
+
/* links and horizontal rules */
|
|
15
25
|
--se-edit-anchor: #0056b3;
|
|
16
26
|
--se-edit-anchor-on-back: #e8f7ff;
|
|
17
27
|
--se-edit-anchor-on-font: #0093ff;
|
|
18
28
|
--se-edit-hr-color: #333;
|
|
19
29
|
--se-edit-hr-on-back: #c7deff;
|
|
30
|
+
|
|
31
|
+
/* content interaction states */
|
|
20
32
|
--se-edit-active: #4592ff;
|
|
21
33
|
--se-edit-hover: #e0f4ff;
|
|
22
34
|
--se-edit-outline: #9e9e9e;
|
|
23
35
|
|
|
24
36
|
/** --------------------------- layout - [colors] ----------- */
|
|
25
|
-
|
|
37
|
+
/* main shell and typography */
|
|
26
38
|
--se-main-out-color: #dadada;
|
|
27
39
|
--se-main-color: #000;
|
|
28
40
|
--se-main-color-lighter: #4c4c4d;
|
|
@@ -37,7 +49,7 @@
|
|
|
37
49
|
--se-statusbar-font-color: #666;
|
|
38
50
|
--se-overlay-background-color: #222;
|
|
39
51
|
|
|
40
|
-
/* hover */
|
|
52
|
+
/* hover states */
|
|
41
53
|
--se-hover-color: #000;
|
|
42
54
|
--se-hover-dark-color: #cccccc;
|
|
43
55
|
--se-hover-dark2-color: #bfbfbf;
|
|
@@ -46,7 +58,7 @@
|
|
|
46
58
|
--se-hover-light2-color: #e6e6e6;
|
|
47
59
|
--se-hover-light3-color: #d9d9d9;
|
|
48
60
|
|
|
49
|
-
/* active */
|
|
61
|
+
/* active foreground states */
|
|
50
62
|
--se-active-color: #5cd2e6;
|
|
51
63
|
--se-active-hover-color: #2964b7;
|
|
52
64
|
--se-active-dark-color: #80bdff;
|
|
@@ -54,6 +66,8 @@
|
|
|
54
66
|
--se-active-dark3-color: #4592ff;
|
|
55
67
|
--se-active-dark4-color: #3f9dff;
|
|
56
68
|
--se-active-dark5-color: #1275ff;
|
|
69
|
+
|
|
70
|
+
/* active background states */
|
|
57
71
|
--se-active-light-color: #e6f2ff;
|
|
58
72
|
--se-active-light2-color: #eaf3ff;
|
|
59
73
|
--se-active-light3-color: #d0e3ff;
|
|
@@ -61,14 +75,14 @@
|
|
|
61
75
|
--se-active-light5-color: #c4ddff;
|
|
62
76
|
--se-active-light6-color: #b7ccf2;
|
|
63
77
|
|
|
64
|
-
/*
|
|
78
|
+
/* floating layer shadow */
|
|
65
79
|
--se-shadow-layer-color: rgba(0, 0, 0, 0.25);
|
|
66
80
|
|
|
67
|
-
/* drag */
|
|
81
|
+
/* drag feedback */
|
|
68
82
|
--se-drag-over-color: #f0c20a;
|
|
69
83
|
|
|
70
|
-
/* modal, browser, dropdown */
|
|
71
|
-
--se-modal-background-color: #
|
|
84
|
+
/* modal, browser, dropdown surfaces */
|
|
85
|
+
--se-modal-background-color: #fff;
|
|
72
86
|
--se-modal-color: #333;
|
|
73
87
|
--se-modal-border-color: #e5e5e5;
|
|
74
88
|
--se-modal-anchor-color: #004cff;
|
|
@@ -77,20 +91,26 @@
|
|
|
77
91
|
--se-modal-input-disabled-color: #999;
|
|
78
92
|
--se-modal-input-disabled-background-color: #f3f3f3;
|
|
79
93
|
|
|
80
|
-
/* dropdown
|
|
94
|
+
/* dropdown text */
|
|
81
95
|
--se-dropdown-font-color: #555;
|
|
82
96
|
|
|
83
|
-
/* controller */
|
|
97
|
+
/* media/controller chrome */
|
|
84
98
|
--se-controller-border-color: #999;
|
|
85
|
-
--se-controller-background-color: #
|
|
99
|
+
--se-controller-background-color: #fff;
|
|
86
100
|
--se-controller-color: #333;
|
|
87
101
|
--se-shadow-controller-color: rgba(0, 0, 0, 0.2);
|
|
88
102
|
|
|
89
|
-
/*
|
|
103
|
+
/* input-side button states */
|
|
90
104
|
--se-input-btn-border-color: #ccc;
|
|
91
105
|
--se-input-btn-disabled-color: #bdbdbd;
|
|
92
106
|
|
|
93
|
-
/*
|
|
107
|
+
/* table picker */
|
|
108
|
+
--se-table-picker-color: #f5f5f5;
|
|
109
|
+
--se-table-picker-border-color: #ddd;
|
|
110
|
+
--se-table-picker-highlight-color: #cce0ff;
|
|
111
|
+
--se-table-picker-highlight-border-color: #90b5e2;
|
|
112
|
+
|
|
113
|
+
/* success status palette */
|
|
94
114
|
--se-success-color: #008000;
|
|
95
115
|
--se-success-dark-color: #628562;
|
|
96
116
|
--se-success-dark2-color: #419c41;
|
|
@@ -101,7 +121,7 @@
|
|
|
101
121
|
--se-success-light4-color: #769c76;
|
|
102
122
|
--se-success-light5-color: #89b589;
|
|
103
123
|
|
|
104
|
-
/* error */
|
|
124
|
+
/* error status palette */
|
|
105
125
|
--se-error-color: #b94a48;
|
|
106
126
|
--se-error-dark-color: #e1a6a2;
|
|
107
127
|
--se-error-dark2-color: #db8d8c;
|
|
@@ -112,18 +132,17 @@
|
|
|
112
132
|
--se-error-light4-color: #f7deda;
|
|
113
133
|
--se-error-light5-color: #f8e3e1;
|
|
114
134
|
|
|
115
|
-
/* document
|
|
135
|
+
/* document mode palette */
|
|
116
136
|
--se-doc-background: #f2f5fa;
|
|
117
137
|
--se-doc-info-page-font-color: #f5f5f5;
|
|
118
138
|
--se-doc-info-page-background-color: #b1b1b1;
|
|
119
|
-
/* document type - font, active */
|
|
120
139
|
--se-doc-info-font-color: #4c4c4c;
|
|
121
140
|
--se-doc-info-active-color: #4a32ff;
|
|
122
141
|
|
|
123
|
-
/* loading */
|
|
142
|
+
/* loading indicator */
|
|
124
143
|
--se-loading-color: #07d;
|
|
125
144
|
|
|
126
|
-
/* show
|
|
145
|
+
/* show-blocks debug colors */
|
|
127
146
|
--se-show-blocks-color: #3f9dff;
|
|
128
147
|
--se-show-blocks-li-color: #d539ff;
|
|
129
148
|
--se-show-blocks-pre-color: #34c38f;
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
/* main */
|
|
5
5
|
--se-edit-inner-padding: 1.5em 1.5em;
|
|
6
6
|
--se-edit-inner-padding-doc-type: 2.5rem 2.5rem;
|
|
7
|
+
--se-edit-scroll-margin: 3em;
|
|
7
8
|
|
|
8
9
|
/** --------------------------- layout - [size] ----------- */
|
|
9
10
|
/** main, common */
|
|
10
11
|
--se-border-radius: 2px;
|
|
11
12
|
--se-min-height: 65px;
|
|
13
|
+
--se-scroll-padding: 2em;
|
|
12
14
|
|
|
13
15
|
/* modal */
|
|
14
16
|
--se-modal-input-width: 70px;
|
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
print: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z" /></svg>',
|
|
26
26
|
template:
|
|
27
27
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13,7.5H18V9.5H13V7.5M13,14.5H18V16.5H13V14.5M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M19,19V5H5V19H19M11,6V11H6V6H11M10,10V7H7V10H10M11,13V18H6V13H11M10,17V14H7V17H10Z" /></svg>',
|
|
28
|
-
layout: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="
|
|
28
|
+
layout: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13H3A1 1 0 0 0 2 14V20A1 1 0 0 0 3 21H21A1 1 0 0 0 22 20V14A1 1 0 0 0 21 13M20 19H4V15H20M21 3H3A1 1 0 0 0 2 4V10A1 1 0 0 0 3 11H21A1 1 0 0 0 22 10V4A1 1 0 0 0 21 3M20 9H4V5H20Z" /></svg>',
|
|
29
29
|
new_document: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z" /></svg>',
|
|
30
30
|
select_all:
|
|
31
31
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9,9H15V15H9M7,17H17V7H7M15,5H17V3H15M15,21H17V19H15M19,17H21V15H19M19,9H21V7H19M19,21A2,2 0 0,0 21,19H19M19,13H21V11H19M11,21H13V19H11M9,3H7V5H9M3,17H5V15H3M5,21V19H3A2,2 0 0,0 5,21M19,3V5H21A2,2 0 0,0 19,3M13,3H11V5H13M3,9H5V7H3M7,21H9V19H7M3,13H5V11H3M3,5H5V3A2,2 0 0,0 3,5Z" /></svg>',
|
|
@@ -60,6 +60,8 @@ export default {
|
|
|
60
60
|
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 12.37"><g><path d="M7.77,16.12a1.59,1.59,0,0,0-.49-1.18,1.62,1.62,0,0,0-1.19-.49,1.68,1.68,0,1,0,0,3.36,1.67,1.67,0,0,0,1.68-1.69Zm0-4.48A1.67,1.67,0,0,0,6.09,10,1.68,1.68,0,0,0,4.9,12.82a1.62,1.62,0,0,0,1.19.49,1.67,1.67,0,0,0,1.68-1.67Zm12.38,3.64a.27.27,0,0,0-.08-.19.28.28,0,0,0-.2-.09H9.19a.28.28,0,0,0-.2.08.29.29,0,0,0-.08.19V17a.27.27,0,0,0,.28.28H19.87a.27.27,0,0,0,.19-.08.24.24,0,0,0,.08-.2V15.28ZM7.77,7.13a1.63,1.63,0,0,0-.49-1.2,1.61,1.61,0,0,0-1.19-.49,1.61,1.61,0,0,0-1.19.49,1.71,1.71,0,0,0,0,2.4,1.62,1.62,0,0,0,1.19.49,1.61,1.61,0,0,0,1.19-.49,1.63,1.63,0,0,0,.49-1.2Zm12.38,3.66a.28.28,0,0,0-.08-.2.29.29,0,0,0-.19-.08H9.19a.27.27,0,0,0-.28.28v1.69a.27.27,0,0,0,.08.19.24.24,0,0,0,.2.08H19.87a.27.27,0,0,0,.19-.08.25.25,0,0,0,.08-.19V10.79Zm0-4.5a.27.27,0,0,0-.08-.19A.25.25,0,0,0,19.88,6H9.19A.28.28,0,0,0,9,6.1a.26.26,0,0,0-.08.19V8A.27.27,0,0,0,9,8.17a.24.24,0,0,0,.2.08H19.87a.27.27,0,0,0,.19-.08A.25.25,0,0,0,20.14,8V6.29Z" transform="translate(-4.41 -5.44)"/></g></svg>',
|
|
61
61
|
list_numbered:
|
|
62
62
|
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.69 15.74"><g><path d="M7.66,18a1.24,1.24,0,0,0-.26-.78,1.17,1.17,0,0,0-.72-.42l.85-1V15H4.58v1.34h.94v-.46l.85,0h0c-.11.11-.22.23-.32.35s-.23.27-.37.47L5.39,17l.23.51c.61-.05.92.11.92.49a.42.42,0,0,1-.18.37.79.79,0,0,1-.45.12A1.41,1.41,0,0,1,5,18.15l-.51.77A2.06,2.06,0,0,0,6,19.5a1.8,1.8,0,0,0,1.2-.41A1.38,1.38,0,0,0,7.66,18Zm0-5.54H6.75V13H5.63A.72.72,0,0,1,6,12.51a5.45,5.45,0,0,1,.66-.45,2.71,2.71,0,0,0,.67-.57,1.19,1.19,0,0,0,.31-.81,1.29,1.29,0,0,0-.45-1,1.86,1.86,0,0,0-2-.11,1.51,1.51,0,0,0-.62.7l.74.52A.87.87,0,0,1,6,10.28a.51.51,0,0,1,.35.12.42.42,0,0,1,.13.33.55.55,0,0,1-.21.4,3,3,0,0,1-.5.38c-.19.13-.39.27-.58.42a2,2,0,0,0-.5.6,1.63,1.63,0,0,0-.21.81,3.89,3.89,0,0,0,.05.48h3.2V12.44Zm12.45,2.82a.27.27,0,0,0-.08-.19.28.28,0,0,0-.21-.08H9.1a.32.32,0,0,0-.21.08.24.24,0,0,0-.08.2V17a.27.27,0,0,0,.08.19.3.3,0,0,0,.21.08H19.83a.32.32,0,0,0,.21-.08.25.25,0,0,0,.08-.19V15.26ZM7.69,7.32h-1V3.76H5.8L4.6,4.88l.63.68a1.85,1.85,0,0,0,.43-.48h0l0,2.24H4.74V8.2h3V7.32Zm12.43,3.42a.27.27,0,0,0-.08-.19.28.28,0,0,0-.21-.08H9.1a.32.32,0,0,0-.21.08.24.24,0,0,0-.08.2v1.71a.27.27,0,0,0,.08.19.3.3,0,0,0,.21.08H19.83a.32.32,0,0,0,.21-.08.25.25,0,0,0,.08-.19V10.74Zm0-4.52A.27.27,0,0,0,20,6,.28.28,0,0,0,19.83,6H9.1A.32.32,0,0,0,8.89,6a.24.24,0,0,0-.08.19V7.93a.27.27,0,0,0,.08.19.32.32,0,0,0,.21.08H19.83A.32.32,0,0,0,20,8.12a.26.26,0,0,0,.08-.2V6.22Z" transform="translate(-4.43 -3.76)"/></g></svg>',
|
|
63
|
+
list_checked:
|
|
64
|
+
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21,19V17H8V19H21M21,13V11H8V13H21M8,7H21V5H8V7M4,5V7H6V5H4M3,5A1,1 0 0,1 4,4H6A1,1 0 0,1 7,5V7A1,1 0 0,1 6,8H4A1,1 0 0,1 3,7V5M4,11V13H6V11H4M3,11A1,1 0 0,1 4,10H6A1,1 0 0,1 7,11V13A1,1 0 0,1 6,14H4A1,1 0 0,1 3,13V11M4,17V19H6V17H4M3,17A1,1 0 0,1 4,16H6A1,1 0 0,1 7,17V19A1,1 0 0,1 6,20H4A1,1 0 0,1 3,19V17Z" /></svg>',
|
|
63
65
|
table: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.74"><g><path d="M4.41,8.05V3.76H8.7V8.05H4.41Zm5.71,0V3.76h4.3V8.05h-4.3Zm5.74-4.29h4.29V8.05H15.86V3.76Zm-11.45,10V9.48H8.7v4.3H4.41Zm5.71,0V9.48h4.3v4.3h-4.3Zm5.74,0V9.48h4.29v4.3H15.86ZM4.41,19.5V15.21H8.7V19.5H4.41Zm5.71,0V15.21h4.3V19.5h-4.3Zm5.74,0V15.21h4.29V19.5H15.86Z" transform="translate(-4.41 -3.76)"/></g></svg>',
|
|
64
66
|
table_header:
|
|
65
67
|
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.75 15.74"><g><path d="M17,19.5v-.78H15.5v.78H17Zm-3,0v-.78H12.5v.78H14Zm-3,0v-.78H9.53v.78H11Zm-3,0v-.78H6.53v.78H8Zm10.55,0a1.73,1.73,0,0,0,.85-.35,1.67,1.67,0,0,0,.56-.76l-.71-.31a1.21,1.21,0,0,1-.35.4,1.34,1.34,0,0,1-.53.23l.08.38c.06.24.09.38.1.41Zm-13.7-.63.55-.55A.77.77,0,0,1,5.25,18a1.31,1.31,0,0,1-.06-.38v-.38H4.41v.38a2,2,0,0,0,.12.68,1.6,1.6,0,0,0,.35.57Zm15.27-2.12V15.26h-.78v1.49h.78Zm-15-1V14.23H4.41v1.49h.78Zm15-2V12.26h-.78v1.49h.78Zm-15-1V11.22H4.41v1.51h.78Zm15-2V9.26h-.78v1.51h.78Zm-15-1V8.17H4.41V9.74h.78Zm15-2V6.28h-.78V7.77h.78Zm-15-1.11V5.33L4.48,5.1a.77.77,0,0,0-.07.27,2.72,2.72,0,0,0,0,.28v1h.79ZM19.21,5l.63-.4A1.62,1.62,0,0,0,19.16,4a1.94,1.94,0,0,0-.91-.22v.78a1.31,1.31,0,0,1,.56.12.88.88,0,0,1,.4.36ZM6,4.54H7.78V3.76H6a.82.82,0,0,0-.28.06l.12.35c.07.21.1.33.11.36Zm10.8,0V3.76H15.28v.78h1.49Zm-3,0V3.76H12.28v.78h1.49Zm-3,0V3.76H9.28v.78h1.51ZM6,10.84h12.6V6.91H6Z" transform="translate(-4.4 -3.76)"/></g></svg>',
|
|
@@ -202,6 +204,19 @@ export default {
|
|
|
202
204
|
alert_outline:
|
|
203
205
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z" /></svg>',
|
|
204
206
|
// More icons
|
|
207
|
+
more_media:
|
|
208
|
+
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 13V5C9 3.9 9.9 3 11 3H20C21.1 3 22 3.9 22 5V11H18.57L17.29 9.26C17.23 9.17 17.11 9.17 17.05 9.26L15.06 12C15 12.06 14.88 12.07 14.82 12L13.39 10.25C13.33 10.18 13.22 10.18 13.16 10.25L11.05 12.91C10.97 13 11.04 13.15 11.16 13.15H17.5V15H11C9.89 15 9 14.11 9 13M6 22V21H4V22H2V2H4V3H6V2H8.39C7.54 2.74 7 3.8 7 5V13C7 15.21 8.79 17 11 17H15.7C14.67 17.83 14 19.08 14 20.5C14 21.03 14.11 21.53 14.28 22H6M4 7H6V5H4V7M4 11H6V9H4V11M4 15H6V13H4V15M6 19V17H4V19H6M23 13V15H21V20.5C21 21.88 19.88 23 18.5 23S16 21.88 16 20.5 17.12 18 18.5 18C18.86 18 19.19 18.07 19.5 18.21V13H23Z" /></svg>',
|
|
209
|
+
more_gallery:
|
|
210
|
+
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 6V20H18V22H3C2.4 22 2 21.6 2 21V6H4M8 2H20C21.11 2 22 2.9 22 4V16C22 17.11 21.11 18 20 18H8C6.9 18 6 17.11 6 16V4C6 2.9 6.9 2 8 2M16.3 13.3L15.9 10.7L17.8 8.8L15.2 8.4L14 6L12.8 8.4L10.2 8.8L12.1 10.6L11.6 13.2L14 12L16.3 13.3Z" /></svg>',
|
|
211
|
+
more_folder:
|
|
212
|
+
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2 20V6H0V20C0 21.1 .9 22 2 22H20V20H2M22 4H14L12 2H6C5.6 2 5.2 2.1 4.9 2.3L4.3 2.9C4.1 3.2 4 3.6 4 4V16C4 16.4 4.1 16.8 4.3 17.1C4.4 17.2 4.5 17.3 4.5 17.4C5 17.8 5.5 18 6 18H22C23.1 18 24 17.1 24 16V6C24 4.9 23.1 4 22 4M22 12H19V15H17V12H14V10H17V7H19V10H22V12Z" /></svg>',
|
|
213
|
+
more_list:
|
|
214
|
+
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 14V17H14V19H17V22H19V19H22V17H19V14M20 11V12.3C19.4 12.1 18.7 12 18 12C16.8 12 15.6 12.4 14.7 13H7V11H20M12.1 17H7V15H12.8C12.5 15.6 12.2 16.3 12.1 17M7 7H20V9H7V7M5 19H7V21H3V3H7V5H5V19Z" /></svg>',
|
|
215
|
+
more_file:
|
|
216
|
+
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2M18 20H6V4H13V9H18V20M9.5 18L10.2 15.2L8 13.3L10.9 13.1L12 10.4L13.1 13L16 13.2L13.8 15.1L14.5 17.9L12 16.5L9.5 18Z" /></svg>',
|
|
217
|
+
more_view: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 21H11V13H3M5 15H9V19H5M3 11H11V3H3M5 5H9V9H5M13 3V11H21V3M19 9H15V5H19M18 16H21V18H18V21H16V18H13V16H16V13H18Z" /></svg>',
|
|
218
|
+
more_page:
|
|
219
|
+
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22,3H5A2,2 0 0,0 3,5V9H5V5H22V19H5V15H3V19A2,2 0 0,0 5,21H22A2,2 0 0,0 24,19V5A2,2 0 0,0 22,3M7,15V13H0V11H7V9L11,12L7,15M20,13H13V11H20V13M20,9H13V7H20V9M17,17H13V15H17V17Z" /></svg>',
|
|
205
220
|
more_text:
|
|
206
221
|
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="10 10 180 180"><g><path d="M49.711,142.188h49.027c2.328,0.002,4.394,1.492,5.129,3.699l9.742,29.252c0.363,1.092,1.385,1.828,2.537,1.83l15.883,0.01c0.859,0,1.667-0.412,2.17-1.109s0.641-1.594,0.37-2.41l-16.625-50.045L86.503,28.953c-0.36-1.097-1.383-1.839-2.537-1.842H64.532c-1.153-0.001-2.178,0.736-2.542,1.831L13.847,173.457c-0.271,0.816-0.135,1.713,0.369,2.412c0.503,0.697,1.311,1.109,2.171,1.109h15.872c1.151,0,2.173-0.736,2.537-1.828l9.793-29.287C45.325,143.66,47.39,142.18,49.711,142.188L49.711,142.188z M53.493,119.098l15.607-46.9c0.744-2.196,2.806-3.674,5.125-3.674s4.381,1.478,5.125,3.674l15.607,46.904c0.537,1.621,0.263,3.402-0.736,4.789c-1.018,1.408-2.649,2.24-4.386,2.24H58.615c-1.736,0-3.368-0.832-4.386-2.24C53.23,122.504,52.956,120.721,53.493,119.098L53.493,119.098z M190.465,63.32c0-2.919-1.015-5.396-3.059-7.428c-2.029-2.031-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.016-7.388,3.047c-2.029,2.032-3.056,4.498-3.056,7.386c0,2.889,1.026,5.354,3.056,7.385c2.032,2.032,4.499,3.059,7.388,3.059c2.887,0,5.354-1.026,7.383-3.059C189.45,68.633,190.465,66.178,190.465,63.32L190.465,63.32z M190.465,101.994c0-2.858-1.015-5.313-3.059-7.333c-2.029-2.042-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.005-7.388,3.047c-2.029,2.021-3.056,4.486-3.056,7.376c0,2.887,1.026,5.352,3.056,7.395c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,107.389,190.465,104.914,190.465,101.994L190.465,101.994z M190.465,140.76c0-2.918-1.015-5.395-3.059-7.438c-2.029-2.041-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.006-7.388,3.047c-2.029,2.043-3.056,4.52-3.056,7.438c0,2.922,1.026,5.398,3.056,7.439c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,146.158,190.465,143.682,190.465,140.76L190.465,140.76z"/></g></svg>',
|
|
207
222
|
more_paragraph:
|
|
@@ -228,5 +243,5 @@ export default {
|
|
|
228
243
|
map: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11.7 15.62"><g><path d="M12.05,12.42a2.93,2.93,0,1,1,2.07-5A2.88,2.88,0,0,1,15,9.49a3,3,0,0,1-.86,2.07,2.89,2.89,0,0,1-2.07.86Zm0-5.36a2.43,2.43,0,0,0-1.72,4.16,2.48,2.48,0,0,0,1.72.72,2.44,2.44,0,0,0,0-4.88Zm0-3.3A5.84,5.84,0,0,1,17.9,9.62a9.94,9.94,0,0,1-1.73,5A33.59,33.59,0,0,1,12.84,19a1.52,1.52,0,0,1-.23.2,1,1,0,0,1-.55.2h0a1,1,0,0,1-.55-.2,1.52,1.52,0,0,1-.23-.2,33.59,33.59,0,0,1-3.33-4.32,9.93,9.93,0,0,1-1.72-5,5.84,5.84,0,0,1,5.85-5.86ZM12,18.34l.08.05.06-.06a35.58,35.58,0,0,0,3.06-3.93,9.35,9.35,0,0,0,1.74-4.77,4.88,4.88,0,0,0-4.88-4.88A4.79,4.79,0,0,0,8.6,6.17,4.84,4.84,0,0,0,7.17,9.62,9.29,9.29,0,0,0,8.91,14.4,36,36,0,0,0,12,18.34Z" transform="translate(-6.2 -3.76)"/></g></svg>',
|
|
229
244
|
magic_stick:
|
|
230
245
|
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.73 15.75"><g><path d="M19.86,19.21a1,1,0,0,0,.28-.68,1,1,0,0,0-.28-.7L13,10.93a1,1,0,0,0-.7-.28,1,1,0,0,0-.68,1.65l6.9,6.9a1,1,0,0,0,.69.29.93.93,0,0,0,.69-.28ZM9.19,8.55a3,3,0,0,0,1.68,0,14.12,14.12,0,0,0,1.41-.32A11.26,11.26,0,0,0,10.8,7.06c-.56-.36-.86-.56-.91-.58S10,5.91,10,5.11s0-1.26-.15-1.37a4.35,4.35,0,0,0-1.19.71c-.53.4-.81.62-.87.68a9,9,0,0,0-2-.6,6.84,6.84,0,0,0-.76-.09s0,.27.08.77a8.6,8.6,0,0,0,.61,2q-.09.09-.69.87a3.59,3.59,0,0,0-.68,1.17c.12.17.57.23,1.36.15S7,9.26,7.15,9.23s.21.36.57.91a10.49,10.49,0,0,0,1.14,1.48c0-.1.14-.57.31-1.4a3,3,0,0,0,0-1.67Z" transform="translate(-4.41 -3.74)"/></g></svg>',
|
|
231
|
-
open_in_new: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z" /></svg>'
|
|
246
|
+
open_in_new: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z" /></svg>',
|
|
232
247
|
};
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/* suneditor content */
|
|
4
4
|
.sun-editor-editable {
|
|
5
|
+
box-sizing: border-box;
|
|
5
6
|
font-family: Helvetica Neue;
|
|
6
7
|
font-size: var(--se-edit-font-size);
|
|
7
8
|
color: var(--se-edit-font-color);
|
|
@@ -20,11 +21,9 @@
|
|
|
20
21
|
line-height: var(--se-edit-line-height);
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
.sun-editor-editable.se-type-document-editable
|
|
24
|
-
padding: var(--se-edit-inner-padding-doc-type);
|
|
25
|
-
}
|
|
24
|
+
.sun-editor-editable.se-type-document-editable-a4,
|
|
26
25
|
.sun-editor-editable.se-document-page-mirror-a4 {
|
|
27
|
-
width: 21cm;
|
|
26
|
+
width: 21cm !important;
|
|
28
27
|
padding: var(--se-edit-inner-padding-doc-type);
|
|
29
28
|
}
|
|
30
29
|
|
|
@@ -39,7 +38,7 @@
|
|
|
39
38
|
direction: initial;
|
|
40
39
|
}
|
|
41
40
|
.sun-editor-editable .se-component > figure > * {
|
|
42
|
-
margin: 0
|
|
41
|
+
margin: 0;
|
|
43
42
|
}
|
|
44
43
|
|
|
45
44
|
/** component - figure - embed(blockquote) loading */
|
|
@@ -431,7 +430,7 @@
|
|
|
431
430
|
table-layout: auto !important;
|
|
432
431
|
border-width: 1px;
|
|
433
432
|
border-style: solid;
|
|
434
|
-
border-color: var(--se-edit-border-
|
|
433
|
+
border-color: var(--se-edit-border-table);
|
|
435
434
|
width: 100%;
|
|
436
435
|
max-width: 100%;
|
|
437
436
|
margin: 0;
|
|
@@ -452,7 +451,7 @@
|
|
|
452
451
|
padding: 0.5em;
|
|
453
452
|
margin: 0;
|
|
454
453
|
background-color: var(--se-edit-background-pre);
|
|
455
|
-
border: 1px solid var(--se-edit-border-
|
|
454
|
+
border: 1px solid var(--se-edit-border-table);
|
|
456
455
|
outline: none;
|
|
457
456
|
}
|
|
458
457
|
.sun-editor-editable table caption.se-table-caption-top {
|
|
@@ -481,11 +480,12 @@
|
|
|
481
480
|
.sun-editor-editable table td {
|
|
482
481
|
border-width: 1px;
|
|
483
482
|
border-style: solid;
|
|
484
|
-
border-color: var(--se-edit-border-
|
|
483
|
+
border-color: var(--se-edit-border-table);
|
|
485
484
|
padding: 0.4em;
|
|
486
485
|
background-clip: padding-box;
|
|
487
486
|
background-color: inherit;
|
|
488
487
|
vertical-align: middle;
|
|
488
|
+
min-width: 2em;
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
/** table style class */
|
|
@@ -606,15 +606,17 @@
|
|
|
606
606
|
margin: 0 0 10px;
|
|
607
607
|
}
|
|
608
608
|
|
|
609
|
+
.sun-editor-editable figure.se-flex-component {
|
|
610
|
+
width: max-content;
|
|
611
|
+
}
|
|
612
|
+
|
|
609
613
|
.sun-editor-editable .se-inline-component {
|
|
610
614
|
display: inline-block;
|
|
611
615
|
width: auto;
|
|
612
616
|
min-width: -webkit-min-content;
|
|
613
617
|
min-width: -moz-min-content;
|
|
614
618
|
min-width: min-content;
|
|
615
|
-
max-width:
|
|
616
|
-
max-width: -moz-max-content;
|
|
617
|
-
max-width: max-content;
|
|
619
|
+
max-width: 100%;
|
|
618
620
|
margin: 0;
|
|
619
621
|
padding: 0;
|
|
620
622
|
}
|
|
@@ -729,8 +731,21 @@
|
|
|
729
731
|
54%,
|
|
730
732
|
56%,
|
|
731
733
|
100% {
|
|
732
|
-
text-shadow:
|
|
733
|
-
|
|
734
|
+
text-shadow:
|
|
735
|
+
-0.2rem -0.2rem 1rem #fff,
|
|
736
|
+
0.2rem 0.2rem 1rem #fff,
|
|
737
|
+
0 0 2px #f40,
|
|
738
|
+
0 0 4px #f40,
|
|
739
|
+
0 0 6px #f40,
|
|
740
|
+
0 0 8px #f40,
|
|
741
|
+
0 0 10px #f40;
|
|
742
|
+
box-shadow:
|
|
743
|
+
0 0 0.5px #fff,
|
|
744
|
+
inset 0 0 0.5px #fff,
|
|
745
|
+
0 0 2px #08f,
|
|
746
|
+
inset 0 0 2px #08f,
|
|
747
|
+
0 0 4px #08f,
|
|
748
|
+
inset 0 0 4px #08f;
|
|
734
749
|
}
|
|
735
750
|
20%,
|
|
736
751
|
24%,
|
|
@@ -749,8 +764,21 @@
|
|
|
749
764
|
54%,
|
|
750
765
|
56%,
|
|
751
766
|
100% {
|
|
752
|
-
text-shadow:
|
|
753
|
-
|
|
767
|
+
text-shadow:
|
|
768
|
+
-0.2rem -0.2rem 1rem #fff,
|
|
769
|
+
0.2rem 0.2rem 1rem #fff,
|
|
770
|
+
0 0 2px #f40,
|
|
771
|
+
0 0 4px #f40,
|
|
772
|
+
0 0 6px #f40,
|
|
773
|
+
0 0 8px #f40,
|
|
774
|
+
0 0 10px #f40;
|
|
775
|
+
box-shadow:
|
|
776
|
+
0 0 0.5px #fff,
|
|
777
|
+
inset 0 0 0.5px #fff,
|
|
778
|
+
0 0 2px #08f,
|
|
779
|
+
inset 0 0 2px #08f,
|
|
780
|
+
0 0 4px #08f,
|
|
781
|
+
inset 0 0 4px #08f;
|
|
754
782
|
}
|
|
755
783
|
20%,
|
|
756
784
|
24%,
|
|
@@ -764,7 +792,14 @@
|
|
|
764
792
|
/* Shadow */
|
|
765
793
|
.sun-editor-editable .__se__t-shadow,
|
|
766
794
|
.sun-editor .__se__t-shadow {
|
|
767
|
-
text-shadow:
|
|
795
|
+
text-shadow:
|
|
796
|
+
-0.2rem -0.2rem 1rem #fff,
|
|
797
|
+
0.2rem 0.2rem 1rem #fff,
|
|
798
|
+
0 0 0.2rem #999,
|
|
799
|
+
0 0 0.4rem #888,
|
|
800
|
+
0 0 0.6rem #777,
|
|
801
|
+
0 0 0.8rem #666,
|
|
802
|
+
0 0 1rem #555;
|
|
768
803
|
}
|
|
769
804
|
|
|
770
805
|
/* Code */
|