opentiny 6.9.0 → 6.9.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 +44 -58
- package/icons/default/icons.js +198 -0
- package/icons/default/icons.min.js +1 -0
- package/license.txt +21 -0
- package/models/dom/model.js +8051 -0
- package/models/dom/model.min.js +4 -0
- package/package.json +21 -32
- package/plugins/accordion/plugin.js +1054 -0
- package/plugins/accordion/plugin.min.js +4 -0
- package/plugins/advlist/plugin.js +259 -0
- package/plugins/advlist/plugin.min.js +4 -0
- package/plugins/anchor/plugin.js +214 -0
- package/plugins/anchor/plugin.min.js +4 -0
- package/plugins/autolink/plugin.js +228 -0
- package/plugins/autolink/plugin.min.js +4 -0
- package/plugins/autoresize/plugin.js +192 -0
- package/plugins/autoresize/plugin.min.js +4 -0
- package/plugins/autosave/plugin.js +233 -0
- package/plugins/autosave/plugin.min.js +4 -0
- package/plugins/charmap/plugin.js +3063 -0
- package/plugins/charmap/plugin.min.js +4 -0
- package/plugins/code/plugin.js +85 -0
- package/plugins/code/plugin.min.js +4 -0
- package/plugins/codesample/plugin.js +2463 -0
- package/plugins/codesample/plugin.min.js +4 -0
- package/plugins/directionality/plugin.js +395 -0
- package/plugins/directionality/plugin.min.js +4 -0
- package/plugins/emoticons/js/emojiimages.js +1 -0
- package/plugins/emoticons/js/emojiimages.min.js +3 -0
- package/plugins/emoticons/js/emojis.js +1 -0
- package/plugins/emoticons/js/emojis.min.js +2 -0
- package/plugins/emoticons/plugin.js +596 -0
- package/plugins/emoticons/plugin.min.js +4 -0
- package/plugins/fullscreen/plugin.js +1250 -0
- package/plugins/fullscreen/plugin.min.js +4 -0
- package/plugins/help/js/i18n/keynav/ar.js +90 -0
- package/plugins/help/js/i18n/keynav/bg_BG.js +90 -0
- package/plugins/help/js/i18n/keynav/ca.js +90 -0
- package/plugins/help/js/i18n/keynav/cs.js +90 -0
- package/plugins/help/js/i18n/keynav/da.js +90 -0
- package/plugins/help/js/i18n/keynav/de.js +90 -0
- package/plugins/help/js/i18n/keynav/el.js +90 -0
- package/plugins/help/js/i18n/keynav/en.js +90 -0
- package/plugins/help/js/i18n/keynav/es.js +90 -0
- package/plugins/help/js/i18n/keynav/eu.js +90 -0
- package/plugins/help/js/i18n/keynav/fa.js +90 -0
- package/plugins/help/js/i18n/keynav/fi.js +90 -0
- package/plugins/help/js/i18n/keynav/fr_FR.js +90 -0
- package/plugins/help/js/i18n/keynav/he_IL.js +90 -0
- package/plugins/help/js/i18n/keynav/hi.js +90 -0
- package/plugins/help/js/i18n/keynav/hr.js +90 -0
- package/plugins/help/js/i18n/keynav/hu_HU.js +90 -0
- package/plugins/help/js/i18n/keynav/id.js +90 -0
- package/plugins/help/js/i18n/keynav/it.js +90 -0
- package/plugins/help/js/i18n/keynav/ja.js +90 -0
- package/plugins/help/js/i18n/keynav/kk.js +90 -0
- package/plugins/help/js/i18n/keynav/ko_KR.js +90 -0
- package/plugins/help/js/i18n/keynav/ms.js +90 -0
- package/plugins/help/js/i18n/keynav/nb_NO.js +90 -0
- package/plugins/help/js/i18n/keynav/nl.js +90 -0
- package/plugins/help/js/i18n/keynav/pl.js +90 -0
- package/plugins/help/js/i18n/keynav/pt_BR.js +90 -0
- package/plugins/help/js/i18n/keynav/pt_PT.js +90 -0
- package/plugins/help/js/i18n/keynav/ro.js +90 -0
- package/plugins/help/js/i18n/keynav/ru.js +90 -0
- package/plugins/help/js/i18n/keynav/sk.js +90 -0
- package/plugins/help/js/i18n/keynav/sl_SI.js +90 -0
- package/plugins/help/js/i18n/keynav/sv_SE.js +90 -0
- package/plugins/help/js/i18n/keynav/th_TH.js +90 -0
- package/plugins/help/js/i18n/keynav/tr.js +90 -0
- package/plugins/help/js/i18n/keynav/uk.js +90 -0
- package/plugins/help/js/i18n/keynav/vi.js +90 -0
- package/plugins/help/js/i18n/keynav/zh_CN.js +84 -0
- package/plugins/help/js/i18n/keynav/zh_TW.js +90 -0
- package/plugins/help/plugin.js +908 -0
- package/plugins/help/plugin.min.js +4 -0
- package/plugins/image/plugin.js +1505 -0
- package/plugins/image/plugin.min.js +4 -0
- package/plugins/importcss/plugin.js +344 -0
- package/plugins/importcss/plugin.min.js +4 -0
- package/plugins/insertdatetime/plugin.js +187 -0
- package/plugins/insertdatetime/plugin.min.js +4 -0
- package/plugins/link/plugin.js +1243 -0
- package/plugins/link/plugin.min.js +4 -0
- package/plugins/lists/plugin.js +2172 -0
- package/plugins/lists/plugin.min.js +4 -0
- package/plugins/media/plugin.js +1217 -0
- package/plugins/media/plugin.min.js +4 -0
- package/plugins/nonbreaking/plugin.js +123 -0
- package/plugins/nonbreaking/plugin.min.js +4 -0
- package/plugins/pagebreak/plugin.js +117 -0
- package/plugins/pagebreak/plugin.min.js +4 -0
- package/plugins/preview/plugin.js +97 -0
- package/plugins/preview/plugin.min.js +4 -0
- package/plugins/quickbars/plugin.js +447 -0
- package/plugins/quickbars/plugin.min.js +4 -0
- package/plugins/save/plugin.js +119 -0
- package/plugins/save/plugin.min.js +4 -0
- package/plugins/searchreplace/plugin.js +1094 -0
- package/plugins/searchreplace/plugin.min.js +4 -0
- package/plugins/table/plugin.js +3465 -0
- package/plugins/table/plugin.min.js +4 -0
- package/plugins/visualblocks/plugin.js +98 -0
- package/plugins/visualblocks/plugin.min.js +4 -0
- package/plugins/visualchars/plugin.js +560 -0
- package/plugins/visualchars/plugin.min.js +4 -0
- package/plugins/wordcount/plugin.js +405 -0
- package/plugins/wordcount/plugin.min.js +4 -0
- package/skins/content/dark/content.css +66 -0
- package/skins/content/dark/content.js +2 -0
- package/skins/content/dark/content.js.map +1 -0
- package/skins/content/dark/content.min.css +2 -0
- package/skins/content/dark/content.min.css.map +1 -0
- package/skins/content/default/content.css +61 -0
- package/skins/content/default/content.js +2 -0
- package/skins/content/default/content.js.map +1 -0
- package/skins/content/default/content.min.css +2 -0
- package/skins/content/default/content.min.css.map +1 -0
- package/skins/content/document/content.css +66 -0
- package/skins/content/document/content.js +2 -0
- package/skins/content/document/content.js.map +1 -0
- package/skins/content/document/content.min.css +2 -0
- package/skins/content/document/content.min.css.map +1 -0
- package/skins/content/tinymce-5/content.css +61 -0
- package/skins/content/tinymce-5/content.js +2 -0
- package/skins/content/tinymce-5/content.js.map +1 -0
- package/skins/content/tinymce-5/content.min.css +2 -0
- package/skins/content/tinymce-5/content.min.css.map +1 -0
- package/skins/content/tinymce-5-dark/content.css +66 -0
- package/skins/content/tinymce-5-dark/content.js +2 -0
- package/skins/content/tinymce-5-dark/content.js.map +1 -0
- package/skins/content/tinymce-5-dark/content.min.css +2 -0
- package/skins/content/tinymce-5-dark/content.min.css.map +1 -0
- package/skins/content/writer/content.css +62 -0
- package/skins/content/writer/content.js +2 -0
- package/skins/content/writer/content.js.map +1 -0
- package/skins/content/writer/content.min.css +2 -0
- package/skins/content/writer/content.min.css.map +1 -0
- package/skins/ui/oxide/content.css +785 -0
- package/skins/ui/oxide/content.inline.css +779 -0
- package/skins/ui/oxide/content.inline.js +2 -0
- package/skins/ui/oxide/content.inline.js.map +1 -0
- package/skins/ui/oxide/content.inline.min.css +2 -0
- package/skins/ui/oxide/content.inline.min.css.map +1 -0
- package/skins/ui/oxide/content.js +2 -0
- package/skins/ui/oxide/content.js.map +1 -0
- package/skins/ui/oxide/content.min.css +2 -0
- package/skins/ui/oxide/content.min.css.map +1 -0
- package/skins/ui/oxide/skin.css +4052 -0
- package/skins/ui/oxide/skin.js +2 -0
- package/skins/ui/oxide/skin.js.map +1 -0
- package/skins/ui/oxide/skin.min.css +2 -0
- package/skins/ui/oxide/skin.min.css.map +1 -0
- package/skins/ui/oxide/skin.shadowdom.css +30 -0
- package/skins/ui/oxide/skin.shadowdom.js +2 -0
- package/skins/ui/oxide/skin.shadowdom.js.map +1 -0
- package/skins/ui/oxide/skin.shadowdom.min.css +2 -0
- package/skins/ui/oxide/skin.shadowdom.min.css.map +1 -0
- package/skins/ui/oxide-dark/content.css +766 -0
- package/skins/ui/oxide-dark/content.inline.css +779 -0
- package/skins/ui/oxide-dark/content.inline.js +2 -0
- package/skins/ui/oxide-dark/content.inline.js.map +1 -0
- package/skins/ui/oxide-dark/content.inline.min.css +2 -0
- package/skins/ui/oxide-dark/content.inline.min.css.map +1 -0
- package/skins/ui/oxide-dark/content.js +2 -0
- package/skins/ui/oxide-dark/content.js.map +1 -0
- package/skins/ui/oxide-dark/content.min.css +2 -0
- package/skins/ui/oxide-dark/content.min.css.map +1 -0
- package/skins/ui/oxide-dark/skin.css +4055 -0
- package/skins/ui/oxide-dark/skin.js +2 -0
- package/skins/ui/oxide-dark/skin.js.map +1 -0
- package/skins/ui/oxide-dark/skin.min.css +2 -0
- package/skins/ui/oxide-dark/skin.min.css.map +1 -0
- package/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
- package/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
- package/skins/ui/oxide-dark/skin.shadowdom.js.map +1 -0
- package/skins/ui/oxide-dark/skin.shadowdom.min.css +2 -0
- package/skins/ui/oxide-dark/skin.shadowdom.min.css.map +1 -0
- package/skins/ui/tinymce-5/content.css +785 -0
- package/skins/ui/tinymce-5/content.inline.css +779 -0
- package/skins/ui/tinymce-5/content.inline.js +2 -0
- package/skins/ui/tinymce-5/content.inline.js.map +1 -0
- package/skins/ui/tinymce-5/content.inline.min.css +2 -0
- package/skins/ui/tinymce-5/content.inline.min.css.map +1 -0
- package/skins/ui/tinymce-5/content.js +2 -0
- package/skins/ui/tinymce-5/content.js.map +1 -0
- package/skins/ui/tinymce-5/content.min.css +2 -0
- package/skins/ui/tinymce-5/content.min.css.map +1 -0
- package/skins/ui/tinymce-5/skin.css +4146 -0
- package/skins/ui/tinymce-5/skin.js +2 -0
- package/skins/ui/tinymce-5/skin.js.map +1 -0
- package/skins/ui/tinymce-5/skin.min.css +2 -0
- package/skins/ui/tinymce-5/skin.min.css.map +1 -0
- package/skins/ui/tinymce-5/skin.shadowdom.css +30 -0
- package/skins/ui/tinymce-5/skin.shadowdom.js +2 -0
- package/skins/ui/tinymce-5/skin.shadowdom.js.map +1 -0
- package/skins/ui/tinymce-5/skin.shadowdom.min.css +2 -0
- package/skins/ui/tinymce-5/skin.shadowdom.min.css.map +1 -0
- package/skins/ui/tinymce-5-dark/content.css +766 -0
- package/skins/ui/tinymce-5-dark/content.inline.css +779 -0
- package/skins/ui/tinymce-5-dark/content.inline.js +2 -0
- package/skins/ui/tinymce-5-dark/content.inline.js.map +1 -0
- package/skins/ui/tinymce-5-dark/content.inline.min.css +2 -0
- package/skins/ui/tinymce-5-dark/content.inline.min.css.map +1 -0
- package/skins/ui/tinymce-5-dark/content.js +2 -0
- package/skins/ui/tinymce-5-dark/content.js.map +1 -0
- package/skins/ui/tinymce-5-dark/content.min.css +2 -0
- package/skins/ui/tinymce-5-dark/content.min.css.map +1 -0
- package/skins/ui/tinymce-5-dark/skin.css +4146 -0
- package/skins/ui/tinymce-5-dark/skin.js +2 -0
- package/skins/ui/tinymce-5-dark/skin.js.map +1 -0
- package/skins/ui/tinymce-5-dark/skin.min.css +2 -0
- package/skins/ui/tinymce-5-dark/skin.min.css.map +1 -0
- package/skins/ui/tinymce-5-dark/skin.shadowdom.css +30 -0
- package/skins/ui/tinymce-5-dark/skin.shadowdom.js +2 -0
- package/skins/ui/tinymce-5-dark/skin.shadowdom.js.map +1 -0
- package/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +2 -0
- package/skins/ui/tinymce-5-dark/skin.shadowdom.min.css.map +1 -0
- package/themes/silver/theme.js +31084 -0
- package/themes/silver/theme.min.js +4 -0
- package/tinymce.d.ts +3255 -0
- package/tinymce.js +31957 -0
- package/tinymce.min.js +4 -0
- package/.eslintrc.json +0 -11
- package/CHANGELOG.md +0 -3443
- package/Gruntfile.js +0 -966
- package/project.json +0 -32
- package/src/core/demo/css/content_editable.css +0 -47
- package/src/core/demo/html/annotations_demo.html +0 -29
- package/src/core/demo/html/commands_demo.html +0 -16
- package/src/core/demo/html/content_editable_false_demo.html +0 -61
- package/src/core/demo/html/content_security_policy.html +0 -22
- package/src/core/demo/html/custom_theme_demo.html +0 -14
- package/src/core/demo/html/fixed_toolbar_container_demo.html +0 -22
- package/src/core/demo/html/full_demo.html +0 -48
- package/src/core/demo/html/iframe_demo.html +0 -15
- package/src/core/demo/html/iframe_demo_inner.html +0 -20
- package/src/core/demo/html/inline_demo.html +0 -423
- package/src/core/demo/html/jquery_integration.html +0 -21
- package/src/core/demo/html/responsive_demo.html +0 -126
- package/src/core/demo/html/shadow_dom_closed_demo.html +0 -14
- package/src/core/demo/html/shadow_dom_open_demo.html +0 -15
- package/src/core/demo/html/shadow_dom_open_inline_demo.html +0 -14
- package/src/core/demo/html/source_dump_demo.html +0 -17
- package/src/core/demo/html/sticky_toolbar_demo.html +0 -151
- package/src/core/demo/html/tiny_demo.html +0 -13
- package/src/core/demo/html/view_demo.html +0 -24
- package/src/core/demo/ts/demo/AnnotationsDemo.ts +0 -95
- package/src/core/demo/ts/demo/CommandsDemo.ts +0 -114
- package/src/core/demo/ts/demo/ContentEditableFalseDemo.ts +0 -88
- package/src/core/demo/ts/demo/ContentSecurityPolicyDemo.ts +0 -132
- package/src/core/demo/ts/demo/CustomThemeDemo.ts +0 -59
- package/src/core/demo/ts/demo/Demos.ts +0 -35
- package/src/core/demo/ts/demo/FixedToolbarContainerDemo.ts +0 -11
- package/src/core/demo/ts/demo/FullDemo.ts +0 -171
- package/src/core/demo/ts/demo/IframeDemo.ts +0 -49
- package/src/core/demo/ts/demo/InlineDemo.ts +0 -32
- package/src/core/demo/ts/demo/ResponsiveDemo.ts +0 -125
- package/src/core/demo/ts/demo/ShadowDomDemo.ts +0 -22
- package/src/core/demo/ts/demo/ShadowDomInlineDemo.ts +0 -27
- package/src/core/demo/ts/demo/SourceDumpDemo.ts +0 -33
- package/src/core/demo/ts/demo/StickyToolbarDemo.ts +0 -86
- package/src/core/demo/ts/demo/TinyMceDemo.ts +0 -36
- package/src/core/demo/ts/demo/ViewDemo.ts +0 -113
- package/src/core/main/js/GlobalsTemplate.js +0 -4
- package/src/core/main/json/globals.json +0 -54
- package/src/core/main/ts/Deprecations.ts +0 -127
- package/src/core/main/ts/DragDropOverrides.ts +0 -472
- package/src/core/main/ts/EditorRemove.ts +0 -113
- package/src/core/main/ts/EditorView.ts +0 -60
- package/src/core/main/ts/ErrorReporter.ts +0 -84
- package/src/core/main/ts/ForceBlocks.ts +0 -141
- package/src/core/main/ts/NodeChange.ts +0 -161
- package/src/core/main/ts/Rtc.ts +0 -455
- package/src/core/main/ts/SelectionOverrides.ts +0 -393
- package/src/core/main/ts/alien/Spot.ts +0 -13
- package/src/core/main/ts/alien/TextDescent.ts +0 -32
- package/src/core/main/ts/alien/TextSearch.ts +0 -85
- package/src/core/main/ts/annotate/AnnotationChanges.ts +0 -126
- package/src/core/main/ts/annotate/AnnotationContext.ts +0 -63
- package/src/core/main/ts/annotate/AnnotationFilter.ts +0 -49
- package/src/core/main/ts/annotate/AnnotationsRegistry.ts +0 -45
- package/src/core/main/ts/annotate/Identification.ts +0 -69
- package/src/core/main/ts/annotate/Markings.ts +0 -18
- package/src/core/main/ts/annotate/Wrapping.ts +0 -188
- package/src/core/main/ts/api/AddOnManager.ts +0 -302
- package/src/core/main/ts/api/Annotator.ts +0 -135
- package/src/core/main/ts/api/Editor.ts +0 -1146
- package/src/core/main/ts/api/EditorCommands.ts +0 -203
- package/src/core/main/ts/api/EditorManager.ts +0 -744
- package/src/core/main/ts/api/EditorObservable.ts +0 -221
- package/src/core/main/ts/api/EditorOptions.ts +0 -309
- package/src/core/main/ts/api/EditorUpload.ts +0 -363
- package/src/core/main/ts/api/Env.ts +0 -130
- package/src/core/main/ts/api/EventTypes.ts +0 -265
- package/src/core/main/ts/api/Events.ts +0 -133
- package/src/core/main/ts/api/FakeClipboard.ts +0 -82
- package/src/core/main/ts/api/FocusManager.ts +0 -34
- package/src/core/main/ts/api/Formatter.ts +0 -205
- package/src/core/main/ts/api/IconManager.ts +0 -39
- package/src/core/main/ts/api/Main.ts +0 -23
- package/src/core/main/ts/api/Mode.ts +0 -97
- package/src/core/main/ts/api/ModelManager.ts +0 -21
- package/src/core/main/ts/api/NotificationManager.ts +0 -197
- package/src/core/main/ts/api/OptionTypes.ts +0 -360
- package/src/core/main/ts/api/Options.ts +0 -1100
- package/src/core/main/ts/api/PluginManager.ts +0 -15
- package/src/core/main/ts/api/PublicApi.ts +0 -137
- package/src/core/main/ts/api/Resource.ts +0 -90
- package/src/core/main/ts/api/Shortcuts.ts +0 -266
- package/src/core/main/ts/api/ThemeManager.ts +0 -27
- package/src/core/main/ts/api/Tinymce.ts +0 -268
- package/src/core/main/ts/api/UndoManager.ts +0 -177
- package/src/core/main/ts/api/WindowManager.ts +0 -202
- package/src/core/main/ts/api/commands/AlignCommands.ts +0 -52
- package/src/core/main/ts/api/commands/ClipboardCommands.ts +0 -38
- package/src/core/main/ts/api/commands/Commands.ts +0 -55
- package/src/core/main/ts/api/commands/ContentCommands.ts +0 -45
- package/src/core/main/ts/api/commands/FormatCommands.ts +0 -78
- package/src/core/main/ts/api/commands/HistoryCommands.ts +0 -21
- package/src/core/main/ts/api/commands/IndentCommands.ts +0 -18
- package/src/core/main/ts/api/commands/LinkCommands.ts +0 -45
- package/src/core/main/ts/api/commands/NewBlockCommands.ts +0 -14
- package/src/core/main/ts/api/commands/NewlineCommands.ts +0 -20
- package/src/core/main/ts/api/commands/SelectionCommands.ts +0 -32
- package/src/core/main/ts/api/dom/BookmarkManager.ts +0 -74
- package/src/core/main/ts/api/dom/ControlSelection.ts +0 -512
- package/src/core/main/ts/api/dom/DOMUtils.ts +0 -1817
- package/src/core/main/ts/api/dom/EventUtils.ts +0 -482
- package/src/core/main/ts/api/dom/RangeUtils.ts +0 -120
- package/src/core/main/ts/api/dom/ScriptLoader.ts +0 -284
- package/src/core/main/ts/api/dom/Selection.ts +0 -618
- package/src/core/main/ts/api/dom/SelectorChanged.ts +0 -98
- package/src/core/main/ts/api/dom/Serializer.ts +0 -142
- package/src/core/main/ts/api/dom/StyleSheetLoader.ts +0 -256
- package/src/core/main/ts/api/dom/TextSeeker.ts +0 -92
- package/src/core/main/ts/api/dom/TreeWalker.ts +0 -129
- package/src/core/main/ts/api/file/BlobCache.ts +0 -143
- package/src/core/main/ts/api/fmt/Format.ts +0 -16
- package/src/core/main/ts/api/fmt/StyleFormat.ts +0 -30
- package/src/core/main/ts/api/geom/Rect.ts +0 -210
- package/src/core/main/ts/api/html/DomParser.ts +0 -517
- package/src/core/main/ts/api/html/Entities.ts +0 -279
- package/src/core/main/ts/api/html/Node.ts +0 -566
- package/src/core/main/ts/api/html/Schema.ts +0 -764
- package/src/core/main/ts/api/html/Serializer.ts +0 -171
- package/src/core/main/ts/api/html/StyleUtils.ts +0 -66
- package/src/core/main/ts/api/html/Styles.ts +0 -367
- package/src/core/main/ts/api/html/Writer.ts +0 -204
- package/src/core/main/ts/api/textpatterns/TextPatterns.ts +0 -15
- package/src/core/main/ts/api/ui/Registry.ts +0 -246
- package/src/core/main/ts/api/ui/Ui.ts +0 -31
- package/src/core/main/ts/api/util/Delay.ts +0 -73
- package/src/core/main/ts/api/util/EventDispatcher.ts +0 -341
- package/src/core/main/ts/api/util/FakeStorage.ts +0 -35
- package/src/core/main/ts/api/util/I18n.ts +0 -187
- package/src/core/main/ts/api/util/ImageUploader.ts +0 -51
- package/src/core/main/ts/api/util/LocalStorage.ts +0 -28
- package/src/core/main/ts/api/util/Observable.ts +0 -164
- package/src/core/main/ts/api/util/Tools.ts +0 -296
- package/src/core/main/ts/api/util/URI.ts +0 -522
- package/src/core/main/ts/api/util/VK.ts +0 -60
- package/src/core/main/ts/autocomplete/AutocompleteContext.ts +0 -76
- package/src/core/main/ts/autocomplete/AutocompleteLookup.ts +0 -73
- package/src/core/main/ts/autocomplete/AutocompleteTypes.ts +0 -21
- package/src/core/main/ts/autocomplete/AutocompleteUtils.ts +0 -12
- package/src/core/main/ts/autocomplete/Autocompleters.ts +0 -39
- package/src/core/main/ts/bookmark/BookmarkTypes.ts +0 -52
- package/src/core/main/ts/bookmark/Bookmarks.ts +0 -25
- package/src/core/main/ts/bookmark/CaretBookmark.ts +0 -242
- package/src/core/main/ts/bookmark/GetBookmark.ts +0 -231
- package/src/core/main/ts/bookmark/ResolveBookmark.ts +0 -268
- package/src/core/main/ts/caret/BlockBoundary.ts +0 -41
- package/src/core/main/ts/caret/CaretBr.ts +0 -34
- package/src/core/main/ts/caret/CaretCandidate.ts +0 -77
- package/src/core/main/ts/caret/CaretContainer.ts +0 -185
- package/src/core/main/ts/caret/CaretContainerInline.ts +0 -76
- package/src/core/main/ts/caret/CaretContainerInput.ts +0 -50
- package/src/core/main/ts/caret/CaretContainerRemove.ts +0 -95
- package/src/core/main/ts/caret/CaretFinder.ts +0 -102
- package/src/core/main/ts/caret/CaretPosition.ts +0 -407
- package/src/core/main/ts/caret/CaretPositionPredicates.ts +0 -55
- package/src/core/main/ts/caret/CaretUtils.ts +0 -323
- package/src/core/main/ts/caret/CaretWalker.ts +0 -245
- package/src/core/main/ts/caret/ClosestCaretCandidate.ts +0 -145
- package/src/core/main/ts/caret/FakeCaret.ts +0 -230
- package/src/core/main/ts/caret/FakeCaretUtils.ts +0 -60
- package/src/core/main/ts/caret/InsertText.ts +0 -37
- package/src/core/main/ts/caret/LineReader.ts +0 -133
- package/src/core/main/ts/caret/LineUtils.ts +0 -34
- package/src/core/main/ts/caret/LineWalker.ts +0 -165
- package/src/core/main/ts/caret/TableCells.ts +0 -90
- package/src/core/main/ts/commands/Font.ts +0 -60
- package/src/core/main/ts/commands/IndentOutdent.ts +0 -81
- package/src/core/main/ts/commands/LineHeight.ts +0 -24
- package/src/core/main/ts/content/ContentCleanup.ts +0 -28
- package/src/core/main/ts/content/ContentTypes.ts +0 -54
- package/src/core/main/ts/content/EditorContent.ts +0 -11
- package/src/core/main/ts/content/GetContent.ts +0 -24
- package/src/core/main/ts/content/GetContentImpl.ts +0 -67
- package/src/core/main/ts/content/InsertContent.ts +0 -62
- package/src/core/main/ts/content/InsertContentImpl.ts +0 -378
- package/src/core/main/ts/content/InsertList.ts +0 -212
- package/src/core/main/ts/content/NbspTrim.ts +0 -30
- package/src/core/main/ts/content/Placeholder.ts +0 -115
- package/src/core/main/ts/content/PrePostProcess.ts +0 -86
- package/src/core/main/ts/content/SetContent.ts +0 -23
- package/src/core/main/ts/content/SetContentImpl.ts +0 -98
- package/src/core/main/ts/content/TransparentElements.ts +0 -168
- package/src/core/main/ts/delete/BlockBoundaryDelete.ts +0 -25
- package/src/core/main/ts/delete/BlockMergeBoundary.ts +0 -92
- package/src/core/main/ts/delete/BlockRangeDelete.ts +0 -68
- package/src/core/main/ts/delete/CaretBoundaryDelete.ts +0 -81
- package/src/core/main/ts/delete/CefDelete.ts +0 -115
- package/src/core/main/ts/delete/CefDeleteAction.ts +0 -141
- package/src/core/main/ts/delete/DeleteCommands.ts +0 -74
- package/src/core/main/ts/delete/DeleteElement.ts +0 -168
- package/src/core/main/ts/delete/DeleteUtils.ts +0 -111
- package/src/core/main/ts/delete/DetailsDelete.ts +0 -258
- package/src/core/main/ts/delete/ImageBlockDelete.ts +0 -22
- package/src/core/main/ts/delete/InlineBoundaryDelete.ts +0 -127
- package/src/core/main/ts/delete/InlineFormatDelete.ts +0 -169
- package/src/core/main/ts/delete/MediaDelete.ts +0 -47
- package/src/core/main/ts/delete/MergeBlocks.ts +0 -128
- package/src/core/main/ts/delete/MergeText.ts +0 -66
- package/src/core/main/ts/delete/Outdent.ts +0 -25
- package/src/core/main/ts/delete/TableDelete.ts +0 -293
- package/src/core/main/ts/delete/TableDeleteAction.ts +0 -214
- package/src/core/main/ts/delete/TableDeleteUtils.ts +0 -67
- package/src/core/main/ts/dom/CefUtils.ts +0 -18
- package/src/core/main/ts/dom/Dimensions.ts +0 -39
- package/src/core/main/ts/dom/DomSerializerFilters.ts +0 -230
- package/src/core/main/ts/dom/DomSerializerImpl.ts +0 -132
- package/src/core/main/ts/dom/DomSerializerPreProcess.ts +0 -58
- package/src/core/main/ts/dom/ElementType.ts +0 -44
- package/src/core/main/ts/dom/ElementUtils.ts +0 -135
- package/src/core/main/ts/dom/Empty.ts +0 -122
- package/src/core/main/ts/dom/MousePosition.ts +0 -76
- package/src/core/main/ts/dom/NodePath.ts +0 -39
- package/src/core/main/ts/dom/NodeType.ts +0 -142
- package/src/core/main/ts/dom/PaddingBr.ts +0 -62
- package/src/core/main/ts/dom/Parents.ts +0 -24
- package/src/core/main/ts/dom/Position.ts +0 -74
- package/src/core/main/ts/dom/RangePoint.ts +0 -15
- package/src/core/main/ts/dom/RemoveTrailingBr.ts +0 -85
- package/src/core/main/ts/dom/ScrollIntoView.ts +0 -193
- package/src/core/main/ts/dom/StyleSheetLoaderRegistry.ts +0 -33
- package/src/core/main/ts/dom/TextWalker.ts +0 -34
- package/src/core/main/ts/dom/TrimBody.ts +0 -107
- package/src/core/main/ts/dom/TrimNode.ts +0 -76
- package/src/core/main/ts/events/DragEvents.ts +0 -99
- package/src/core/main/ts/events/EventUtils.ts +0 -141
- package/src/core/main/ts/events/InputEvents.ts +0 -46
- package/src/core/main/ts/events/TouchEvents.ts +0 -87
- package/src/core/main/ts/file/BlobCacheUtils.ts +0 -65
- package/src/core/main/ts/file/Conversions.ts +0 -110
- package/src/core/main/ts/file/ImageScanner.ts +0 -101
- package/src/core/main/ts/file/UploadStatus.ts +0 -79
- package/src/core/main/ts/file/Uploader.ts +0 -211
- package/src/core/main/ts/fmt/ApplyFormat.ts +0 -383
- package/src/core/main/ts/fmt/CaretFormat.ts +0 -375
- package/src/core/main/ts/fmt/DefaultFormats.ts +0 -264
- package/src/core/main/ts/fmt/ExpandRange.ts +0 -373
- package/src/core/main/ts/fmt/FontInfo.ts +0 -60
- package/src/core/main/ts/fmt/FormatChanged.ts +0 -205
- package/src/core/main/ts/fmt/FormatContainer.ts +0 -24
- package/src/core/main/ts/fmt/FormatRegistry.ts +0 -92
- package/src/core/main/ts/fmt/FormatTypes.ts +0 -82
- package/src/core/main/ts/fmt/FormatUtils.ts +0 -366
- package/src/core/main/ts/fmt/Hooks.ts +0 -69
- package/src/core/main/ts/fmt/ListItemFormat.ts +0 -55
- package/src/core/main/ts/fmt/MatchFormat.ts +0 -242
- package/src/core/main/ts/fmt/MergeFormats.ts +0 -108
- package/src/core/main/ts/fmt/MergeUtils.ts +0 -128
- package/src/core/main/ts/fmt/Preview.ts +0 -336
- package/src/core/main/ts/fmt/RemoveFormat.ts +0 -679
- package/src/core/main/ts/fmt/TableFormats.ts +0 -51
- package/src/core/main/ts/fmt/ToggleFormat.ts +0 -20
- package/src/core/main/ts/focus/CefFocus.ts +0 -33
- package/src/core/main/ts/focus/EditorFocus.ts +0 -139
- package/src/core/main/ts/focus/FocusController.ts +0 -151
- package/src/core/main/ts/focus/MediaFocus.ts +0 -25
- package/src/core/main/ts/frames/Frames.ts +0 -22
- package/src/core/main/ts/frames/Navigation.ts +0 -21
- package/src/core/main/ts/frames/OuterPosition.ts +0 -26
- package/src/core/main/ts/geom/ClientRect.ts +0 -154
- package/src/core/main/ts/html/AstNodeType.ts +0 -10
- package/src/core/main/ts/html/Embed.ts +0 -55
- package/src/core/main/ts/html/FilterNode.ts +0 -111
- package/src/core/main/ts/html/FilterRegistry.ts +0 -58
- package/src/core/main/ts/html/InvalidNodes.ts +0 -189
- package/src/core/main/ts/html/LegacyFilter.ts +0 -80
- package/src/core/main/ts/html/Namespace.ts +0 -47
- package/src/core/main/ts/html/NonEditableFilter.ts +0 -108
- package/src/core/main/ts/html/ParserFilters.ts +0 -176
- package/src/core/main/ts/html/ParserUtils.ts +0 -62
- package/src/core/main/ts/html/Sanitization.ts +0 -268
- package/src/core/main/ts/init/ContentCss.ts +0 -46
- package/src/core/main/ts/init/Init.ts +0 -195
- package/src/core/main/ts/init/InitContentBody.ts +0 -509
- package/src/core/main/ts/init/InitIframe.ts +0 -127
- package/src/core/main/ts/init/LicenseKeyValidation.ts +0 -21
- package/src/core/main/ts/init/Render.ts +0 -263
- package/src/core/main/ts/keyboard/ArrowKeys.ts +0 -58
- package/src/core/main/ts/keyboard/Autocompleter.ts +0 -158
- package/src/core/main/ts/keyboard/BoundaryCaret.ts +0 -67
- package/src/core/main/ts/keyboard/BoundaryLocation.ts +0 -195
- package/src/core/main/ts/keyboard/BoundarySelection.ts +0 -139
- package/src/core/main/ts/keyboard/CefNavigation.ts +0 -124
- package/src/core/main/ts/keyboard/CefUtils.ts +0 -24
- package/src/core/main/ts/keyboard/ContentEndpointNavigation.ts +0 -46
- package/src/core/main/ts/keyboard/DeleteBackspaceKeys.ts +0 -127
- package/src/core/main/ts/keyboard/DetailsNavigation.ts +0 -50
- package/src/core/main/ts/keyboard/EnterKey.ts +0 -87
- package/src/core/main/ts/keyboard/FormatShortcuts.ts +0 -21
- package/src/core/main/ts/keyboard/HomeEndKeys.ts +0 -40
- package/src/core/main/ts/keyboard/InlineUtils.ts +0 -77
- package/src/core/main/ts/keyboard/InputKeys.ts +0 -15
- package/src/core/main/ts/keyboard/InsertSpace.ts +0 -72
- package/src/core/main/ts/keyboard/KeyboardOverrides.ts +0 -44
- package/src/core/main/ts/keyboard/MatchKeys.ts +0 -65
- package/src/core/main/ts/keyboard/MediaNavigation.ts +0 -36
- package/src/core/main/ts/keyboard/NavigationUtils.ts +0 -168
- package/src/core/main/ts/keyboard/Nbsps.ts +0 -213
- package/src/core/main/ts/keyboard/PageUpDownKeys.ts +0 -68
- package/src/core/main/ts/keyboard/PreventNoneditableInput.ts +0 -14
- package/src/core/main/ts/keyboard/SpaceKey.ts +0 -34
- package/src/core/main/ts/keyboard/TabKey.ts +0 -37
- package/src/core/main/ts/keyboard/TableNavigation.ts +0 -182
- package/src/core/main/ts/mode/EditableRoot.ts +0 -18
- package/src/core/main/ts/mode/Mode.ts +0 -69
- package/src/core/main/ts/mode/Readonly.ts +0 -179
- package/src/core/main/ts/newline/ContextSelectors.ts +0 -24
- package/src/core/main/ts/newline/InsertBlock.ts +0 -442
- package/src/core/main/ts/newline/InsertBr.ts +0 -177
- package/src/core/main/ts/newline/InsertDetailsNewLine.ts +0 -46
- package/src/core/main/ts/newline/InsertLi.ts +0 -141
- package/src/core/main/ts/newline/InsertNewLine.ts +0 -64
- package/src/core/main/ts/newline/NewBlock.ts +0 -44
- package/src/core/main/ts/newline/NewLineAction.ts +0 -121
- package/src/core/main/ts/newline/NewLineUtils.ts +0 -236
- package/src/core/main/ts/options/NormalizeOptions.ts +0 -152
- package/src/core/main/ts/paste/Clipboard.ts +0 -337
- package/src/core/main/ts/paste/Commands.ts +0 -38
- package/src/core/main/ts/paste/CutCopy.ts +0 -116
- package/src/core/main/ts/paste/DragDrop.ts +0 -159
- package/src/core/main/ts/paste/InternalHtml.ts +0 -21
- package/src/core/main/ts/paste/Newlines.ts +0 -46
- package/src/core/main/ts/paste/Paste.ts +0 -33
- package/src/core/main/ts/paste/PasteBin.ts +0 -135
- package/src/core/main/ts/paste/PasteUtils.ts +0 -150
- package/src/core/main/ts/paste/PrePostProcess.ts +0 -25
- package/src/core/main/ts/paste/ProcessFilters.ts +0 -58
- package/src/core/main/ts/paste/Quirks.ts +0 -97
- package/src/core/main/ts/paste/SmartPaste.ts +0 -81
- package/src/core/main/ts/schema/CustomElementsRuleParser.ts +0 -24
- package/src/core/main/ts/schema/GlobalAttributesSet.ts +0 -25
- package/src/core/main/ts/schema/Presets.ts +0 -27
- package/src/core/main/ts/schema/SchemaElementSets.ts +0 -70
- package/src/core/main/ts/schema/SchemaLookupTable.ts +0 -230
- package/src/core/main/ts/schema/SchemaTypes.ts +0 -80
- package/src/core/main/ts/schema/SchemaUtils.ts +0 -31
- package/src/core/main/ts/schema/ValidChildrenRuleParser.ts +0 -51
- package/src/core/main/ts/schema/ValidElementsRuleParser.ts +0 -138
- package/src/core/main/ts/selection/CaretRangeFromPoint.ts +0 -15
- package/src/core/main/ts/selection/DetailsElement.ts +0 -41
- package/src/core/main/ts/selection/EditableRange.ts +0 -9
- package/src/core/main/ts/selection/ElementSelection.ts +0 -148
- package/src/core/main/ts/selection/EventProcessRanges.ts +0 -12
- package/src/core/main/ts/selection/FragmentReader.ts +0 -87
- package/src/core/main/ts/selection/GetSelectionContent.ts +0 -11
- package/src/core/main/ts/selection/GetSelectionContentImpl.ts +0 -104
- package/src/core/main/ts/selection/MultiClickSelection.ts +0 -86
- package/src/core/main/ts/selection/MultiRange.ts +0 -33
- package/src/core/main/ts/selection/NormalizeRange.ts +0 -299
- package/src/core/main/ts/selection/RangeCompare.ts +0 -13
- package/src/core/main/ts/selection/RangeInsertNode.ts +0 -40
- package/src/core/main/ts/selection/RangeMap.ts +0 -31
- package/src/core/main/ts/selection/RangeNodes.ts +0 -40
- package/src/core/main/ts/selection/RangeNormalizer.ts +0 -38
- package/src/core/main/ts/selection/RangeTypes.ts +0 -6
- package/src/core/main/ts/selection/RangeWalk.ts +0 -107
- package/src/core/main/ts/selection/SelectionBookmark.ts +0 -107
- package/src/core/main/ts/selection/SelectionRestore.ts +0 -63
- package/src/core/main/ts/selection/SelectionUtils.ts +0 -144
- package/src/core/main/ts/selection/SetSelectionContent.ts +0 -124
- package/src/core/main/ts/selection/SimpleTableModel.ts +0 -168
- package/src/core/main/ts/selection/SplitRange.ts +0 -55
- package/src/core/main/ts/selection/TableCellSelection.ts +0 -31
- package/src/core/main/ts/selection/WordSelection.ts +0 -37
- package/src/core/main/ts/text/Bidi.ts +0 -7
- package/src/core/main/ts/text/CharType.ts +0 -18
- package/src/core/main/ts/text/ExtendingChar.ts +0 -42
- package/src/core/main/ts/text/Whitespace.ts +0 -53
- package/src/core/main/ts/text/Zwsp.ts +0 -27
- package/src/core/main/ts/textpatterns/TextPatterns.ts +0 -10
- package/src/core/main/ts/textpatterns/core/BlockPattern.ts +0 -62
- package/src/core/main/ts/textpatterns/core/BlockPatternOnSpace.ts +0 -29
- package/src/core/main/ts/textpatterns/core/BlockPatternUtils.ts +0 -90
- package/src/core/main/ts/textpatterns/core/InlinePattern.ts +0 -326
- package/src/core/main/ts/textpatterns/core/Pattern.ts +0 -141
- package/src/core/main/ts/textpatterns/core/PatternTypes.ts +0 -86
- package/src/core/main/ts/textpatterns/keyboard/KeyHandler.ts +0 -97
- package/src/core/main/ts/textpatterns/keyboard/Keyboard.ts +0 -75
- package/src/core/main/ts/textpatterns/utils/Marker.ts +0 -50
- package/src/core/main/ts/textpatterns/utils/PathRange.ts +0 -81
- package/src/core/main/ts/textpatterns/utils/Utils.ts +0 -71
- package/src/core/main/ts/ui/NotificationManagerImpl.ts +0 -13
- package/src/core/main/ts/ui/WindowManagerImpl.ts +0 -15
- package/src/core/main/ts/undo/Diff.ts +0 -151
- package/src/core/main/ts/undo/Fragments.ts +0 -89
- package/src/core/main/ts/undo/Levels.ts +0 -99
- package/src/core/main/ts/undo/Locks.ts +0 -4
- package/src/core/main/ts/undo/Operations.ts +0 -167
- package/src/core/main/ts/undo/Setup.ts +0 -157
- package/src/core/main/ts/undo/TypingState.ts +0 -22
- package/src/core/main/ts/undo/UndoManagerTypes.ts +0 -50
- package/src/core/main/ts/util/ArrUtils.ts +0 -149
- package/src/core/main/ts/util/LazyEvaluator.ts +0 -16
- package/src/core/main/ts/util/Predicate.ts +0 -29
- package/src/core/main/ts/util/Quirks.ts +0 -739
- package/src/core/main/ts/util/Uuid.ts +0 -25
- package/src/core/main/ts/view/VisualAids.ts +0 -5
- package/src/core/main/ts/view/VisualAidsImpl.ts +0 -41
- package/src/core/test/assets/icons/custom/icons.js +0 -6
- package/src/core/test/assets/js/nested.js +0 -2
- package/src/core/test/assets/js/test.js +0 -1
- package/src/core/test/assets/langs/custom.js +0 -3
- package/src/core/test/json/routes.json +0 -395
- package/src/core/test/ts/atomic/autocomplete/ParserTest.ts +0 -54
- package/src/core/test/ts/atomic/file/ConversionsTest.ts +0 -34
- package/src/core/test/ts/atomic/html/FilterNodeTest.ts +0 -57
- package/src/core/test/ts/atomic/keyboard/MatchKeysTest.ts +0 -123
- package/src/core/test/ts/atomic/keyboard/NbspsTest.ts +0 -22
- package/src/core/test/ts/atomic/paste/InternalHtmlTest.ts +0 -25
- package/src/core/test/ts/atomic/paste/NewlinesTest.ts +0 -60
- package/src/core/test/ts/atomic/schema/CustomElementsRuleParserTest.ts +0 -53
- package/src/core/test/ts/atomic/schema/GlobalAttributesSetTest.ts +0 -42
- package/src/core/test/ts/atomic/schema/PresetsTest.ts +0 -42
- package/src/core/test/ts/atomic/schema/SchemaElementSetsTest.ts +0 -122
- package/src/core/test/ts/atomic/schema/SchemaLookupTableTest.ts +0 -37
- package/src/core/test/ts/atomic/schema/ValidChildrenRuleParserTest.ts +0 -175
- package/src/core/test/ts/atomic/schema/ValidElementsRuleParserTest.ts +0 -331
- package/src/core/test/ts/atomic/text/BidiTest.ts +0 -12
- package/src/core/test/ts/atomic/text/ExtendingCharTest.ts +0 -11
- package/src/core/test/ts/atomic/text/WhitespaceTest.ts +0 -32
- package/src/core/test/ts/atomic/text/ZwspTest.ts +0 -12
- package/src/core/test/ts/atomic/textpatterns/FindBlockPatternsTest.ts +0 -47
- package/src/core/test/ts/atomic/util/LazyEvaluatorTest.ts +0 -26
- package/src/core/test/ts/atomic/util/PredicateTest.ts +0 -25
- package/src/core/test/ts/browser/AddOnManagerTest.ts +0 -90
- package/src/core/test/ts/browser/ClickContentEditableFalseTest.ts +0 -76
- package/src/core/test/ts/browser/DragDropOverridesTest.ts +0 -801
- package/src/core/test/ts/browser/EditableRootTest.ts +0 -97
- package/src/core/test/ts/browser/EditorAutoFocusTest.ts +0 -84
- package/src/core/test/ts/browser/EditorCleanupTest.ts +0 -65
- package/src/core/test/ts/browser/EditorManagerCommandsTest.ts +0 -87
- package/src/core/test/ts/browser/EditorManagerSetupTest.ts +0 -40
- package/src/core/test/ts/browser/EditorManagerTest.ts +0 -206
- package/src/core/test/ts/browser/EditorOptionsTest.ts +0 -227
- package/src/core/test/ts/browser/EditorRemoveTest.ts +0 -101
- package/src/core/test/ts/browser/EditorRemovedApiTest.ts +0 -43
- package/src/core/test/ts/browser/EditorRtlTest.ts +0 -36
- package/src/core/test/ts/browser/EditorTest.ts +0 -543
- package/src/core/test/ts/browser/EditorUploadTest.ts +0 -663
- package/src/core/test/ts/browser/EditorViewTest.ts +0 -101
- package/src/core/test/ts/browser/FakeClipboardTest.ts +0 -83
- package/src/core/test/ts/browser/FontSelectCustomTest.ts +0 -63
- package/src/core/test/ts/browser/FontSelectTest.ts +0 -172
- package/src/core/test/ts/browser/ForceBlocksTest.ts +0 -167
- package/src/core/test/ts/browser/FormatterApplyTest.ts +0 -2563
- package/src/core/test/ts/browser/FormatterCheckTest.ts +0 -358
- package/src/core/test/ts/browser/FormatterClosestTest.ts +0 -79
- package/src/core/test/ts/browser/FormatterRemoveTest.ts +0 -619
- package/src/core/test/ts/browser/FormattingCommandsTest.ts +0 -554
- package/src/core/test/ts/browser/InlineEditorRemoveTest.ts +0 -28
- package/src/core/test/ts/browser/InlineEditorSaveTest.ts +0 -27
- package/src/core/test/ts/browser/MiscCommandsTest.ts +0 -75
- package/src/core/test/ts/browser/ModeTest.ts +0 -111
- package/src/core/test/ts/browser/NotificationManagerTest.ts +0 -256
- package/src/core/test/ts/browser/PadEmptyWithBrTest.ts +0 -38
- package/src/core/test/ts/browser/ReadOnlyModeTest.ts +0 -305
- package/src/core/test/ts/browser/ResourceTest.ts +0 -86
- package/src/core/test/ts/browser/SelectionOverridesTest.ts +0 -338
- package/src/core/test/ts/browser/ShortcutsTest.ts +0 -106
- package/src/core/test/ts/browser/UndoManagerTest.ts +0 -759
- package/src/core/test/ts/browser/WindowManagerTest.ts +0 -46
- package/src/core/test/ts/browser/annotate/AnnotateBlocksTest.ts +0 -723
- package/src/core/test/ts/browser/annotate/AnnotateTest.ts +0 -209
- package/src/core/test/ts/browser/annotate/AnnotationChangedTest.ts +0 -352
- package/src/core/test/ts/browser/annotate/AnnotationPersistenceTest.ts +0 -129
- package/src/core/test/ts/browser/annotate/AnnotationRemovedTest.ts +0 -211
- package/src/core/test/ts/browser/annotate/AnnotationStylingTest.ts +0 -311
- package/src/core/test/ts/browser/api/EditorCommandsTest.ts +0 -341
- package/src/core/test/ts/browser/api/OptionsTest.ts +0 -34
- package/src/core/test/ts/browser/api/commands/ContentCommandsTest.ts +0 -91
- package/src/core/test/ts/browser/api/commands/NewBlockCommandsTest.ts +0 -251
- package/src/core/test/ts/browser/api/commands/NewlineCommandsTest.ts +0 -131
- package/src/core/test/ts/browser/api/dom/RangeExpandTest.ts +0 -77
- package/src/core/test/ts/browser/api/dom/RangeUtilsTest.ts +0 -45
- package/src/core/test/ts/browser/bookmark/BookmarksTest.ts +0 -313
- package/src/core/test/ts/browser/bookmark/CaretBookmarkTest.ts +0 -163
- package/src/core/test/ts/browser/caret/CaretCandidateTest.ts +0 -60
- package/src/core/test/ts/browser/caret/CaretContainerRemoveTest.ts +0 -63
- package/src/core/test/ts/browser/caret/CaretContainerTest.ts +0 -163
- package/src/core/test/ts/browser/caret/CaretFinderTest.ts +0 -410
- package/src/core/test/ts/browser/caret/CaretPositionPredicatesTest.ts +0 -59
- package/src/core/test/ts/browser/caret/CaretPositionTest.ts +0 -202
- package/src/core/test/ts/browser/caret/CaretUtilsTest.ts +0 -249
- package/src/core/test/ts/browser/caret/CaretWalkerTest.ts +0 -308
- package/src/core/test/ts/browser/caret/ClosestCaretCandidateTest.ts +0 -717
- package/src/core/test/ts/browser/caret/FakeCaretTest.ts +0 -143
- package/src/core/test/ts/browser/caret/FakeCaretTypeTest.ts +0 -29
- package/src/core/test/ts/browser/caret/FirefoxFakeCaretBeforeTableTypeTest.ts +0 -54
- package/src/core/test/ts/browser/caret/LineReaderTest.ts +0 -539
- package/src/core/test/ts/browser/caret/LineUtilsTest.ts +0 -22
- package/src/core/test/ts/browser/caret/LineWalkerTest.ts +0 -93
- package/src/core/test/ts/browser/caret/TableCellsTest.ts +0 -249
- package/src/core/test/ts/browser/commands/ContentLangTest.ts +0 -83
- package/src/core/test/ts/browser/commands/LineHeightTest.ts +0 -95
- package/src/core/test/ts/browser/commands/OutdentCommandTest.ts +0 -151
- package/src/core/test/ts/browser/content/CustomElementsTest.ts +0 -39
- package/src/core/test/ts/browser/content/EditorContentEventsTest.ts +0 -153
- package/src/core/test/ts/browser/content/EditorContentForcedRootBlockTest.ts +0 -20
- package/src/core/test/ts/browser/content/EditorContentNotInitializedTest.ts +0 -86
- package/src/core/test/ts/browser/content/EditorContentTest.ts +0 -704
- package/src/core/test/ts/browser/content/EditorContentWsTest.ts +0 -18
- package/src/core/test/ts/browser/content/EditorGetContentRawTest.ts +0 -86
- package/src/core/test/ts/browser/content/EditorGetContentTextFormatTest.ts +0 -35
- package/src/core/test/ts/browser/content/EditorGetContentTreeTest.ts +0 -49
- package/src/core/test/ts/browser/content/EditorResetContentTest.ts +0 -97
- package/src/core/test/ts/browser/content/HTMLDataURLsTest.ts +0 -32
- package/src/core/test/ts/browser/content/InsertContentCommandTest.ts +0 -429
- package/src/core/test/ts/browser/content/InsertContentTest.ts +0 -869
- package/src/core/test/ts/browser/content/InsertContentWebKitBugs.ts +0 -21
- package/src/core/test/ts/browser/content/InsertListTest.ts +0 -48
- package/src/core/test/ts/browser/content/InsertUnsanitizedContentTest.ts +0 -40
- package/src/core/test/ts/browser/content/PlaceholderVisuallyEmptyTest.ts +0 -54
- package/src/core/test/ts/browser/content/TransparentElementsTest.ts +0 -242
- package/src/core/test/ts/browser/delete/BlockBoundaryDeleteTest.ts +0 -494
- package/src/core/test/ts/browser/delete/BlockMergeBoundaryTest.ts +0 -113
- package/src/core/test/ts/browser/delete/BlockRangeDeleteTest.ts +0 -162
- package/src/core/test/ts/browser/delete/CaretBoundaryDeleteTest.ts +0 -123
- package/src/core/test/ts/browser/delete/CefDeleteActionTest.ts +0 -336
- package/src/core/test/ts/browser/delete/CefDeleteNoneditableTest.ts +0 -106
- package/src/core/test/ts/browser/delete/CefDeleteTest.ts +0 -321
- package/src/core/test/ts/browser/delete/DeleteBeforeInputEventTest.ts +0 -23
- package/src/core/test/ts/browser/delete/DeleteCommandsTest.ts +0 -106
- package/src/core/test/ts/browser/delete/DeleteElementTest.ts +0 -242
- package/src/core/test/ts/browser/delete/DeleteUtilsTest.ts +0 -119
- package/src/core/test/ts/browser/delete/DetailsDeleteTest.ts +0 -162
- package/src/core/test/ts/browser/delete/ImageBlockDeleteTest.ts +0 -66
- package/src/core/test/ts/browser/delete/InlineBoundaryDeleteTest.ts +0 -126
- package/src/core/test/ts/browser/delete/InlineFormatDeleteTest.ts +0 -986
- package/src/core/test/ts/browser/delete/InlineFormatPostShortcutDeleteTest.ts +0 -324
- package/src/core/test/ts/browser/delete/MediaDeleteTest.ts +0 -83
- package/src/core/test/ts/browser/delete/MergeBlocksTest.ts +0 -243
- package/src/core/test/ts/browser/delete/OutdentTest.ts +0 -43
- package/src/core/test/ts/browser/delete/TableDeleteActionTest.ts +0 -197
- package/src/core/test/ts/browser/delete/TableDeleteTest.ts +0 -671
- package/src/core/test/ts/browser/dom/ContentCssCorsTest.ts +0 -129
- package/src/core/test/ts/browser/dom/ControlSelectionTest.ts +0 -265
- package/src/core/test/ts/browser/dom/DimensionsTest.ts +0 -45
- package/src/core/test/ts/browser/dom/DomUtilsTest.ts +0 -991
- package/src/core/test/ts/browser/dom/ElementTypeTest.ts +0 -78
- package/src/core/test/ts/browser/dom/EmptyTest.ts +0 -79
- package/src/core/test/ts/browser/dom/EventUtilsTest.ts +0 -497
- package/src/core/test/ts/browser/dom/NodePathTest.ts +0 -41
- package/src/core/test/ts/browser/dom/NodeTypeTest.ts +0 -123
- package/src/core/test/ts/browser/dom/PaddingBrTest.ts +0 -59
- package/src/core/test/ts/browser/dom/ParentsTest.ts +0 -99
- package/src/core/test/ts/browser/dom/RangePointTest.ts +0 -42
- package/src/core/test/ts/browser/dom/ReferrerPolicyTest.ts +0 -45
- package/src/core/test/ts/browser/dom/ScriptLoaderTest.ts +0 -113
- package/src/core/test/ts/browser/dom/ScrollIntoViewTest.ts +0 -305
- package/src/core/test/ts/browser/dom/SelectionEventsTest.ts +0 -116
- package/src/core/test/ts/browser/dom/SelectionQuirksTest.ts +0 -84
- package/src/core/test/ts/browser/dom/SelectionTest.ts +0 -1380
- package/src/core/test/ts/browser/dom/SerializerEventsTest.ts +0 -50
- package/src/core/test/ts/browser/dom/SerializerTest.ts +0 -926
- package/src/core/test/ts/browser/dom/StyleSheetLoaderRegistryTest.ts +0 -40
- package/src/core/test/ts/browser/dom/StyleSheetLoaderTest.ts +0 -70
- package/src/core/test/ts/browser/dom/TreeWalkerTest.ts +0 -97
- package/src/core/test/ts/browser/dom/TrimBodyTest.ts +0 -188
- package/src/core/test/ts/browser/dom/TrimNodeTest.ts +0 -52
- package/src/core/test/ts/browser/file/BlobCacheTest.ts +0 -98
- package/src/core/test/ts/browser/file/ConversionsTest.ts +0 -25
- package/src/core/test/ts/browser/file/ImageScannerTest.ts +0 -71
- package/src/core/test/ts/browser/file/UploadStatusTest.ts +0 -33
- package/src/core/test/ts/browser/fmt/BlockFormatsTest.ts +0 -75
- package/src/core/test/ts/browser/fmt/CaretFormatTest.ts +0 -894
- package/src/core/test/ts/browser/fmt/DefaultFormatsWithSchemaTest.ts +0 -79
- package/src/core/test/ts/browser/fmt/ExpandRangeTest.ts +0 -311
- package/src/core/test/ts/browser/fmt/FontInfoTest.ts +0 -158
- package/src/core/test/ts/browser/fmt/FontsizeFormatTest.ts +0 -25
- package/src/core/test/ts/browser/fmt/FormatChangeSelectionTest.ts +0 -111
- package/src/core/test/ts/browser/fmt/FormatChangeVarsTest.ts +0 -191
- package/src/core/test/ts/browser/fmt/FormatEmptyLineTest.ts +0 -428
- package/src/core/test/ts/browser/fmt/FormatNoneditableTest.ts +0 -762
- package/src/core/test/ts/browser/fmt/HooksTest.ts +0 -67
- package/src/core/test/ts/browser/fmt/ListItemFormatTest.ts +0 -377
- package/src/core/test/ts/browser/fmt/MediaAlignTest.ts +0 -81
- package/src/core/test/ts/browser/fmt/PreviewTest.ts +0 -255
- package/src/core/test/ts/browser/fmt/RemoveFormatTest.ts +0 -284
- package/src/core/test/ts/browser/fmt/RemoveHighlightFormatTest.ts +0 -48
- package/src/core/test/ts/browser/fmt/RemoveTrailingWhitespaceFormatTest.ts +0 -44
- package/src/core/test/ts/browser/fmt/TableFormatsTest.ts +0 -178
- package/src/core/test/ts/browser/fmt/TextDecorationColorTest.ts +0 -197
- package/src/core/test/ts/browser/focus/CefFocusTest.ts +0 -34
- package/src/core/test/ts/browser/focus/EditorFocusTest.ts +0 -89
- package/src/core/test/ts/browser/focus/FocusControllerTest.ts +0 -83
- package/src/core/test/ts/browser/focus/HighlightOnFocusTest.ts +0 -146
- package/src/core/test/ts/browser/focus/KeyboardShortcutElementPathFocusTest.ts +0 -30
- package/src/core/test/ts/browser/focus/KeyboardShortcutMenuFocusTest.ts +0 -31
- package/src/core/test/ts/browser/focus/MediaFocusTest.ts +0 -27
- package/src/core/test/ts/browser/geom/ClientRectTest.ts +0 -118
- package/src/core/test/ts/browser/geom/RectTest.ts +0 -94
- package/src/core/test/ts/browser/html/DomParserTest.ts +0 -1702
- package/src/core/test/ts/browser/html/EntitiesTest.ts +0 -127
- package/src/core/test/ts/browser/html/NamespaceTest.ts +0 -61
- package/src/core/test/ts/browser/html/NodeTest.ts +0 -443
- package/src/core/test/ts/browser/html/NonEditableFilterTest.ts +0 -42
- package/src/core/test/ts/browser/html/ParserUtilsTest.ts +0 -78
- package/src/core/test/ts/browser/html/SanitizationTest.ts +0 -75
- package/src/core/test/ts/browser/html/SchemaTest.ts +0 -887
- package/src/core/test/ts/browser/html/SerializerTest.ts +0 -70
- package/src/core/test/ts/browser/html/StylesTest.ts +0 -269
- package/src/core/test/ts/browser/html/WriterTest.ts +0 -155
- package/src/core/test/ts/browser/init/ContentCssTest.ts +0 -49
- package/src/core/test/ts/browser/init/ContentStylePositionTest.ts +0 -28
- package/src/core/test/ts/browser/init/EditorCustomThemeTest.ts +0 -141
- package/src/core/test/ts/browser/init/EditorInitializationTest.ts +0 -245
- package/src/core/test/ts/browser/init/InitContentBodyDirectionalityTest.ts +0 -48
- package/src/core/test/ts/browser/init/InitContentBodyEditInitialContentTest.ts +0 -43
- package/src/core/test/ts/browser/init/InitContentBodyFiltersTest.ts +0 -29
- package/src/core/test/ts/browser/init/InitContentBodySelectionTest.ts +0 -47
- package/src/core/test/ts/browser/init/InitDocumentWriteTest.ts +0 -21
- package/src/core/test/ts/browser/init/InitEditorIconTest.ts +0 -41
- package/src/core/test/ts/browser/init/InitEditorLanguageTest.ts +0 -27
- package/src/core/test/ts/browser/init/InitEditorNoThemeIframeTest.ts +0 -33
- package/src/core/test/ts/browser/init/InitEditorNoThemeInlineTest.ts +0 -42
- package/src/core/test/ts/browser/init/InitEditorOnHiddenElementTest.ts +0 -16
- package/src/core/test/ts/browser/init/InitEditorPluginInitErrorTest.ts +0 -50
- package/src/core/test/ts/browser/init/InitEditorThemeFunctionIframeTest.ts +0 -41
- package/src/core/test/ts/browser/init/InitEditorThemeFunctionInlineTest.ts +0 -49
- package/src/core/test/ts/browser/init/InitEventsOrderTest.ts +0 -45
- package/src/core/test/ts/browser/init/InitIframeAriaTextTest.ts +0 -34
- package/src/core/test/ts/browser/init/InitIframeEditorCookiesTest.ts +0 -22
- package/src/core/test/ts/browser/init/InitIframeEditorWithCustomAttrsTest.ts +0 -26
- package/src/core/test/ts/browser/init/InitIframeEditorWithTabindexTest.ts +0 -29
- package/src/core/test/ts/browser/init/InitUnsanitizedContentTest.ts +0 -28
- package/src/core/test/ts/browser/init/LicenseKeyValidationTest.ts +0 -143
- package/src/core/test/ts/browser/init/RegisterFormatsBeforeSetContentTest.ts +0 -33
- package/src/core/test/ts/browser/init/ShadowDomEditorTest.ts +0 -81
- package/src/core/test/ts/browser/keyboard/ArrowKeysAnchorTest.ts +0 -251
- package/src/core/test/ts/browser/keyboard/ArrowKeysCefTest.ts +0 -208
- package/src/core/test/ts/browser/keyboard/ArrowKeysContentEndpointTest.ts +0 -80
- package/src/core/test/ts/browser/keyboard/ArrowKeysEdgeCefTest.ts +0 -322
- package/src/core/test/ts/browser/keyboard/ArrowKeysInlineBoundariesTest.ts +0 -388
- package/src/core/test/ts/browser/keyboard/ArrowKeysTableTest.ts +0 -250
- package/src/core/test/ts/browser/keyboard/AutocompleterTest.ts +0 -197
- package/src/core/test/ts/browser/keyboard/BoundaryCaretTest.ts +0 -49
- package/src/core/test/ts/browser/keyboard/BoundaryLocationTest.ts +0 -216
- package/src/core/test/ts/browser/keyboard/CaretAfterKoreanTest.ts +0 -139
- package/src/core/test/ts/browser/keyboard/EnterKeyAnchorTest.ts +0 -180
- package/src/core/test/ts/browser/keyboard/EnterKeyCeFalseTest.ts +0 -105
- package/src/core/test/ts/browser/keyboard/EnterKeyHrTest.ts +0 -66
- package/src/core/test/ts/browser/keyboard/EnterKeyListsTest.ts +0 -520
- package/src/core/test/ts/browser/keyboard/EnterKeyTest.ts +0 -684
- package/src/core/test/ts/browser/keyboard/FormatShortcutsTest.ts +0 -117
- package/src/core/test/ts/browser/keyboard/HomeEndKeysTest.ts +0 -165
- package/src/core/test/ts/browser/keyboard/InlineUtilsTest.ts +0 -199
- package/src/core/test/ts/browser/keyboard/InsertKeysTest.ts +0 -331
- package/src/core/test/ts/browser/keyboard/KeyboardCellNavigationTest.ts +0 -88
- package/src/core/test/ts/browser/keyboard/KeyboardEventTest.ts +0 -26
- package/src/core/test/ts/browser/keyboard/MediaNavigationTest.ts +0 -113
- package/src/core/test/ts/browser/keyboard/PreventNoneditableInputTest.ts +0 -92
- package/src/core/test/ts/browser/keyboard/SpaceKeyBeforeInputEventTest.ts +0 -23
- package/src/core/test/ts/browser/keyboard/SpaceKeyTest.ts +0 -144
- package/src/core/test/ts/browser/keyboard/TableNavigationTest.ts +0 -92
- package/src/core/test/ts/browser/keyboard/TableTabKeyNavigationTest.ts +0 -228
- package/src/core/test/ts/browser/keyboard/TableTabNavigationDisabledTest.ts +0 -22
- package/src/core/test/ts/browser/keyboard/TypeTextAtCefTest.ts +0 -43
- package/src/core/test/ts/browser/newline/ForcedRootBlockTest.ts +0 -172
- package/src/core/test/ts/browser/newline/InsertBrTest.ts +0 -128
- package/src/core/test/ts/browser/newline/InsertNewLineTest.ts +0 -853
- package/src/core/test/ts/browser/newline/NewlineBeforeInputEventTest.ts +0 -22
- package/src/core/test/ts/browser/options/NormalizeOptionsTest.ts +0 -254
- package/src/core/test/ts/browser/paste/CutNoneditableTest.ts +0 -26
- package/src/core/test/ts/browser/paste/DragDropImageTest.ts +0 -69
- package/src/core/test/ts/browser/paste/DragDropSummaryTest.ts +0 -60
- package/src/core/test/ts/browser/paste/DragDropTransparentsTest.ts +0 -57
- package/src/core/test/ts/browser/paste/ImagePasteTest.ts +0 -195
- package/src/core/test/ts/browser/paste/InternalClipboardTest.ts +0 -248
- package/src/core/test/ts/browser/paste/PasteBinTest.ts +0 -91
- package/src/core/test/ts/browser/paste/PasteFormatToggleTest.ts +0 -31
- package/src/core/test/ts/browser/paste/PasteOptionsTest.ts +0 -24
- package/src/core/test/ts/browser/paste/PasteStylesTest.ts +0 -79
- package/src/core/test/ts/browser/paste/PasteTest.ts +0 -580
- package/src/core/test/ts/browser/paste/PlainTextPasteTest.ts +0 -60
- package/src/core/test/ts/browser/paste/ProcessFiltersTest.ts +0 -150
- package/src/core/test/ts/browser/paste/SmartPasteTest.ts +0 -241
- package/src/core/test/ts/browser/paste/UnsanitizedPasteTest.ts +0 -38
- package/src/core/test/ts/browser/selection/DetailsElementTest.ts +0 -156
- package/src/core/test/ts/browser/selection/FragmentReaderTest.ts +0 -236
- package/src/core/test/ts/browser/selection/GetSelectionContentTest.ts +0 -151
- package/src/core/test/ts/browser/selection/InlineBoundarySelectionTest.ts +0 -42
- package/src/core/test/ts/browser/selection/MultiClickSelectionTest.ts +0 -224
- package/src/core/test/ts/browser/selection/NoneditableRootElementSelectionTest.ts +0 -100
- package/src/core/test/ts/browser/selection/NormalizeRangeTest.ts +0 -347
- package/src/core/test/ts/browser/selection/RangeInsertNodeTest.ts +0 -82
- package/src/core/test/ts/browser/selection/RangeNormalizerTest.ts +0 -98
- package/src/core/test/ts/browser/selection/RangeWalkTest.ts +0 -112
- package/src/core/test/ts/browser/selection/SelectBeforeBlockTest.ts +0 -33
- package/src/core/test/ts/browser/selection/SelectionBookmarkInlineEditorTest.ts +0 -148
- package/src/core/test/ts/browser/selection/SelectionBookmarkTest.ts +0 -189
- package/src/core/test/ts/browser/selection/SelectionUtilsTest.ts +0 -72
- package/src/core/test/ts/browser/selection/SetSelectionContentTest.ts +0 -297
- package/src/core/test/ts/browser/selection/SimpleTableModelTest.ts +0 -132
- package/src/core/test/ts/browser/selection/TableCellSelectionTest.ts +0 -46
- package/src/core/test/ts/browser/text/ZwspInsertTest.ts +0 -42
- package/src/core/test/ts/browser/textpatterns/BlockPatternsOnSpaceTest.ts +0 -288
- package/src/core/test/ts/browser/textpatterns/FindBlockPatternsTest.ts +0 -232
- package/src/core/test/ts/browser/textpatterns/FindInlinePatternTest.ts +0 -470
- package/src/core/test/ts/browser/textpatterns/ReplacementTest.ts +0 -197
- package/src/core/test/ts/browser/textpatterns/TextPatternsFalseTest.ts +0 -36
- package/src/core/test/ts/browser/textpatterns/TextPatternsLookupTest.ts +0 -38
- package/src/core/test/ts/browser/textpatterns/TextPatternsPublicApiTest.ts +0 -124
- package/src/core/test/ts/browser/textpatterns/TextPatternsTest.ts +0 -377
- package/src/core/test/ts/browser/textpatterns/TextSearchTest.ts +0 -139
- package/src/core/test/ts/browser/textpatterns/TrailingPunctuationTest.ts +0 -55
- package/src/core/test/ts/browser/textpatterns/TriggerInlinePatternBeginningTest.ts +0 -33
- package/src/core/test/ts/browser/textpatterns/UndoTextPatternsTest.ts +0 -35
- package/src/core/test/ts/browser/undo/DiffTest.ts +0 -22
- package/src/core/test/ts/browser/undo/ForcedRootBlockTest.ts +0 -48
- package/src/core/test/ts/browser/undo/FragmentsTest.ts +0 -44
- package/src/core/test/ts/browser/undo/LevelsTest.ts +0 -214
- package/src/core/test/ts/browser/undo/UndoKeyboardShortcutsTest.ts +0 -41
- package/src/core/test/ts/browser/util/DelayTest.ts +0 -51
- package/src/core/test/ts/browser/util/EventDispatcherTest.ts +0 -373
- package/src/core/test/ts/browser/util/FakeStorageTest.ts +0 -95
- package/src/core/test/ts/browser/util/I18nTest.ts +0 -124
- package/src/core/test/ts/browser/util/ImageUploaderTest.ts +0 -81
- package/src/core/test/ts/browser/util/ObservableTest.ts +0 -76
- package/src/core/test/ts/browser/util/QuirksFirefoxTest.ts +0 -101
- package/src/core/test/ts/browser/util/QuirksWebkitTest.ts +0 -360
- package/src/core/test/ts/browser/util/ToolsTest.ts +0 -11
- package/src/core/test/ts/browser/util/UriTest.ts +0 -175
- package/src/core/test/ts/browser/util/UtilsTest.ts +0 -22
- package/src/core/test/ts/module/McAgar.ts +0 -10
- package/src/core/test/ts/module/test/AnnotationAsserts.ts +0 -83
- package/src/core/test/ts/module/test/BeforeInputEventUtils.ts +0 -49
- package/src/core/test/ts/module/test/CaretAsserts.ts +0 -49
- package/src/core/test/ts/module/test/DialogUtils.ts +0 -30
- package/src/core/test/ts/module/test/DragDropUtils.ts +0 -22
- package/src/core/test/ts/module/test/ErrorHelpers.ts +0 -30
- package/src/core/test/ts/module/test/HtmlUtils.ts +0 -13
- package/src/core/test/ts/module/test/InputEventUtils.ts +0 -42
- package/src/core/test/ts/module/test/KeyUtils.ts +0 -113
- package/src/core/test/ts/module/test/PasteEventUtils.ts +0 -102
- package/src/core/test/ts/module/test/PasteStrings.ts +0 -13
- package/src/core/test/ts/module/test/SingletonUtils.ts +0 -7
- package/src/core/test/ts/module/test/TableUtils.ts +0 -21
- package/src/core/test/ts/module/test/TextPatternsUtils.ts +0 -145
- package/src/core/test/ts/module/test/ViewBlock.ts +0 -61
- package/src/core/test/ts/webdriver/content/PlaceholderTest.ts +0 -134
- package/src/core/test/ts/webdriver/delete/InlineFormatRetentionTest.ts +0 -42
- package/src/core/test/ts/webdriver/delete/ShortcutDeleteTest.ts +0 -215
- package/src/core/test/ts/webdriver/keyboard/IframeTabfocusTest.ts +0 -73
- package/src/core/test/ts/webdriver/keyboard/PageUpDownKeysTest.ts +0 -89
- package/src/core/test/ts/webdriver/keyboard/SpaceKeyTest.ts +0 -139
- package/src/core/test/ts/webdriver/paste/CopyAndPasteTest.ts +0 -275
- package/src/core/test/ts/webdriver/paste/CutTest.ts +0 -42
- package/src/core/text/build-header.js +0 -3
- package/src/models/dom/demo/html/demo/basic-demo.html +0 -28
- package/src/models/dom/demo/ts/demo/Demo.ts +0 -14
- package/src/models/dom/main/ts/Main.ts +0 -9
- package/src/models/dom/main/ts/Model.ts +0 -16
- package/src/models/dom/main/ts/table/Table.ts +0 -33
- package/src/models/dom/main/ts/table/actions/Clipboard.ts +0 -76
- package/src/models/dom/main/ts/table/actions/InsertTable.ts +0 -84
- package/src/models/dom/main/ts/table/actions/TableActions.ts +0 -213
- package/src/models/dom/main/ts/table/api/Clipboard.ts +0 -67
- package/src/models/dom/main/ts/table/api/Commands.ts +0 -253
- package/src/models/dom/main/ts/table/api/Events.ts +0 -77
- package/src/models/dom/main/ts/table/api/Options.ts +0 -181
- package/src/models/dom/main/ts/table/api/QueryCommands.ts +0 -30
- package/src/models/dom/main/ts/table/api/TableCellSelectionHandler.ts +0 -210
- package/src/models/dom/main/ts/table/api/TableResizeHandler.ts +0 -240
- package/src/models/dom/main/ts/table/core/TableUtils.ts +0 -69
- package/src/models/dom/main/ts/table/core/TableWire.ts +0 -36
- package/src/models/dom/main/ts/table/queries/TableSize.ts +0 -19
- package/src/models/dom/main/ts/table/queries/TableTargets.ts +0 -42
- package/src/models/dom/main/ts/table/selection/Ephemera.ts +0 -28
- package/src/models/dom/main/ts/table/selection/TableSelection.ts +0 -45
- package/src/models/dom/test/ts/atomic/table/TableUtilsTest.ts +0 -35
- package/src/models/dom/test/ts/browser/table/DragEditorContentsOverTableTest.ts +0 -25
- package/src/models/dom/test/ts/browser/table/DragResizeTest.ts +0 -453
- package/src/models/dom/test/ts/browser/table/DragSelectionTest.ts +0 -46
- package/src/models/dom/test/ts/browser/table/EmptyRowTableTest.ts +0 -28
- package/src/models/dom/test/ts/browser/table/FakeSelectionTest.ts +0 -279
- package/src/models/dom/test/ts/browser/table/InsertColumnTableSizeTest.ts +0 -175
- package/src/models/dom/test/ts/browser/table/InsertRowTableResizeTest.ts +0 -185
- package/src/models/dom/test/ts/browser/table/InsertTableTest.ts +0 -47
- package/src/models/dom/test/ts/browser/table/InsertTableWidthsTest.ts +0 -58
- package/src/models/dom/test/ts/browser/table/InvalidColCountTest.ts +0 -126
- package/src/models/dom/test/ts/browser/table/ModifyColumnsTableResizeTest.ts +0 -677
- package/src/models/dom/test/ts/browser/table/NestedFakeSelectionTest.ts +0 -289
- package/src/models/dom/test/ts/browser/table/NewCellRowEventsTest.ts +0 -42
- package/src/models/dom/test/ts/browser/table/PasteTableTest.ts +0 -65
- package/src/models/dom/test/ts/browser/table/ResizeTableTest.ts +0 -1035
- package/src/models/dom/test/ts/browser/table/SwitchTableSectionTest.ts +0 -352
- package/src/models/dom/test/ts/browser/table/TableNoWidthTest.ts +0 -41
- package/src/models/dom/test/ts/browser/table/TableSectionApiTest.ts +0 -406
- package/src/models/dom/test/ts/browser/table/TableSizingModeTest.ts +0 -98
- package/src/models/dom/test/ts/browser/table/TwoCellsSelectionTest.ts +0 -114
- package/src/models/dom/test/ts/browser/table/UnmergeCellTableResizeTest.ts +0 -304
- package/src/models/dom/test/ts/browser/table/command/ApplyCellStyleCommandTest.ts +0 -220
- package/src/models/dom/test/ts/browser/table/command/CommandsOnLockedColumnsTest.ts +0 -185
- package/src/models/dom/test/ts/browser/table/command/InsertCommandsTest.ts +0 -184
- package/src/models/dom/test/ts/browser/table/command/InsertTableCommandTest.ts +0 -110
- package/src/models/dom/test/ts/browser/table/command/InsertTableCommandWithColGroupsTest.ts +0 -97
- package/src/models/dom/test/ts/browser/table/command/MergeCellCommandTest.ts +0 -353
- package/src/models/dom/test/ts/browser/table/command/ModifyClassesCommandsTest.ts +0 -303
- package/src/models/dom/test/ts/browser/table/command/TableDeleteColumnTest.ts +0 -154
- package/src/models/dom/test/ts/browser/table/command/TableDeleteCommandTest.ts +0 -39
- package/src/models/dom/test/ts/browser/table/command/TableDeleteRowTest.ts +0 -152
- package/src/models/dom/test/ts/browser/table/command/TableSizingModeCommandTest.ts +0 -119
- package/src/models/dom/test/ts/browser/table/command/TableSizingModeCommandWithColGroupsTest.ts +0 -77
- package/src/models/dom/test/ts/module/table/TableSizingModeCommandUtil.ts +0 -92
- package/src/models/dom/test/ts/module/table/TableTestUtils.ts +0 -302
- package/src/plugins/accordion/demo/html/demo.html +0 -26
- package/src/plugins/accordion/demo/ts/demo/Demo.ts +0 -14
- package/src/plugins/accordion/main/ts/Main.ts +0 -9
- package/src/plugins/accordion/main/ts/Plugin.ts +0 -17
- package/src/plugins/accordion/main/ts/api/Commands.ts +0 -12
- package/src/plugins/accordion/main/ts/api/Events.ts +0 -13
- package/src/plugins/accordion/main/ts/core/Actions.ts +0 -90
- package/src/plugins/accordion/main/ts/core/FilterContent.ts +0 -153
- package/src/plugins/accordion/main/ts/core/Identifiers.ts +0 -14
- package/src/plugins/accordion/main/ts/core/Keyboard.ts +0 -27
- package/src/plugins/accordion/main/ts/core/Quirks.ts +0 -24
- package/src/plugins/accordion/main/ts/core/Utils.ts +0 -79
- package/src/plugins/accordion/main/ts/ui/Buttons.ts +0 -39
- package/src/plugins/accordion/test/ts/browser/AccordionFormattingTest.ts +0 -36
- package/src/plugins/accordion/test/ts/browser/AccordionNavigationTest.ts +0 -56
- package/src/plugins/accordion/test/ts/browser/AccordionPluginTest.ts +0 -241
- package/src/plugins/accordion/test/ts/browser/DirectionalityTest.ts +0 -58
- package/src/plugins/accordion/test/ts/browser/FilterContentTest.ts +0 -373
- package/src/plugins/accordion/test/ts/browser/QuirksTest.ts +0 -34
- package/src/plugins/accordion/test/ts/module/AccordionUtils.ts +0 -18
- package/src/plugins/accordion/test/ts/webdriver/AccordionBackspaceDeleteTest.ts +0 -649
- package/src/plugins/accordion/test/ts/webdriver/AccordionEnterTest.ts +0 -80
- package/src/plugins/advlist/demo/html/demo.html +0 -16
- package/src/plugins/advlist/demo/ts/demo/Demo.ts +0 -12
- package/src/plugins/advlist/main/ts/Main.ts +0 -9
- package/src/plugins/advlist/main/ts/Plugin.ts +0 -18
- package/src/plugins/advlist/main/ts/api/Commands.ts +0 -17
- package/src/plugins/advlist/main/ts/api/Options.ts +0 -31
- package/src/plugins/advlist/main/ts/core/Actions.ts +0 -10
- package/src/plugins/advlist/main/ts/core/ListUtils.ts +0 -58
- package/src/plugins/advlist/main/ts/ui/Buttons.ts +0 -97
- package/src/plugins/advlist/test/ts/browser/AdvlistOptionsAndToolbarTest.ts +0 -356
- package/src/plugins/advlist/test/ts/browser/AdvlistPluginTest.ts +0 -200
- package/src/plugins/advlist/test/ts/browser/ChangeListStyleTest.ts +0 -107
- package/src/plugins/advlist/test/ts/browser/ContentEditableFalseTest.ts +0 -97
- package/src/plugins/advlist/test/ts/browser/ListUtilsTest.ts +0 -22
- package/src/plugins/advlist/test/ts/browser/NoneditableRootTest.ts +0 -57
- package/src/plugins/advlist/test/ts/browser/SplitButtonTest.ts +0 -234
- package/src/plugins/anchor/demo/html/demo.html +0 -16
- package/src/plugins/anchor/demo/ts/demo/Demo.ts +0 -12
- package/src/plugins/anchor/main/ts/Main.ts +0 -9
- package/src/plugins/anchor/main/ts/Plugin.ts +0 -20
- package/src/plugins/anchor/main/ts/api/Commands.ts +0 -13
- package/src/plugins/anchor/main/ts/api/Options.ts +0 -24
- package/src/plugins/anchor/main/ts/core/Anchor.ts +0 -76
- package/src/plugins/anchor/main/ts/core/FilterContent.ts +0 -32
- package/src/plugins/anchor/main/ts/core/Formats.ts +0 -24
- package/src/plugins/anchor/main/ts/core/Utils.ts +0 -25
- package/src/plugins/anchor/main/ts/ui/Buttons.ts +0 -45
- package/src/plugins/anchor/main/ts/ui/Dialog.ts +0 -60
- package/src/plugins/anchor/test/ts/browser/AnchorAlertTest.ts +0 -32
- package/src/plugins/anchor/test/ts/browser/AnchorAllowHtmlTest.ts +0 -104
- package/src/plugins/anchor/test/ts/browser/AnchorEditTest.ts +0 -30
- package/src/plugins/anchor/test/ts/browser/AnchorFormatsTest.ts +0 -57
- package/src/plugins/anchor/test/ts/browser/AnchorInlineTest.ts +0 -26
- package/src/plugins/anchor/test/ts/browser/AnchorSanityTest.ts +0 -63
- package/src/plugins/anchor/test/ts/browser/NoneditableRootTest.ts +0 -40
- package/src/plugins/anchor/test/ts/module/Helpers.ts +0 -21
- package/src/plugins/autolink/demo/html/demo.html +0 -15
- package/src/plugins/autolink/demo/ts/demo/Demo.ts +0 -12
- package/src/plugins/autolink/main/ts/Main.ts +0 -9
- package/src/plugins/autolink/main/ts/Plugin.ts +0 -11
- package/src/plugins/autolink/main/ts/api/Options.ts +0 -42
- package/src/plugins/autolink/main/ts/core/Keys.ts +0 -151
- package/src/plugins/autolink/main/ts/core/Utils.ts +0 -50
- package/src/plugins/autolink/test/ts/browser/AutoLinkPluginTest.ts +0 -225
- package/src/plugins/autolink/test/ts/browser/ConsecutiveLinkTest.ts +0 -30
- package/src/plugins/autolink/test/ts/browser/EnterKeyTest.ts +0 -24
- package/src/plugins/autolink/test/ts/browser/FragmentedTextTest.ts +0 -60
- package/src/plugins/autolink/test/ts/module/test/KeyUtils.ts +0 -159
- package/src/plugins/autoresize/demo/html/demo.html +0 -15
- package/src/plugins/autoresize/demo/ts/demo/Demo.ts +0 -13
- package/src/plugins/autoresize/main/ts/Main.ts +0 -9
- package/src/plugins/autoresize/main/ts/Plugin.ts +0 -30
- package/src/plugins/autoresize/main/ts/api/Commands.ts +0 -15
- package/src/plugins/autoresize/main/ts/api/Events.ts +0 -9
- package/src/plugins/autoresize/main/ts/api/Options.ts +0 -35
- package/src/plugins/autoresize/main/ts/core/Resize.ts +0 -187
- package/src/plugins/autoresize/test/ts/browser/AutoresizePluginTest.ts +0 -230
- package/src/plugins/autosave/demo/html/demo.html +0 -15
- package/src/plugins/autosave/demo/ts/demo/Demo.ts +0 -16
- package/src/plugins/autosave/main/ts/Main.ts +0 -9
- package/src/plugins/autosave/main/ts/Plugin.ts +0 -30
- package/src/plugins/autosave/main/ts/api/Api.ts +0 -23
- package/src/plugins/autosave/main/ts/api/Events.ts +0 -17
- package/src/plugins/autosave/main/ts/api/Options.ts +0 -72
- package/src/plugins/autosave/main/ts/core/BeforeUnload.ts +0 -32
- package/src/plugins/autosave/main/ts/core/Storage.ts +0 -91
- package/src/plugins/autosave/main/ts/core/Time.ts +0 -13
- package/src/plugins/autosave/main/ts/ui/Buttons.ts +0 -42
- package/src/plugins/autosave/test/ts/browser/AutoSavePluginTest.ts +0 -141
- package/src/plugins/autosave/test/ts/browser/ShouldRestoreWhenEmptyTest.ts +0 -63
- package/src/plugins/charmap/demo/html/demo.html +0 -15
- package/src/plugins/charmap/demo/ts/demo/Demo.ts +0 -13
- package/src/plugins/charmap/main/ts/Main.ts +0 -9
- package/src/plugins/charmap/main/ts/Plugin.ts +0 -21
- package/src/plugins/charmap/main/ts/api/Api.ts +0 -28
- package/src/plugins/charmap/main/ts/api/Commands.ts +0 -16
- package/src/plugins/charmap/main/ts/api/Events.ts +0 -10
- package/src/plugins/charmap/main/ts/api/Options.ts +0 -36
- package/src/plugins/charmap/main/ts/core/Actions.ts +0 -12
- package/src/plugins/charmap/main/ts/core/CharMap.ts +0 -414
- package/src/plugins/charmap/main/ts/core/Scan.ts +0 -37
- package/src/plugins/charmap/main/ts/ui/Autocompletion.ts +0 -26
- package/src/plugins/charmap/main/ts/ui/Buttons.ts +0 -37
- package/src/plugins/charmap/main/ts/ui/Dialog.ts +0 -99
- package/src/plugins/charmap/test/ts/atomic/ScanTest.ts +0 -33
- package/src/plugins/charmap/test/ts/browser/CharmapAutocompletionTest.ts +0 -23
- package/src/plugins/charmap/test/ts/browser/CharmapDialogHeightTest.ts +0 -80
- package/src/plugins/charmap/test/ts/browser/CharmapPluginTest.ts +0 -108
- package/src/plugins/charmap/test/ts/browser/CharmapSearchTest.ts +0 -55
- package/src/plugins/charmap/test/ts/browser/CharmapUserDefinedTest.ts +0 -30
- package/src/plugins/charmap/test/ts/browser/InsertQuotationMarkTest.ts +0 -24
- package/src/plugins/charmap/test/ts/browser/NoneditableRootTest.ts +0 -40
- package/src/plugins/charmap/test/ts/module/Helpers.ts +0 -12
- package/src/plugins/code/demo/html/demo.html +0 -15
- package/src/plugins/code/demo/ts/demo/Demo.ts +0 -12
- package/src/plugins/code/main/ts/Main.ts +0 -9
- package/src/plugins/code/main/ts/Plugin.ts +0 -13
- package/src/plugins/code/main/ts/api/Commands.ts +0 -13
- package/src/plugins/code/main/ts/core/Content.ts +0 -24
- package/src/plugins/code/main/ts/ui/Buttons.ts +0 -22
- package/src/plugins/code/main/ts/ui/Dialog.ts +0 -45
- package/src/plugins/code/test/ts/browser/CodeSanityTest.ts +0 -51
- package/src/plugins/code/test/ts/browser/CodeTextareaTest.ts +0 -36
- package/src/plugins/codesample/demo/html/demo.html +0 -16
- package/src/plugins/codesample/demo/ts/demo/Demo.ts +0 -22
- package/src/plugins/codesample/main/ts/Main.ts +0 -9
- package/src/plugins/codesample/main/ts/Plugin.ts +0 -23
- package/src/plugins/codesample/main/ts/api/Commands.ts +0 -19
- package/src/plugins/codesample/main/ts/api/Options.ts +0 -32
- package/src/plugins/codesample/main/ts/core/CodeSample.ts +0 -44
- package/src/plugins/codesample/main/ts/core/FilterContent.ts +0 -70
- package/src/plugins/codesample/main/ts/core/Languages.ts +0 -41
- package/src/plugins/codesample/main/ts/prism/Prism.ts +0 -15
- package/src/plugins/codesample/main/ts/prism/prismjs.d.ts +0 -4
- package/src/plugins/codesample/main/ts/ui/Buttons.ts +0 -50
- package/src/plugins/codesample/main/ts/ui/Dialog.ts +0 -62
- package/src/plugins/codesample/main/ts/util/Utils.ts +0 -16
- package/src/plugins/codesample/test/ts/browser/ChangeCodeSampleTest.ts +0 -28
- package/src/plugins/codesample/test/ts/browser/CodeSampleSanityTest.ts +0 -52
- package/src/plugins/codesample/test/ts/browser/CodeSampleSelectionTest.ts +0 -46
- package/src/plugins/codesample/test/ts/browser/NoneditableRootTest.ts +0 -40
- package/src/plugins/codesample/test/ts/module/CodeSampleTestUtils.ts +0 -89
- package/src/plugins/codesample/test/ts/webdriver/CodeSampleCopyAndPasteTest.ts +0 -134
- package/src/plugins/directionality/demo/html/demo.html +0 -15
- package/src/plugins/directionality/demo/ts/demo/Demo.ts +0 -12
- package/src/plugins/directionality/main/ts/Main.ts +0 -9
- package/src/plugins/directionality/main/ts/Plugin.ts +0 -11
- package/src/plugins/directionality/main/ts/api/Commands.ts +0 -17
- package/src/plugins/directionality/main/ts/core/Direction.ts +0 -65
- package/src/plugins/directionality/main/ts/ui/Buttons.ts +0 -38
- package/src/plugins/directionality/test/ts/browser/CommandsTest.ts +0 -43
- package/src/plugins/directionality/test/ts/browser/DirectionStyleTest.ts +0 -319
- package/src/plugins/directionality/test/ts/browser/DirectionalitySanityTest.ts +0 -169
- package/src/plugins/directionality/test/ts/browser/NoneditableRootTest.ts +0 -36
- package/src/plugins/emoticons/demo/html/demo.html +0 -15
- package/src/plugins/emoticons/demo/ts/demo/Demo.ts +0 -19
- package/src/plugins/emoticons/main/ts/Main.ts +0 -9
- package/src/plugins/emoticons/main/ts/Plugin.ts +0 -34
- package/src/plugins/emoticons/main/ts/api/Commands.ts +0 -12
- package/src/plugins/emoticons/main/ts/api/Options.ts +0 -60
- package/src/plugins/emoticons/main/ts/core/Actions.ts +0 -9
- package/src/plugins/emoticons/main/ts/core/EmojiDatabase.ts +0 -150
- package/src/plugins/emoticons/main/ts/core/Filters.ts +0 -14
- package/src/plugins/emoticons/main/ts/core/Lookup.ts +0 -31
- package/src/plugins/emoticons/main/ts/ui/Autocompletion.ts +0 -28
- package/src/plugins/emoticons/main/ts/ui/Buttons.ts +0 -37
- package/src/plugins/emoticons/main/ts/ui/Dialog.ts +0 -134
- package/src/plugins/emoticons/test/js/test-emojis-alt.js +0 -717
- package/src/plugins/emoticons/test/js/test-emojis.js +0 -27
- package/src/plugins/emoticons/test/ts/browser/DifferentEmojiDatabaseTest.ts +0 -50
- package/src/plugins/emoticons/test/ts/browser/EmojiAppendTest.ts +0 -76
- package/src/plugins/emoticons/test/ts/browser/EmojiSearchTest.ts +0 -54
- package/src/plugins/emoticons/test/ts/browser/EmoticonAutocompletionTest.ts +0 -29
- package/src/plugins/emoticons/test/ts/browser/EmoticonsPluginTest.ts +0 -21
- package/src/plugins/emoticons/test/ts/browser/ImageEmojiTest.ts +0 -58
- package/src/plugins/emoticons/test/ts/browser/NoneditableRootTest.ts +0 -40
- package/src/plugins/emoticons/test/ts/module/test/Utils.ts +0 -12
- package/src/plugins/fullscreen/demo/html/demo.html +0 -18
- package/src/plugins/fullscreen/demo/ts/demo/Demo.ts +0 -20
- package/src/plugins/fullscreen/main/ts/Main.ts +0 -9
- package/src/plugins/fullscreen/main/ts/Plugin.ts +0 -27
- package/src/plugins/fullscreen/main/ts/api/Api.ts +0 -15
- package/src/plugins/fullscreen/main/ts/api/Commands.ts +0 -15
- package/src/plugins/fullscreen/main/ts/api/Events.ts +0 -10
- package/src/plugins/fullscreen/main/ts/api/Options.ts +0 -24
- package/src/plugins/fullscreen/main/ts/core/Actions.ts +0 -202
- package/src/plugins/fullscreen/main/ts/core/NativeFullscreen.ts +0 -58
- package/src/plugins/fullscreen/main/ts/core/Thor.ts +0 -68
- package/src/plugins/fullscreen/main/ts/ui/Buttons.ts +0 -38
- package/src/plugins/fullscreen/test/ts/browser/FullScreenPluginTest.ts +0 -219
- package/src/plugins/fullscreen/test/ts/browser/FullScreenSinkTest.ts +0 -27
- package/src/plugins/fullscreen/test/ts/browser/FullscreenPluginInlineEditorTest.ts +0 -22
- package/src/plugins/fullscreen/test/ts/browser/FullscreenRestoreScrollTest.ts +0 -52
- package/src/plugins/fullscreen/test/ts/webdriver/FullscreenPluginNativeModeTest.ts +0 -38
- package/src/plugins/help/demo/html/demo.html +0 -26
- package/src/plugins/help/demo/ts/demo/Demo.ts +0 -149
- package/src/plugins/help/i18n/keynav/ar.html +0 -89
- package/src/plugins/help/i18n/keynav/bg_BG.html +0 -89
- package/src/plugins/help/i18n/keynav/ca.html +0 -89
- package/src/plugins/help/i18n/keynav/cs.html +0 -89
- package/src/plugins/help/i18n/keynav/da.html +0 -89
- package/src/plugins/help/i18n/keynav/de.html +0 -89
- package/src/plugins/help/i18n/keynav/el.html +0 -89
- package/src/plugins/help/i18n/keynav/en.html +0 -89
- package/src/plugins/help/i18n/keynav/es.html +0 -89
- package/src/plugins/help/i18n/keynav/eu.html +0 -89
- package/src/plugins/help/i18n/keynav/fa.html +0 -89
- package/src/plugins/help/i18n/keynav/fi.html +0 -89
- package/src/plugins/help/i18n/keynav/fr_FR.html +0 -89
- package/src/plugins/help/i18n/keynav/he_IL.html +0 -89
- package/src/plugins/help/i18n/keynav/hi.html +0 -89
- package/src/plugins/help/i18n/keynav/hr.html +0 -89
- package/src/plugins/help/i18n/keynav/hu_HU.html +0 -89
- package/src/plugins/help/i18n/keynav/id.html +0 -89
- package/src/plugins/help/i18n/keynav/it.html +0 -89
- package/src/plugins/help/i18n/keynav/ja.html +0 -89
- package/src/plugins/help/i18n/keynav/kk.html +0 -89
- package/src/plugins/help/i18n/keynav/ko_KR.html +0 -89
- package/src/plugins/help/i18n/keynav/ms.html +0 -89
- package/src/plugins/help/i18n/keynav/nb_NO.html +0 -89
- package/src/plugins/help/i18n/keynav/nl.html +0 -89
- package/src/plugins/help/i18n/keynav/pl.html +0 -89
- package/src/plugins/help/i18n/keynav/pt_BR.html +0 -89
- package/src/plugins/help/i18n/keynav/pt_PT.html +0 -89
- package/src/plugins/help/i18n/keynav/ro.html +0 -89
- package/src/plugins/help/i18n/keynav/ru.html +0 -89
- package/src/plugins/help/i18n/keynav/sk.html +0 -89
- package/src/plugins/help/i18n/keynav/sl_SI.html +0 -89
- package/src/plugins/help/i18n/keynav/sv_SE.html +0 -89
- package/src/plugins/help/i18n/keynav/th_TH.html +0 -89
- package/src/plugins/help/i18n/keynav/tr.html +0 -89
- package/src/plugins/help/i18n/keynav/uk.html +0 -89
- package/src/plugins/help/i18n/keynav/vi.html +0 -89
- package/src/plugins/help/i18n/keynav/zh_CN.html +0 -83
- package/src/plugins/help/i18n/keynav/zh_TW.html +0 -89
- package/src/plugins/help/main/ts/Main.ts +0 -9
- package/src/plugins/help/main/ts/Plugin.ts +0 -30
- package/src/plugins/help/main/ts/alien/ConvertShortcut.ts +0 -34
- package/src/plugins/help/main/ts/api/Api.ts +0 -24
- package/src/plugins/help/main/ts/api/Commands.ts +0 -9
- package/src/plugins/help/main/ts/api/Options.ts +0 -28
- package/src/plugins/help/main/ts/data/KeyboardShortcuts.ts +0 -33
- package/src/plugins/help/main/ts/data/PluginUrls.ts +0 -92
- package/src/plugins/help/main/ts/ui/Buttons.ts +0 -20
- package/src/plugins/help/main/ts/ui/Dialog.ts +0 -98
- package/src/plugins/help/main/ts/ui/KeyboardNavTab.ts +0 -21
- package/src/plugins/help/main/ts/ui/KeyboardNavTabI18n.ts +0 -21
- package/src/plugins/help/main/ts/ui/KeyboardShortcutsTab.ts +0 -36
- package/src/plugins/help/main/ts/ui/PluginsTab.ts +0 -119
- package/src/plugins/help/main/ts/ui/VersionTab.ts +0 -27
- package/src/plugins/help/test/ts/browser/CustomTabsTest.ts +0 -146
- package/src/plugins/help/test/ts/browser/DialogKeyboardNavTest.ts +0 -106
- package/src/plugins/help/test/ts/browser/IgnoreForcedPluginsTest.ts +0 -31
- package/src/plugins/help/test/ts/browser/KeyboardNavTabI18nTest.ts +0 -59
- package/src/plugins/help/test/ts/browser/MetadataTest.ts +0 -33
- package/src/plugins/help/test/ts/browser/PluginTabsOrderTest.ts +0 -59
- package/src/plugins/help/test/ts/browser/PluginTest.ts +0 -28
- package/src/plugins/help/test/ts/module/PluginAssert.ts +0 -11
- package/src/plugins/help/test/ts/module/Selectors.ts +0 -10
- package/src/plugins/help/test/ts/module/test/FakePlugin.ts +0 -17
- package/src/plugins/help/test/ts/module/test/NoMetaFakePlugin.ts +0 -7
- package/src/plugins/image/demo/html/demo.html +0 -18
- package/src/plugins/image/demo/ts/demo/Demo.ts +0 -34
- package/src/plugins/image/main/ts/Main.ts +0 -9
- package/src/plugins/image/main/ts/Plugin.ts +0 -15
- package/src/plugins/image/main/ts/api/Commands.ts +0 -19
- package/src/plugins/image/main/ts/api/Options.ts +0 -100
- package/src/plugins/image/main/ts/core/FilterContent.ts +0 -38
- package/src/plugins/image/main/ts/core/ImageData.ts +0 -308
- package/src/plugins/image/main/ts/core/ImageSelection.ts +0 -142
- package/src/plugins/image/main/ts/core/ListUtils.ts +0 -68
- package/src/plugins/image/main/ts/core/Utils.ts +0 -179
- package/src/plugins/image/main/ts/ui/AdvTab.ts +0 -56
- package/src/plugins/image/main/ts/ui/Buttons.ts +0 -56
- package/src/plugins/image/main/ts/ui/Dialog.ts +0 -405
- package/src/plugins/image/main/ts/ui/DialogInfo.ts +0 -62
- package/src/plugins/image/main/ts/ui/DialogTypes.ts +0 -75
- package/src/plugins/image/main/ts/ui/MainTab.ts +0 -99
- package/src/plugins/image/main/ts/ui/UploadTab.ts +0 -21
- package/src/plugins/image/test/ts/browser/A11yImageTest.ts +0 -156
- package/src/plugins/image/test/ts/browser/ContextMenuTest.ts +0 -93
- package/src/plugins/image/test/ts/browser/DecorativeImageDialogTest.ts +0 -95
- package/src/plugins/image/test/ts/browser/DialogTest.ts +0 -139
- package/src/plugins/image/test/ts/browser/DialogUpdateTest.ts +0 -67
- package/src/plugins/image/test/ts/browser/FigureDeleteTest.ts +0 -39
- package/src/plugins/image/test/ts/browser/FigureResizeTest.ts +0 -66
- package/src/plugins/image/test/ts/browser/ImageListTest.ts +0 -29
- package/src/plugins/image/test/ts/browser/ImagePluginTest.ts +0 -217
- package/src/plugins/image/test/ts/browser/ImageResizeTest.ts +0 -34
- package/src/plugins/image/test/ts/browser/NoneditableRootTest.ts +0 -40
- package/src/plugins/image/test/ts/browser/UploadTabTest.ts +0 -205
- package/src/plugins/image/test/ts/browser/api/CommandsTest.ts +0 -157
- package/src/plugins/image/test/ts/browser/core/ImageAlignTest.ts +0 -207
- package/src/plugins/image/test/ts/browser/core/ImageDataTest.ts +0 -688
- package/src/plugins/image/test/ts/browser/core/ImageSelectionTest.ts +0 -290
- package/src/plugins/image/test/ts/browser/plugin/DefaultEmptyTest.ts +0 -39
- package/src/plugins/image/test/ts/browser/plugin/DimensionsFalseTest.ts +0 -31
- package/src/plugins/image/test/ts/browser/plugin/MainTabTest.ts +0 -98
- package/src/plugins/image/test/ts/browser/plugin/PrependAbsoluteTest.ts +0 -36
- package/src/plugins/image/test/ts/browser/plugin/PrependRelativeTest.ts +0 -36
- package/src/plugins/image/test/ts/module/Helpers.ts +0 -140
- package/src/plugins/importcss/demo/css/rules.css +0 -92
- package/src/plugins/importcss/demo/html/demo.html +0 -15
- package/src/plugins/importcss/demo/ts/demo/Demo.ts +0 -16
- package/src/plugins/importcss/main/ts/Main.ts +0 -9
- package/src/plugins/importcss/main/ts/Plugin.ts +0 -13
- package/src/plugins/importcss/main/ts/api/Api.ts +0 -22
- package/src/plugins/importcss/main/ts/api/Options.ts +0 -78
- package/src/plugins/importcss/main/ts/core/ImportCss.ts +0 -287
- package/src/plugins/importcss/main/ts/core/SelectorModel.ts +0 -59
- package/src/plugins/importcss/test/css/advanced.css +0 -7
- package/src/plugins/importcss/test/css/basic.css +0 -11
- package/src/plugins/importcss/test/css/clashing.css +0 -3
- package/src/plugins/importcss/test/css/internal.css +0 -18
- package/src/plugins/importcss/test/css/other-adv.css +0 -3
- package/src/plugins/importcss/test/ts/browser/ImportCssGroupsPluginTest.ts +0 -191
- package/src/plugins/importcss/test/ts/browser/ImportCssPluginTest.ts +0 -342
- package/src/plugins/importcss/test/ts/module/MenuNavigationTestUtils.ts +0 -58
- package/src/plugins/insertdatetime/demo/html/demo.html +0 -15
- package/src/plugins/insertdatetime/demo/ts/demo/Demo.ts +0 -16
- package/src/plugins/insertdatetime/main/ts/Main.ts +0 -9
- package/src/plugins/insertdatetime/main/ts/Plugin.ts +0 -13
- package/src/plugins/insertdatetime/main/ts/api/Commands.ts +0 -18
- package/src/plugins/insertdatetime/main/ts/api/Options.ts +0 -51
- package/src/plugins/insertdatetime/main/ts/core/Actions.ts +0 -76
- package/src/plugins/insertdatetime/main/ts/ui/Buttons.ts +0 -67
- package/src/plugins/insertdatetime/test/ts/browser/InsertDatetimeSanityTest.ts +0 -35
- package/src/plugins/insertdatetime/test/ts/browser/NoneditableRootTest.ts +0 -40
- package/src/plugins/link/demo/html/demo.html +0 -21
- package/src/plugins/link/demo/ts/demo/Demo.ts +0 -33
- package/src/plugins/link/main/ts/Main.ts +0 -9
- package/src/plugins/link/main/ts/Plugin.ts +0 -20
- package/src/plugins/link/main/ts/api/Commands.ts +0 -24
- package/src/plugins/link/main/ts/api/Options.ts +0 -112
- package/src/plugins/link/main/ts/api/Types.ts +0 -6
- package/src/plugins/link/main/ts/core/Actions.ts +0 -114
- package/src/plugins/link/main/ts/core/Keyboard.ts +0 -11
- package/src/plugins/link/main/ts/core/ListOptions.ts +0 -57
- package/src/plugins/link/main/ts/core/OpenUrl.ts +0 -21
- package/src/plugins/link/main/ts/core/Utils.ts +0 -333
- package/src/plugins/link/main/ts/ui/Controls.ts +0 -172
- package/src/plugins/link/main/ts/ui/Dialog.ts +0 -165
- package/src/plugins/link/main/ts/ui/DialogChanges.ts +0 -105
- package/src/plugins/link/main/ts/ui/DialogConfirms.ts +0 -64
- package/src/plugins/link/main/ts/ui/DialogInfo.ts +0 -62
- package/src/plugins/link/main/ts/ui/DialogTypes.ts +0 -81
- package/src/plugins/link/main/ts/ui/sections/AnchorListOptions.ts +0 -21
- package/src/plugins/link/main/ts/ui/sections/ClassListOptions.ts +0 -22
- package/src/plugins/link/main/ts/ui/sections/LinkListOptions.ts +0 -45
- package/src/plugins/link/main/ts/ui/sections/RelOptions.ts +0 -24
- package/src/plugins/link/main/ts/ui/sections/TargetOptions.ts +0 -31
- package/src/plugins/link/test/ts/atomic/DialogChangesTest.ts +0 -132
- package/src/plugins/link/test/ts/browser/AllowUnsafeLinkTargetTest.ts +0 -80
- package/src/plugins/link/test/ts/browser/AnchorFalseTest.ts +0 -40
- package/src/plugins/link/test/ts/browser/AssumeExternalTargetsTest.ts +0 -108
- package/src/plugins/link/test/ts/browser/ContextMenuTest.ts +0 -58
- package/src/plugins/link/test/ts/browser/ContextToolbarTest.ts +0 -73
- package/src/plugins/link/test/ts/browser/DefaultLinkProtocolTest.ts +0 -73
- package/src/plugins/link/test/ts/browser/DefaultLinkTargetTest.ts +0 -81
- package/src/plugins/link/test/ts/browser/DialogFlowTest.ts +0 -136
- package/src/plugins/link/test/ts/browser/DialogOpenTest.ts +0 -143
- package/src/plugins/link/test/ts/browser/DialogSectionsTest.ts +0 -159
- package/src/plugins/link/test/ts/browser/ImageFigureLinkTest.ts +0 -50
- package/src/plugins/link/test/ts/browser/LinkContextMenuTest.ts +0 -50
- package/src/plugins/link/test/ts/browser/LinkDialogOverrideTest.ts +0 -69
- package/src/plugins/link/test/ts/browser/LinkJustFirstFieldTest.ts +0 -40
- package/src/plugins/link/test/ts/browser/ListOptionsTest.ts +0 -140
- package/src/plugins/link/test/ts/browser/NoneditableRootTest.ts +0 -67
- package/src/plugins/link/test/ts/browser/PreventDefaultTest.ts +0 -47
- package/src/plugins/link/test/ts/browser/QuickLinkTest.ts +0 -219
- package/src/plugins/link/test/ts/browser/RemoveLinkTest.ts +0 -70
- package/src/plugins/link/test/ts/browser/SelectedImageFigureLinkTest.ts +0 -44
- package/src/plugins/link/test/ts/browser/SelectedImageLinkTest.ts +0 -72
- package/src/plugins/link/test/ts/browser/SelectedLinkTest.ts +0 -83
- package/src/plugins/link/test/ts/browser/SelectedTextLinkTest.ts +0 -174
- package/src/plugins/link/test/ts/browser/UpdateLinkTest.ts +0 -108
- package/src/plugins/link/test/ts/browser/UrlInputTest.ts +0 -50
- package/src/plugins/link/test/ts/browser/UrlProtocolTest.ts +0 -99
- package/src/plugins/link/test/ts/module/TestLinkUi.ts +0 -137
- package/src/plugins/lists/demo/html/demo.html +0 -15
- package/src/plugins/lists/demo/ts/demo/Demo.ts +0 -13
- package/src/plugins/lists/main/ts/Main.ts +0 -9
- package/src/plugins/lists/main/ts/Plugin.ts +0 -28
- package/src/plugins/lists/main/ts/actions/Indendation.ts +0 -45
- package/src/plugins/lists/main/ts/actions/ToggleList.ts +0 -420
- package/src/plugins/lists/main/ts/actions/Update.ts +0 -27
- package/src/plugins/lists/main/ts/api/Api.ts +0 -17
- package/src/plugins/lists/main/ts/api/Commands.ts +0 -65
- package/src/plugins/lists/main/ts/api/Events.ts +0 -7
- package/src/plugins/lists/main/ts/api/Options.ts +0 -28
- package/src/plugins/lists/main/ts/core/Bookmark.ts +0 -126
- package/src/plugins/lists/main/ts/core/Delete.ts +0 -317
- package/src/plugins/lists/main/ts/core/DlIndentation.ts +0 -36
- package/src/plugins/lists/main/ts/core/FilterContent.ts +0 -46
- package/src/plugins/lists/main/ts/core/Keyboard.ts +0 -33
- package/src/plugins/lists/main/ts/core/ListAction.ts +0 -15
- package/src/plugins/lists/main/ts/core/ListNumbering.ts +0 -108
- package/src/plugins/lists/main/ts/core/NodeType.ts +0 -84
- package/src/plugins/lists/main/ts/core/NormalizeLists.ts +0 -44
- package/src/plugins/lists/main/ts/core/RangeUtils.ts +0 -51
- package/src/plugins/lists/main/ts/core/Selection.ts +0 -117
- package/src/plugins/lists/main/ts/core/SplitList.ts +0 -56
- package/src/plugins/lists/main/ts/core/TextBlock.ts +0 -52
- package/src/plugins/lists/main/ts/core/Util.ts +0 -47
- package/src/plugins/lists/main/ts/listmodel/ComposeList.ts +0 -130
- package/src/plugins/lists/main/ts/listmodel/Entry.ts +0 -84
- package/src/plugins/lists/main/ts/listmodel/Indentation.ts +0 -23
- package/src/plugins/lists/main/ts/listmodel/ListsIndendation.ts +0 -65
- package/src/plugins/lists/main/ts/listmodel/NormalizeEntries.ts +0 -46
- package/src/plugins/lists/main/ts/listmodel/ParseLists.ts +0 -97
- package/src/plugins/lists/main/ts/listmodel/Util.ts +0 -24
- package/src/plugins/lists/main/ts/ui/Buttons.ts +0 -42
- package/src/plugins/lists/main/ts/ui/Dialog.ts +0 -68
- package/src/plugins/lists/main/ts/ui/MenuItems.ts +0 -35
- package/src/plugins/lists/test/ts/atomic/ListNumberingTest.ts +0 -81
- package/src/plugins/lists/test/ts/browser/ApplyDlTest.ts +0 -136
- package/src/plugins/lists/test/ts/browser/ApplyListOnCustomList.ts +0 -46
- package/src/plugins/lists/test/ts/browser/ApplyListOnParagraphWithStylesTest.ts +0 -30
- package/src/plugins/lists/test/ts/browser/ApplyTest.ts +0 -949
- package/src/plugins/lists/test/ts/browser/ApplyToDivTest.ts +0 -46
- package/src/plugins/lists/test/ts/browser/BackspaceDeleteFromBlockIntoLiTest.ts +0 -147
- package/src/plugins/lists/test/ts/browser/BackspaceDeleteInlineTest.ts +0 -59
- package/src/plugins/lists/test/ts/browser/BackspaceDeleteTest.ts +0 -1003
- package/src/plugins/lists/test/ts/browser/ChangeListStyleTest.ts +0 -86
- package/src/plugins/lists/test/ts/browser/ContentEditableFalseActionsTest.ts +0 -171
- package/src/plugins/lists/test/ts/browser/CutDeleteTest.ts +0 -44
- package/src/plugins/lists/test/ts/browser/FilterContentTest.ts +0 -41
- package/src/plugins/lists/test/ts/browser/IndentTest.ts +0 -698
- package/src/plugins/lists/test/ts/browser/InlineTest.ts +0 -43
- package/src/plugins/lists/test/ts/browser/ListModelTest.ts +0 -78
- package/src/plugins/lists/test/ts/browser/ListPropertiesTest.ts +0 -254
- package/src/plugins/lists/test/ts/browser/NoneditableRootTest.ts +0 -209
- package/src/plugins/lists/test/ts/browser/OutdentTest.ts +0 -486
- package/src/plugins/lists/test/ts/browser/RemoveForcedRootBlockAttrsTest.ts +0 -43
- package/src/plugins/lists/test/ts/browser/RemoveTest.ts +0 -431
- package/src/plugins/lists/test/ts/browser/RetainContentTest.ts +0 -164
- package/src/plugins/lists/test/ts/browser/StyleTest.ts +0 -76
- package/src/plugins/lists/test/ts/browser/TableInListTest.ts +0 -62
- package/src/plugins/lists/test/ts/browser/ToggleListInTableCell.ts +0 -91
- package/src/plugins/lists/test/ts/browser/ToggleListWithEmptyLiTest.ts +0 -24
- package/src/plugins/lists/test/ts/module/ArbList.ts +0 -204
- package/src/plugins/lists/test/ts/webdriver/ContentEditableFalseTest.ts +0 -111
- package/src/plugins/lists/test/ts/webdriver/ContextMenuTest.ts +0 -30
- package/src/plugins/lists/test/ts/webdriver/DeleteTest.ts +0 -64
- package/src/plugins/media/demo/html/demo.html +0 -16
- package/src/plugins/media/demo/ts/demo/Demo.ts +0 -28
- package/src/plugins/media/main/ts/Main.ts +0 -9
- package/src/plugins/media/main/ts/Plugin.ts +0 -21
- package/src/plugins/media/main/ts/api/Api.ts +0 -21
- package/src/plugins/media/main/ts/api/Commands.ts +0 -15
- package/src/plugins/media/main/ts/api/Options.ts +0 -79
- package/src/plugins/media/main/ts/core/DataToHtml.ts +0 -129
- package/src/plugins/media/main/ts/core/FilterContent.ts +0 -105
- package/src/plugins/media/main/ts/core/HtmlToData.ts +0 -81
- package/src/plugins/media/main/ts/core/Mime.ts +0 -19
- package/src/plugins/media/main/ts/core/Nodes.ts +0 -196
- package/src/plugins/media/main/ts/core/Parser.ts +0 -9
- package/src/plugins/media/main/ts/core/ResolveName.ts +0 -15
- package/src/plugins/media/main/ts/core/Sanitize.ts +0 -16
- package/src/plugins/media/main/ts/core/Selection.ts +0 -43
- package/src/plugins/media/main/ts/core/Service.ts +0 -59
- package/src/plugins/media/main/ts/core/Types.ts +0 -36
- package/src/plugins/media/main/ts/core/UpdateHtml.ts +0 -126
- package/src/plugins/media/main/ts/core/UrlPatterns.ts +0 -112
- package/src/plugins/media/main/ts/ui/Buttons.ts +0 -48
- package/src/plugins/media/main/ts/ui/Dialog.ts +0 -343
- package/src/plugins/media/test/ts/atomic/HtmlToDataTest.ts +0 -96
- package/src/plugins/media/test/ts/atomic/UpdateHtmlTest.ts +0 -38
- package/src/plugins/media/test/ts/atomic/UrlPatternsTest.ts +0 -66
- package/src/plugins/media/test/ts/browser/ContentFormatsTest.ts +0 -187
- package/src/plugins/media/test/ts/browser/DataAttributeTest.ts +0 -58
- package/src/plugins/media/test/ts/browser/DataToHtmlTest.ts +0 -157
- package/src/plugins/media/test/ts/browser/DataUnwrapTest.ts +0 -61
- package/src/plugins/media/test/ts/browser/DimensionsFalseEmbedTest.ts +0 -74
- package/src/plugins/media/test/ts/browser/EphoxEmbedTest.ts +0 -108
- package/src/plugins/media/test/ts/browser/IsCachedResponseTest.ts +0 -46
- package/src/plugins/media/test/ts/browser/LiveEmbedNodeTest.ts +0 -153
- package/src/plugins/media/test/ts/browser/MediaAlignmentTest.ts +0 -89
- package/src/plugins/media/test/ts/browser/MediaEmbedTest.ts +0 -40
- package/src/plugins/media/test/ts/browser/MediaPluginSanityTest.ts +0 -104
- package/src/plugins/media/test/ts/browser/NoAdvancedTabTest.ts +0 -34
- package/src/plugins/media/test/ts/browser/NoneditableRootTest.ts +0 -40
- package/src/plugins/media/test/ts/browser/PlaceholderTest.ts +0 -138
- package/src/plugins/media/test/ts/browser/ReopenResizeTest.ts +0 -52
- package/src/plugins/media/test/ts/browser/ScriptContentTest.ts +0 -22
- package/src/plugins/media/test/ts/browser/SubmitTest.ts +0 -173
- package/src/plugins/media/test/ts/browser/UpdateMediaPosterAttributeTest.ts +0 -52
- package/src/plugins/media/test/ts/module/test/Utils.ts +0 -212
- package/src/plugins/nonbreaking/demo/html/demo.html +0 -15
- package/src/plugins/nonbreaking/demo/ts/demo/Demo.ts +0 -14
- package/src/plugins/nonbreaking/main/ts/Main.ts +0 -9
- package/src/plugins/nonbreaking/main/ts/Plugin.ts +0 -22
- package/src/plugins/nonbreaking/main/ts/api/Commands.ts +0 -13
- package/src/plugins/nonbreaking/main/ts/api/Options.ts +0 -41
- package/src/plugins/nonbreaking/main/ts/core/Actions.ts +0 -29
- package/src/plugins/nonbreaking/main/ts/core/Keyboard.ts +0 -27
- package/src/plugins/nonbreaking/main/ts/ui/Buttons.ts +0 -37
- package/src/plugins/nonbreaking/test/ts/browser/NonbreakingForceTabTest.ts +0 -33
- package/src/plugins/nonbreaking/test/ts/browser/NonbreakingOptionsTest.ts +0 -32
- package/src/plugins/nonbreaking/test/ts/browser/NonbreakingSanityTest.ts +0 -37
- package/src/plugins/nonbreaking/test/ts/browser/NonbreakingVisualCharsTest.ts +0 -69
- package/src/plugins/nonbreaking/test/ts/browser/NoneditableRootTest.ts +0 -40
- package/src/plugins/nonbreaking/test/ts/webdriver/NonbreakingTypingTest.ts +0 -117
- package/src/plugins/nonbreaking/test/ts/webdriver/NonbreakingVisualCharsTypingTest.ts +0 -215
- package/src/plugins/nonbreaking/test/ts/webdriver/NonbreakingWrapTypingTest.ts +0 -216
- package/src/plugins/pagebreak/demo/html/demo.html +0 -15
- package/src/plugins/pagebreak/demo/ts/demo/Demo.ts +0 -14
- package/src/plugins/pagebreak/main/ts/Main.ts +0 -9
- package/src/plugins/pagebreak/main/ts/Plugin.ts +0 -17
- package/src/plugins/pagebreak/main/ts/api/Commands.ts +0 -14
- package/src/plugins/pagebreak/main/ts/api/Options.ts +0 -31
- package/src/plugins/pagebreak/main/ts/core/FilterContent.ts +0 -56
- package/src/plugins/pagebreak/main/ts/core/ResolveName.ts +0 -15
- package/src/plugins/pagebreak/main/ts/ui/Buttons.ts +0 -37
- package/src/plugins/pagebreak/test/ts/browser/NoneditableRootTest.ts +0 -40
- package/src/plugins/pagebreak/test/ts/browser/PageBreakSanityTest.ts +0 -34
- package/src/plugins/pagebreak/test/ts/browser/PageBreakSplitBlockTest.ts +0 -129
- package/src/plugins/preview/demo/html/demo.html +0 -34
- package/src/plugins/preview/demo/ts/demo/Demo.ts +0 -14
- package/src/plugins/preview/main/ts/Main.ts +0 -9
- package/src/plugins/preview/main/ts/Plugin.ts +0 -11
- package/src/plugins/preview/main/ts/api/Commands.ts +0 -13
- package/src/plugins/preview/main/ts/api/Options.ts +0 -20
- package/src/plugins/preview/main/ts/core/IframeContent.ts +0 -62
- package/src/plugins/preview/main/ts/ui/Buttons.ts +0 -21
- package/src/plugins/preview/main/ts/ui/Dialog.ts +0 -39
- package/src/plugins/preview/test/ts/browser/PreviewContentCssTest.ts +0 -33
- package/src/plugins/preview/test/ts/browser/PreviewContentStyleTest.ts +0 -47
- package/src/plugins/preview/test/ts/browser/PreviewSanityTest.ts +0 -40
- package/src/plugins/quickbars/demo/html/demo.html +0 -68
- package/src/plugins/quickbars/demo/ts/demo/Demo.ts +0 -56
- package/src/plugins/quickbars/main/ts/Main.ts +0 -9
- package/src/plugins/quickbars/main/ts/Plugin.ts +0 -16
- package/src/plugins/quickbars/main/ts/api/Options.ts +0 -56
- package/src/plugins/quickbars/main/ts/insert/Actions.ts +0 -20
- package/src/plugins/quickbars/main/ts/insert/Buttons.ts +0 -35
- package/src/plugins/quickbars/main/ts/insert/Conversions.ts +0 -15
- package/src/plugins/quickbars/main/ts/insert/Picker.ts +0 -56
- package/src/plugins/quickbars/main/ts/insert/Toolbars.ts +0 -34
- package/src/plugins/quickbars/main/ts/selection/Bookmark.ts +0 -122
- package/src/plugins/quickbars/main/ts/selection/Toolbars.ts +0 -39
- package/src/plugins/quickbars/test/ts/browser/ContentEditableTest.ts +0 -122
- package/src/plugins/quickbars/test/ts/browser/InsertToolbarPredicateTest.ts +0 -70
- package/src/plugins/quickbars/test/ts/browser/KeyboardShortcutContextToolbarTest.ts +0 -30
- package/src/plugins/quickbars/test/ts/browser/OptionsTest.ts +0 -84
- package/src/plugins/quickbars/test/ts/browser/SelectionToolbarTest.ts +0 -106
- package/src/plugins/quickbars/test/ts/browser/ToolbarFalseTest.ts +0 -45
- package/src/plugins/quickbars/test/ts/browser/ToolbarPositionTest.ts +0 -384
- package/src/plugins/quickbars/test/ts/module/test/Utils.ts +0 -15
- package/src/plugins/save/demo/html/demo.html +0 -18
- package/src/plugins/save/demo/ts/demo/Demo.ts +0 -15
- package/src/plugins/save/main/ts/Main.ts +0 -9
- package/src/plugins/save/main/ts/Plugin.ts +0 -13
- package/src/plugins/save/main/ts/api/Commands.ts +0 -17
- package/src/plugins/save/main/ts/api/Options.ts +0 -36
- package/src/plugins/save/main/ts/core/Actions.ts +0 -69
- package/src/plugins/save/main/ts/ui/Buttons.ts +0 -39
- package/src/plugins/save/test/ts/browser/SaveSanityTest.ts +0 -29
- package/src/plugins/searchreplace/demo/html/demo.html +0 -21
- package/src/plugins/searchreplace/demo/ts/demo/Demo.ts +0 -16
- package/src/plugins/searchreplace/main/ts/Main.ts +0 -9
- package/src/plugins/searchreplace/main/ts/Plugin.ts +0 -26
- package/src/plugins/searchreplace/main/ts/api/Api.ts +0 -47
- package/src/plugins/searchreplace/main/ts/api/Commands.ts +0 -16
- package/src/plugins/searchreplace/main/ts/core/Actions.ts +0 -280
- package/src/plugins/searchreplace/main/ts/core/FindMark.ts +0 -67
- package/src/plugins/searchreplace/main/ts/core/TextCollect.ts +0 -190
- package/src/plugins/searchreplace/main/ts/core/TextPosition.ts +0 -69
- package/src/plugins/searchreplace/main/ts/core/Types.ts +0 -21
- package/src/plugins/searchreplace/main/ts/ui/Buttons.ts +0 -32
- package/src/plugins/searchreplace/main/ts/ui/Dialog.ts +0 -263
- package/src/plugins/searchreplace/test/ts/browser/SearchReplaceDialogCyclingTest.ts +0 -109
- package/src/plugins/searchreplace/test/ts/browser/SearchReplaceDialogTest.ts +0 -144
- package/src/plugins/searchreplace/test/ts/browser/SearchReplaceInSelectionTest.ts +0 -240
- package/src/plugins/searchreplace/test/ts/browser/SearchReplaceKeyboardNavigationTest.ts +0 -100
- package/src/plugins/searchreplace/test/ts/browser/SearchReplacePluginTest.ts +0 -212
- package/src/plugins/searchreplace/test/ts/browser/SearchReplacePrevNextTest.ts +0 -64
- package/src/plugins/searchreplace/test/ts/browser/UndoReplaceSpanTest.ts +0 -35
- package/src/plugins/searchreplace/test/ts/module/test/Utils.ts +0 -77
- package/src/plugins/table/demo/html/demo.html +0 -123
- package/src/plugins/table/demo/ts/demo/Demo.ts +0 -43
- package/src/plugins/table/main/ts/Main.ts +0 -9
- package/src/plugins/table/main/ts/Plugin.ts +0 -23
- package/src/plugins/table/main/ts/actions/Styles.ts +0 -54
- package/src/plugins/table/main/ts/api/Clipboard.ts +0 -67
- package/src/plugins/table/main/ts/api/Commands.ts +0 -27
- package/src/plugins/table/main/ts/api/Events.ts +0 -34
- package/src/plugins/table/main/ts/api/Options.ts +0 -183
- package/src/plugins/table/main/ts/core/Utils.ts +0 -45
- package/src/plugins/table/main/ts/queries/TableTargets.ts +0 -33
- package/src/plugins/table/main/ts/selection/Ephemera.ts +0 -28
- package/src/plugins/table/main/ts/selection/SelectionTargets.ts +0 -194
- package/src/plugins/table/main/ts/selection/TableSelection.ts +0 -54
- package/src/plugins/table/main/ts/ui/Buttons.ts +0 -334
- package/src/plugins/table/main/ts/ui/CellAlignValues.ts +0 -22
- package/src/plugins/table/main/ts/ui/CellDialog.ts +0 -204
- package/src/plugins/table/main/ts/ui/CellDialogGeneralTab.ts +0 -70
- package/src/plugins/table/main/ts/ui/DialogAdvancedTab.ts +0 -46
- package/src/plugins/table/main/ts/ui/DomModifier.ts +0 -40
- package/src/plugins/table/main/ts/ui/Helpers.ts +0 -243
- package/src/plugins/table/main/ts/ui/MenuItems.ts +0 -374
- package/src/plugins/table/main/ts/ui/RowDialog.ts +0 -168
- package/src/plugins/table/main/ts/ui/RowDialogGeneralTab.ts +0 -52
- package/src/plugins/table/main/ts/ui/TableDialog.ts +0 -255
- package/src/plugins/table/main/ts/ui/TableDialogGeneralTab.ts +0 -92
- package/src/plugins/table/main/ts/ui/UiUtils.ts +0 -165
- package/src/plugins/table/test/ts/atomic/UtilsTest.ts +0 -30
- package/src/plugins/table/test/ts/browser/AlignedCellRowStyleChangeTest.ts +0 -71
- package/src/plugins/table/test/ts/browser/ClipboardTest.ts +0 -794
- package/src/plugins/table/test/ts/browser/HelpersTest.ts +0 -288
- package/src/plugins/table/test/ts/browser/IndentListsInTableTest.ts +0 -46
- package/src/plugins/table/test/ts/browser/InlineEditorInsideTableTest.ts +0 -119
- package/src/plugins/table/test/ts/browser/NoneditableRootTest.ts +0 -201
- package/src/plugins/table/test/ts/browser/TableCellPropsStyleTest.ts +0 -34
- package/src/plugins/table/test/ts/browser/TableRemoveTrailingBrTest.ts +0 -128
- package/src/plugins/table/test/ts/browser/settings/CustomTableToolbarTest.ts +0 -26
- package/src/plugins/table/test/ts/browser/settings/DefaultTableToolbarTest.ts +0 -25
- package/src/plugins/table/test/ts/browser/settings/TableAppearanceOptionsTest.ts +0 -57
- package/src/plugins/table/test/ts/browser/settings/TableCellClassListTest.ts +0 -125
- package/src/plugins/table/test/ts/browser/settings/TableClassListTest.ts +0 -96
- package/src/plugins/table/test/ts/browser/settings/TableDefaultAttributesTest.ts +0 -54
- package/src/plugins/table/test/ts/browser/settings/TableDefaultAttributesWithColGroupsTest.ts +0 -54
- package/src/plugins/table/test/ts/browser/settings/TableDefaultStylesTest.ts +0 -139
- package/src/plugins/table/test/ts/browser/settings/TableGridFalseTest.ts +0 -32
- package/src/plugins/table/test/ts/browser/settings/TableRowClassListTest.ts +0 -125
- package/src/plugins/table/test/ts/browser/settings/TableToolbarTest.ts +0 -51
- package/src/plugins/table/test/ts/browser/settings/ToolbarButtonDisplayTest.ts +0 -44
- package/src/plugins/table/test/ts/browser/ui/ContextMenuTest.ts +0 -210
- package/src/plugins/table/test/ts/browser/ui/ContextToolbarTest.ts +0 -153
- package/src/plugins/table/test/ts/browser/ui/LockedColumnDisabledButtonsTest.ts +0 -236
- package/src/plugins/table/test/ts/browser/ui/TableBorderStyleTest.ts +0 -72
- package/src/plugins/table/test/ts/browser/ui/TableBorderWidthTest.ts +0 -54
- package/src/plugins/table/test/ts/browser/ui/TableCaptionTest.ts +0 -199
- package/src/plugins/table/test/ts/browser/ui/TableCellBackgroundColorTest.ts +0 -48
- package/src/plugins/table/test/ts/browser/ui/TableCellBorderColorTest.ts +0 -50
- package/src/plugins/table/test/ts/browser/ui/TableCellDialogTest.ts +0 -533
- package/src/plugins/table/test/ts/browser/ui/TableClassListButtonsTest.ts +0 -116
- package/src/plugins/table/test/ts/browser/ui/TableColumnHeaderUiTest.ts +0 -89
- package/src/plugins/table/test/ts/browser/ui/TableDialogKeyboardNavTest.ts +0 -88
- package/src/plugins/table/test/ts/browser/ui/TableDialogStyleWithCssTest.ts +0 -263
- package/src/plugins/table/test/ts/browser/ui/TableDialogTest.ts +0 -632
- package/src/plugins/table/test/ts/browser/ui/TableDialogWithoutCssTest.ts +0 -85
- package/src/plugins/table/test/ts/browser/ui/TableRowDialogTest.ts +0 -667
- package/src/plugins/table/test/ts/browser/ui/TableRowHeaderUiTest.ts +0 -105
- package/src/plugins/table/test/ts/browser/ui/TableValignButtonsTest.ts +0 -96
- package/src/plugins/table/test/ts/module/test/TableModifiersTestUtils.ts +0 -242
- package/src/plugins/table/test/ts/module/test/TableTestUtils.ts +0 -273
- package/src/plugins/visualblocks/demo/html/demo.html +0 -32
- package/src/plugins/visualblocks/demo/ts/demo/Demo.ts +0 -33
- package/src/plugins/visualblocks/main/img/address.gif +0 -0
- package/src/plugins/visualblocks/main/img/article.gif +0 -0
- package/src/plugins/visualblocks/main/img/aside.gif +0 -0
- package/src/plugins/visualblocks/main/img/blockquote.gif +0 -0
- package/src/plugins/visualblocks/main/img/div.gif +0 -0
- package/src/plugins/visualblocks/main/img/dl.gif +0 -0
- package/src/plugins/visualblocks/main/img/figure.gif +0 -0
- package/src/plugins/visualblocks/main/img/h1.gif +0 -0
- package/src/plugins/visualblocks/main/img/h2.gif +0 -0
- package/src/plugins/visualblocks/main/img/h3.gif +0 -0
- package/src/plugins/visualblocks/main/img/h4.gif +0 -0
- package/src/plugins/visualblocks/main/img/h5.gif +0 -0
- package/src/plugins/visualblocks/main/img/h6.gif +0 -0
- package/src/plugins/visualblocks/main/img/hgroup.gif +0 -0
- package/src/plugins/visualblocks/main/img/ol.gif +0 -0
- package/src/plugins/visualblocks/main/img/p.gif +0 -0
- package/src/plugins/visualblocks/main/img/pre.gif +0 -0
- package/src/plugins/visualblocks/main/img/section.gif +0 -0
- package/src/plugins/visualblocks/main/img/ul.gif +0 -0
- package/src/plugins/visualblocks/main/ts/Main.ts +0 -9
- package/src/plugins/visualblocks/main/ts/Plugin.ts +0 -19
- package/src/plugins/visualblocks/main/ts/api/Commands.ts +0 -15
- package/src/plugins/visualblocks/main/ts/api/Events.ts +0 -9
- package/src/plugins/visualblocks/main/ts/api/Options.ts +0 -24
- package/src/plugins/visualblocks/main/ts/core/Bindings.ts +0 -25
- package/src/plugins/visualblocks/main/ts/core/VisualBlocks.ts +0 -18
- package/src/plugins/visualblocks/main/ts/ui/Buttons.ts +0 -34
- package/src/plugins/visualblocks/test/ts/browser/PreviewFormatTest.ts +0 -57
- package/src/plugins/visualblocks/test/ts/browser/VisualBlocksSanityTest.ts +0 -41
- package/src/plugins/visualchars/demo/html/demo.html +0 -15
- package/src/plugins/visualchars/demo/ts/demo/Demo.ts +0 -14
- package/src/plugins/visualchars/main/ts/Main.ts +0 -9
- package/src/plugins/visualchars/main/ts/Plugin.ts +0 -24
- package/src/plugins/visualchars/main/ts/api/Api.ts +0 -19
- package/src/plugins/visualchars/main/ts/api/Commands.ts +0 -15
- package/src/plugins/visualchars/main/ts/api/Events.ts +0 -10
- package/src/plugins/visualchars/main/ts/api/Options.ts +0 -24
- package/src/plugins/visualchars/main/ts/core/Actions.ts +0 -31
- package/src/plugins/visualchars/main/ts/core/Bindings.ts +0 -26
- package/src/plugins/visualchars/main/ts/core/Data.ts +0 -35
- package/src/plugins/visualchars/main/ts/core/Html.ts +0 -8
- package/src/plugins/visualchars/main/ts/core/Keyboard.ts +0 -23
- package/src/plugins/visualchars/main/ts/core/Nodes.ts +0 -68
- package/src/plugins/visualchars/main/ts/core/VisualChars.ts +0 -61
- package/src/plugins/visualchars/main/ts/ui/Buttons.ts +0 -34
- package/src/plugins/visualchars/test/ts/atomic/DataTest.ts +0 -22
- package/src/plugins/visualchars/test/ts/atomic/HtmlTest.ts +0 -23
- package/src/plugins/visualchars/test/ts/browser/DefaultStateTest.ts +0 -30
- package/src/plugins/visualchars/test/ts/browser/InlinePluginTest.ts +0 -33
- package/src/plugins/visualchars/test/ts/browser/NodesTest.ts +0 -121
- package/src/plugins/visualchars/test/ts/browser/PluginTest.ts +0 -121
- package/src/plugins/visualchars/test/ts/module/test/Utils.ts +0 -42
- package/src/plugins/wordcount/demo/html/demo.html +0 -18
- package/src/plugins/wordcount/demo/ts/demo/Demo.ts +0 -12
- package/src/plugins/wordcount/main/ts/Main.ts +0 -9
- package/src/plugins/wordcount/main/ts/Plugin.ts +0 -17
- package/src/plugins/wordcount/main/ts/api/Api.ts +0 -44
- package/src/plugins/wordcount/main/ts/api/Commands.ts +0 -12
- package/src/plugins/wordcount/main/ts/api/Events.ts +0 -17
- package/src/plugins/wordcount/main/ts/core/Count.ts +0 -38
- package/src/plugins/wordcount/main/ts/core/GetText.ts +0 -35
- package/src/plugins/wordcount/main/ts/core/WordCounter.ts +0 -28
- package/src/plugins/wordcount/main/ts/ui/Buttons.ts +0 -21
- package/src/plugins/wordcount/main/ts/ui/Dialog.ts +0 -47
- package/src/plugins/wordcount/test/ts/browser/PluginTest.ts +0 -228
- package/src/plugins/wordcount/test/ts/browser/api/ApiTest.ts +0 -88
- package/src/plugins/wordcount/test/ts/browser/core/GetTextTest.ts +0 -33
- package/src/themes/silver/demo/html/demo/demo-with-scrolling.html +0 -347
- package/src/themes/silver/demo/html/demo/demo.html +0 -125
- package/src/themes/silver/demo/html/demo/format-select-demo.html +0 -61
- package/src/themes/silver/demo/html/demo/menu-item-demo.html +0 -96
- package/src/themes/silver/demo/html/demo/sidebar-demo.html +0 -97
- package/src/themes/silver/demo/html/demo/toolbar-button-demo.html +0 -97
- package/src/themes/silver/demo/html/demo/tree-demo.html +0 -21
- package/src/themes/silver/demo/ts/demo/ButtonSetupDemo.ts +0 -247
- package/src/themes/silver/demo/ts/demo/Demos.ts +0 -19
- package/src/themes/silver/demo/ts/demo/FormatSelectDemo.ts +0 -70
- package/src/themes/silver/demo/ts/demo/MenuItemDemo.ts +0 -135
- package/src/themes/silver/demo/ts/demo/MockDemo.ts +0 -34
- package/src/themes/silver/demo/ts/demo/PlayDemo.ts +0 -142
- package/src/themes/silver/demo/ts/demo/SidebarDemo.ts +0 -49
- package/src/themes/silver/demo/ts/demo/ToolbarButtonDemo.ts +0 -97
- package/src/themes/silver/demo/ts/demo/TreeDemo.ts +0 -177
- package/src/themes/silver/main/resources/StatusbarLogo.d.ts +0 -1
- package/src/themes/silver/main/resources/StatusbarLogo.js +0 -3
- package/src/themes/silver/main/resources/statusbar-logo.svg +0 -3
- package/src/themes/silver/main/ts/Autocompleter.ts +0 -215
- package/src/themes/silver/main/ts/Channels.ts +0 -7
- package/src/themes/silver/main/ts/Events.ts +0 -153
- package/src/themes/silver/main/ts/Main.ts +0 -9
- package/src/themes/silver/main/ts/ReadOnly.ts +0 -67
- package/src/themes/silver/main/ts/Render.ts +0 -571
- package/src/themes/silver/main/ts/Theme.ts +0 -88
- package/src/themes/silver/main/ts/alien/NotificationManagerImpl.ts +0 -143
- package/src/themes/silver/main/ts/api/Events.ts +0 -82
- package/src/themes/silver/main/ts/api/Options.ts +0 -490
- package/src/themes/silver/main/ts/autocomplete/AutocompleteEditorEvents.ts +0 -78
- package/src/themes/silver/main/ts/backstage/Anchors.ts +0 -184
- package/src/themes/silver/main/ts/backstage/Backstage.ts +0 -109
- package/src/themes/silver/main/ts/backstage/ColorInputBackstage.ts +0 -31
- package/src/themes/silver/main/ts/backstage/DialogBackstage.ts +0 -13
- package/src/themes/silver/main/ts/backstage/HeaderBackstage.ts +0 -21
- package/src/themes/silver/main/ts/backstage/StyleFormatsBackstage.ts +0 -53
- package/src/themes/silver/main/ts/backstage/TooltipsBackstage.ts +0 -62
- package/src/themes/silver/main/ts/backstage/UrlInputBackstage.ts +0 -106
- package/src/themes/silver/main/ts/backstage/UrlInputHistory.ts +0 -72
- package/src/themes/silver/main/ts/modes/Iframe.ts +0 -210
- package/src/themes/silver/main/ts/modes/Inline.ts +0 -219
- package/src/themes/silver/main/ts/modes/ScrollingContext.ts +0 -70
- package/src/themes/silver/main/ts/modes/Toolbars.ts +0 -32
- package/src/themes/silver/main/ts/modes/UiReferences.ts +0 -70
- package/src/themes/silver/main/ts/ui/alien/ComposingConfigs.ts +0 -25
- package/src/themes/silver/main/ts/ui/alien/ConvertShortcut.ts +0 -36
- package/src/themes/silver/main/ts/ui/alien/DialogTabHeight.ts +0 -171
- package/src/themes/silver/main/ts/ui/alien/DisablingConfigs.ts +0 -30
- package/src/themes/silver/main/ts/ui/alien/FieldLabeller.ts +0 -56
- package/src/themes/silver/main/ts/ui/alien/FlatgridAutodetect.ts +0 -28
- package/src/themes/silver/main/ts/ui/alien/RepresentingConfigs.ts +0 -75
- package/src/themes/silver/main/ts/ui/alien/SimpleBehaviours.ts +0 -17
- package/src/themes/silver/main/ts/ui/alien/UiUtils.ts +0 -8
- package/src/themes/silver/main/ts/ui/button/ButtonSlices.ts +0 -37
- package/src/themes/silver/main/ts/ui/button/MenuButton.ts +0 -144
- package/src/themes/silver/main/ts/ui/context/ContextEditorEvents.ts +0 -10
- package/src/themes/silver/main/ts/ui/context/ContextForm.ts +0 -73
- package/src/themes/silver/main/ts/ui/context/ContextFormButtons.ts +0 -98
- package/src/themes/silver/main/ts/ui/context/ContextToolbar.ts +0 -315
- package/src/themes/silver/main/ts/ui/context/ContextToolbarAnchor.ts +0 -146
- package/src/themes/silver/main/ts/ui/context/ContextToolbarBounds.ts +0 -132
- package/src/themes/silver/main/ts/ui/context/ContextToolbarLookup.ts +0 -134
- package/src/themes/silver/main/ts/ui/context/ContextToolbarScopes.ts +0 -81
- package/src/themes/silver/main/ts/ui/context/ContextUi.ts +0 -128
- package/src/themes/silver/main/ts/ui/controls/Controls.ts +0 -40
- package/src/themes/silver/main/ts/ui/core/AlignmentButtons.ts +0 -34
- package/src/themes/silver/main/ts/ui/core/ChoiceControls.ts +0 -137
- package/src/themes/silver/main/ts/ui/core/ComplexControls.ts +0 -20
- package/src/themes/silver/main/ts/ui/core/ControlUtils.ts +0 -80
- package/src/themes/silver/main/ts/ui/core/FormatControls.ts +0 -28
- package/src/themes/silver/main/ts/ui/core/HtmlSanitizer.ts +0 -3
- package/src/themes/silver/main/ts/ui/core/IndentOutdent.ts +0 -33
- package/src/themes/silver/main/ts/ui/core/LinkTargets.ts +0 -144
- package/src/themes/silver/main/ts/ui/core/PasteControls.ts +0 -47
- package/src/themes/silver/main/ts/ui/core/SimpleControls.ts +0 -144
- package/src/themes/silver/main/ts/ui/core/UndoRedo.ts +0 -58
- package/src/themes/silver/main/ts/ui/core/VisualAid.ts +0 -34
- package/src/themes/silver/main/ts/ui/core/color/ColorCache.ts +0 -90
- package/src/themes/silver/main/ts/ui/core/color/ColorSwatch.ts +0 -303
- package/src/themes/silver/main/ts/ui/core/color/Options.ts +0 -175
- package/src/themes/silver/main/ts/ui/core/complex/AlignBespoke.ts +0 -74
- package/src/themes/silver/main/ts/ui/core/complex/BespokeNumberInput.ts +0 -239
- package/src/themes/silver/main/ts/ui/core/complex/BespokeSelect.ts +0 -245
- package/src/themes/silver/main/ts/ui/core/complex/BlocksBespoke.ts +0 -74
- package/src/themes/silver/main/ts/ui/core/complex/FontFamilyBespoke.ts +0 -125
- package/src/themes/silver/main/ts/ui/core/complex/FontSizeBespoke.ts +0 -195
- package/src/themes/silver/main/ts/ui/core/complex/SelectDatasets.ts +0 -67
- package/src/themes/silver/main/ts/ui/core/complex/StyleFormat.ts +0 -131
- package/src/themes/silver/main/ts/ui/core/complex/StylesBespoke.ts +0 -83
- package/src/themes/silver/main/ts/ui/core/complex/utils/FormatDetection.ts +0 -14
- package/src/themes/silver/main/ts/ui/core/complex/utils/FormatRegister.ts +0 -73
- package/src/themes/silver/main/ts/ui/core/complex/utils/Tooltip.ts +0 -8
- package/src/themes/silver/main/ts/ui/dialog/AlertDialog.ts +0 -65
- package/src/themes/silver/main/ts/ui/dialog/Bar.ts +0 -15
- package/src/themes/silver/main/ts/ui/dialog/BodyPanel.ts +0 -74
- package/src/themes/silver/main/ts/ui/dialog/Collection.ts +0 -195
- package/src/themes/silver/main/ts/ui/dialog/ColorInput.ts +0 -183
- package/src/themes/silver/main/ts/ui/dialog/ColorPicker.ts +0 -107
- package/src/themes/silver/main/ts/ui/dialog/ConfirmDialog.ts +0 -77
- package/src/themes/silver/main/ts/ui/dialog/CustomEditor.ts +0 -79
- package/src/themes/silver/main/ts/ui/dialog/Dialogs.ts +0 -207
- package/src/themes/silver/main/ts/ui/dialog/Dropzone.ts +0 -154
- package/src/themes/silver/main/ts/ui/dialog/Grid.ts +0 -15
- package/src/themes/silver/main/ts/ui/dialog/IFrame.ts +0 -188
- package/src/themes/silver/main/ts/ui/dialog/ImagePreview.ts +0 -156
- package/src/themes/silver/main/ts/ui/dialog/Label.ts +0 -45
- package/src/themes/silver/main/ts/ui/dialog/ListBox.ts +0 -139
- package/src/themes/silver/main/ts/ui/dialog/Panel.ts +0 -21
- package/src/themes/silver/main/ts/ui/dialog/SelectBox.ts +0 -78
- package/src/themes/silver/main/ts/ui/dialog/SizeInput.ts +0 -169
- package/src/themes/silver/main/ts/ui/dialog/Slider.ts +0 -69
- package/src/themes/silver/main/ts/ui/dialog/TabPanel.ts +0 -168
- package/src/themes/silver/main/ts/ui/dialog/Table.ts +0 -46
- package/src/themes/silver/main/ts/ui/dialog/TextField.ts +0 -161
- package/src/themes/silver/main/ts/ui/dialog/Tree.ts +0 -405
- package/src/themes/silver/main/ts/ui/dialog/UrlInput.ts +0 -296
- package/src/themes/silver/main/ts/ui/dialog/WindowManager.ts +0 -393
- package/src/themes/silver/main/ts/ui/dropdown/CommonDropdown.ts +0 -275
- package/src/themes/silver/main/ts/ui/general/AlertBanner.ts +0 -62
- package/src/themes/silver/main/ts/ui/general/Button.ts +0 -309
- package/src/themes/silver/main/ts/ui/general/Checkbox.ts +0 -110
- package/src/themes/silver/main/ts/ui/general/FormEvents.ts +0 -63
- package/src/themes/silver/main/ts/ui/general/FormValues.ts +0 -21
- package/src/themes/silver/main/ts/ui/general/HtmlPanel.ts +0 -62
- package/src/themes/silver/main/ts/ui/general/NavigableObject.ts +0 -76
- package/src/themes/silver/main/ts/ui/general/Notification.ts +0 -222
- package/src/themes/silver/main/ts/ui/general/OuterContainer.ts +0 -463
- package/src/themes/silver/main/ts/ui/general/PanelButton.ts +0 -67
- package/src/themes/silver/main/ts/ui/general/UiFactory.ts +0 -110
- package/src/themes/silver/main/ts/ui/header/CommonHeader.ts +0 -26
- package/src/themes/silver/main/ts/ui/header/InlineHeader.ts +0 -379
- package/src/themes/silver/main/ts/ui/header/StaticHeader.ts +0 -11
- package/src/themes/silver/main/ts/ui/header/StickyHeader.ts +0 -311
- package/src/themes/silver/main/ts/ui/icons/Icons.ts +0 -110
- package/src/themes/silver/main/ts/ui/menus/contextmenu/Coords.ts +0 -85
- package/src/themes/silver/main/ts/ui/menus/contextmenu/Options.ts +0 -66
- package/src/themes/silver/main/ts/ui/menus/contextmenu/SilverContextMenu.ts +0 -192
- package/src/themes/silver/main/ts/ui/menus/contextmenu/platform/DesktopContextMenu.ts +0 -44
- package/src/themes/silver/main/ts/ui/menus/contextmenu/platform/MobileContextMenu.ts +0 -169
- package/src/themes/silver/main/ts/ui/menus/item/ItemClasses.ts +0 -57
- package/src/themes/silver/main/ts/ui/menus/item/ItemEvents.ts +0 -29
- package/src/themes/silver/main/ts/ui/menus/item/ItemResponse.ts +0 -6
- package/src/themes/silver/main/ts/ui/menus/item/MenuItems.ts +0 -28
- package/src/themes/silver/main/ts/ui/menus/item/build/AutocompleteMenuItem.ts +0 -111
- package/src/themes/silver/main/ts/ui/menus/item/build/CardMenuItem.ts +0 -84
- package/src/themes/silver/main/ts/ui/menus/item/build/ChoiceItem.ts +0 -82
- package/src/themes/silver/main/ts/ui/menus/item/build/ColorSwatchItem.ts +0 -57
- package/src/themes/silver/main/ts/ui/menus/item/build/CommonMenuItem.ts +0 -99
- package/src/themes/silver/main/ts/ui/menus/item/build/FancyMenuItem.ts +0 -19
- package/src/themes/silver/main/ts/ui/menus/item/build/InsertTableMenuItem.ts +0 -142
- package/src/themes/silver/main/ts/ui/menus/item/build/NestedMenuItem.ts +0 -51
- package/src/themes/silver/main/ts/ui/menus/item/build/NormalMenuItem.ts +0 -40
- package/src/themes/silver/main/ts/ui/menus/item/build/SeparatorItem.ts +0 -17
- package/src/themes/silver/main/ts/ui/menus/item/build/ToggleMenuItem.ts +0 -62
- package/src/themes/silver/main/ts/ui/menus/item/structure/ItemSlices.ts +0 -121
- package/src/themes/silver/main/ts/ui/menus/item/structure/ItemStructure.ts +0 -149
- package/src/themes/silver/main/ts/ui/menus/menu/MenuChoice.ts +0 -61
- package/src/themes/silver/main/ts/ui/menus/menu/MenuClasses.ts +0 -31
- package/src/themes/silver/main/ts/ui/menus/menu/MenuConversion.ts +0 -131
- package/src/themes/silver/main/ts/ui/menus/menu/MenuMovement.ts +0 -63
- package/src/themes/silver/main/ts/ui/menus/menu/MenuParts.ts +0 -56
- package/src/themes/silver/main/ts/ui/menus/menu/MenuStructures.ts +0 -235
- package/src/themes/silver/main/ts/ui/menus/menu/MenuUtils.ts +0 -104
- package/src/themes/silver/main/ts/ui/menus/menu/MenuWidgets.ts +0 -55
- package/src/themes/silver/main/ts/ui/menus/menu/NestedMenus.ts +0 -82
- package/src/themes/silver/main/ts/ui/menus/menu/SingleMenu.ts +0 -228
- package/src/themes/silver/main/ts/ui/menus/menu/SingleMenuTypes.ts +0 -4
- package/src/themes/silver/main/ts/ui/menus/menu/searchable/SearchableMenu.ts +0 -164
- package/src/themes/silver/main/ts/ui/menus/menu/searchable/SearchableMenuEvents.ts +0 -32
- package/src/themes/silver/main/ts/ui/menus/menu/searchable/SearchableMenuField.ts +0 -181
- package/src/themes/silver/main/ts/ui/menus/menu/searchable/SearchableMenus.ts +0 -23
- package/src/themes/silver/main/ts/ui/menus/menubar/Integration.ts +0 -86
- package/src/themes/silver/main/ts/ui/menus/menubar/SilverMenubar.ts +0 -152
- package/src/themes/silver/main/ts/ui/promotion/Promotion.ts +0 -29
- package/src/themes/silver/main/ts/ui/selector/TableSelectorHandles.ts +0 -230
- package/src/themes/silver/main/ts/ui/sidebar/Sidebar.ts +0 -251
- package/src/themes/silver/main/ts/ui/sizeinput/SizeInputModel.ts +0 -87
- package/src/themes/silver/main/ts/ui/sizing/EditorSize.ts +0 -32
- package/src/themes/silver/main/ts/ui/sizing/Resize.ts +0 -41
- package/src/themes/silver/main/ts/ui/sizing/Utils.ts +0 -24
- package/src/themes/silver/main/ts/ui/skin/Loader.ts +0 -98
- package/src/themes/silver/main/ts/ui/skin/SkinLoaded.ts +0 -26
- package/src/themes/silver/main/ts/ui/statusbar/ElementPath.ts +0 -132
- package/src/themes/silver/main/ts/ui/statusbar/ResizeHandle.ts +0 -70
- package/src/themes/silver/main/ts/ui/statusbar/Statusbar.ts +0 -144
- package/src/themes/silver/main/ts/ui/statusbar/WordCount.ts +0 -67
- package/src/themes/silver/main/ts/ui/throbber/Throbber.ts +0 -170
- package/src/themes/silver/main/ts/ui/toolbar/CommonToolbar.ts +0 -231
- package/src/themes/silver/main/ts/ui/toolbar/Integration.ts +0 -210
- package/src/themes/silver/main/ts/ui/toolbar/button/ButtonClasses.ts +0 -17
- package/src/themes/silver/main/ts/ui/toolbar/button/ButtonEvents.ts +0 -45
- package/src/themes/silver/main/ts/ui/toolbar/button/ToolbarButtons.ts +0 -438
- package/src/themes/silver/main/ts/ui/urlinput/Completions.ts +0 -86
- package/src/themes/silver/main/ts/ui/view/View.ts +0 -160
- package/src/themes/silver/main/ts/ui/view/ViewButtons.ts +0 -88
- package/src/themes/silver/main/ts/ui/view/ViewTypes.ts +0 -3
- package/src/themes/silver/main/ts/ui/view/ViewWrapper.ts +0 -174
- package/src/themes/silver/main/ts/ui/window/DialogChannels.ts +0 -17
- package/src/themes/silver/main/ts/ui/window/SilverDialog.ts +0 -102
- package/src/themes/silver/main/ts/ui/window/SilverDialogBody.ts +0 -121
- package/src/themes/silver/main/ts/ui/window/SilverDialogCommon.ts +0 -163
- package/src/themes/silver/main/ts/ui/window/SilverDialogEvents.ts +0 -137
- package/src/themes/silver/main/ts/ui/window/SilverDialogFooter.ts +0 -94
- package/src/themes/silver/main/ts/ui/window/SilverDialogHeader.ts +0 -127
- package/src/themes/silver/main/ts/ui/window/SilverDialogInstanceApi.ts +0 -168
- package/src/themes/silver/main/ts/ui/window/SilverInlineDialog.ts +0 -184
- package/src/themes/silver/main/ts/ui/window/SilverUrlDialog.ts +0 -158
- package/src/themes/silver/main/ts/ui/window/SilverUrlDialogInstanceApi.ts +0 -52
- package/src/themes/silver/test/css/content.css +0 -4
- package/src/themes/silver/test/html/iframe.html +0 -25
- package/src/themes/silver/test/ts/atomic/components/sizeinput/SizeInputConvertTest.ts +0 -59
- package/src/themes/silver/test/ts/atomic/components/sizeinput/SizeInputConverterTest.ts +0 -73
- package/src/themes/silver/test/ts/atomic/components/sizeinput/SizeInputFormatTest.ts +0 -19
- package/src/themes/silver/test/ts/atomic/components/sizeinput/SizeInputNuTest.ts +0 -12
- package/src/themes/silver/test/ts/atomic/components/sizeinput/SizeInputParsingTest.ts +0 -75
- package/src/themes/silver/test/ts/atomic/components/sizeinput/SizeInputShared.ts +0 -5
- package/src/themes/silver/test/ts/atomic/context/ContextMenuTriggerTest.ts +0 -36
- package/src/themes/silver/test/ts/atomic/menus/MenuConversionTest.ts +0 -91
- package/src/themes/silver/test/ts/atomic/sizing/ResizeTest.ts +0 -64
- package/src/themes/silver/test/ts/browser/editor/ContextFormTest.ts +0 -228
- package/src/themes/silver/test/ts/browser/editor/DefaultHeightTest.ts +0 -54
- package/src/themes/silver/test/ts/browser/editor/DisableTest.ts +0 -57
- package/src/themes/silver/test/ts/browser/editor/EventsTest.ts +0 -90
- package/src/themes/silver/test/ts/browser/editor/ForceHexColorTest.ts +0 -131
- package/src/themes/silver/test/ts/browser/editor/MenuGroupHeadingTest.ts +0 -52
- package/src/themes/silver/test/ts/browser/editor/NotificationManagerImplTest.ts +0 -259
- package/src/themes/silver/test/ts/browser/editor/ResourceLoadingCssTest.ts +0 -41
- package/src/themes/silver/test/ts/browser/editor/ShadowDomInlineTest.ts +0 -18
- package/src/themes/silver/test/ts/browser/editor/ShowHideTest.ts +0 -93
- package/src/themes/silver/test/ts/browser/editor/SilverDialogCancelTest.ts +0 -34
- package/src/themes/silver/test/ts/browser/editor/SilverDialogCloseTest.ts +0 -34
- package/src/themes/silver/test/ts/browser/editor/SilverDialogPopupsTest.ts +0 -113
- package/src/themes/silver/test/ts/browser/editor/SilverDialogTreeTest.ts +0 -108
- package/src/themes/silver/test/ts/browser/editor/SilverEditorDirectionalityTest.ts +0 -55
- package/src/themes/silver/test/ts/browser/editor/SilverEditorTest.ts +0 -422
- package/src/themes/silver/test/ts/browser/editor/SilverFixedToolbarContainerPriorityTest.ts +0 -38
- package/src/themes/silver/test/ts/browser/editor/SilverFixedToolbarContainerTargetNotInlineTest.ts +0 -34
- package/src/themes/silver/test/ts/browser/editor/SilverFixedToolbarContainerTargetTest.ts +0 -34
- package/src/themes/silver/test/ts/browser/editor/SilverFixedToolbarContainerTest.ts +0 -117
- package/src/themes/silver/test/ts/browser/editor/SilverInlineEditorTest.ts +0 -430
- package/src/themes/silver/test/ts/browser/editor/SilverInlineEditorWidthTest.ts +0 -113
- package/src/themes/silver/test/ts/browser/editor/SilverPopupSinkBoundsTest.ts +0 -344
- package/src/themes/silver/test/ts/browser/editor/SilverRenderTest.ts +0 -64
- package/src/themes/silver/test/ts/browser/editor/SilverUiModeTest.ts +0 -218
- package/src/themes/silver/test/ts/browser/editor/ToolbarBottomTest.ts +0 -166
- package/src/themes/silver/test/ts/browser/editor/ToolbarPersistTest.ts +0 -40
- package/src/themes/silver/test/ts/browser/editor/ToxWrappingTest.ts +0 -21
- package/src/themes/silver/test/ts/browser/editor/autocomplete/AutocompleteAriaTest.ts +0 -179
- package/src/themes/silver/test/ts/browser/editor/autocomplete/AutocompleteCancelTest.ts +0 -184
- package/src/themes/silver/test/ts/browser/editor/autocomplete/AutocompleteReloadTest.ts +0 -117
- package/src/themes/silver/test/ts/browser/editor/autocomplete/AutocompleteTest.ts +0 -769
- package/src/themes/silver/test/ts/browser/editor/backstage/BackstageSinkTest.ts +0 -190
- package/src/themes/silver/test/ts/browser/editor/bespoke/BespokeSelectAriaLabelTest.ts +0 -242
- package/src/themes/silver/test/ts/browser/editor/bespoke/SilverBespokeButtonsTest.ts +0 -401
- package/src/themes/silver/test/ts/browser/editor/bespoke/StyleSelectFormatNamesTest.ts +0 -114
- package/src/themes/silver/test/ts/browser/editor/buttons/GroupToolbarButtonTest.ts +0 -148
- package/src/themes/silver/test/ts/browser/editor/buttons/UpdateToolbarButtonTextAndIconTest.ts +0 -133
- package/src/themes/silver/test/ts/browser/editor/color/ColorAriaLabelTest.ts +0 -285
- package/src/themes/silver/test/ts/browser/editor/color/ColorCacheTest.ts +0 -64
- package/src/themes/silver/test/ts/browser/editor/color/ColorPickerSanityTest.ts +0 -239
- package/src/themes/silver/test/ts/browser/editor/color/ColorSettingsTest.ts +0 -115
- package/src/themes/silver/test/ts/browser/editor/color/GetCurrentColorTest.ts +0 -32
- package/src/themes/silver/test/ts/browser/editor/color/NoneditableRootTest.ts +0 -48
- package/src/themes/silver/test/ts/browser/editor/color/TextColorCommandsTest.ts +0 -64
- package/src/themes/silver/test/ts/browser/editor/color/TextColorFormattingTest.ts +0 -167
- package/src/themes/silver/test/ts/browser/editor/color/TextColorSanityTest.ts +0 -504
- package/src/themes/silver/test/ts/browser/editor/contextmenu/ContextMenuPositionTest.ts +0 -33
- package/src/themes/silver/test/ts/browser/editor/contextmenu/ContextMenuSettingsTest.ts +0 -44
- package/src/themes/silver/test/ts/browser/editor/contextmenu/CustomContextMenuTest.ts +0 -141
- package/src/themes/silver/test/ts/browser/editor/contextmenu/DesktopContextMenuTest.ts +0 -183
- package/src/themes/silver/test/ts/browser/editor/contextmenu/MobileContextMenuTest.ts +0 -212
- package/src/themes/silver/test/ts/browser/editor/contextmenu/img/dogleft.jpg +0 -0
- package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarBoundsTest.ts +0 -332
- package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarDistractionFreePositionTest.ts +0 -120
- package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarIframePositionTest.ts +0 -385
- package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarInlinePositionTest.ts +0 -158
- package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarLookupPositionPriorityTest.ts +0 -51
- package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarLookupPrioritisationTest.ts +0 -76
- package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarLookupTest.ts +0 -160
- package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarTest.ts +0 -41
- package/src/themes/silver/test/ts/browser/editor/contexttoolbar/RemoveContextToolbarOnFocusoutTest.ts +0 -64
- package/src/themes/silver/test/ts/browser/editor/core/AlignmentButtonsTest.ts +0 -67
- package/src/themes/silver/test/ts/browser/editor/core/ChoiceControlsTest.ts +0 -397
- package/src/themes/silver/test/ts/browser/editor/core/ContentLanguageHiddenTest.ts +0 -26
- package/src/themes/silver/test/ts/browser/editor/core/PasteControlsTest.ts +0 -41
- package/src/themes/silver/test/ts/browser/editor/core/SimpleControlsTest.ts +0 -171
- package/src/themes/silver/test/ts/browser/editor/core/UndoRedoTest.ts +0 -90
- package/src/themes/silver/test/ts/browser/editor/header/HeaderLocationTest.ts +0 -56
- package/src/themes/silver/test/ts/browser/editor/header/InlineHeaderTest.ts +0 -99
- package/src/themes/silver/test/ts/browser/editor/header/PromotionTest.ts +0 -65
- package/src/themes/silver/test/ts/browser/editor/header/StickyHeaderBottomTest.ts +0 -11
- package/src/themes/silver/test/ts/browser/editor/header/StickyHeaderInitialPlacementTest.ts +0 -33
- package/src/themes/silver/test/ts/browser/editor/header/StickyHeaderScrollIntoViewTest.ts +0 -104
- package/src/themes/silver/test/ts/browser/editor/header/StickyHeaderTopTest.ts +0 -11
- package/src/themes/silver/test/ts/browser/editor/menubar/EditorMenubarOptionsTest.ts +0 -77
- package/src/themes/silver/test/ts/browser/editor/menubar/EditorMenubarRenderTest.ts +0 -41
- package/src/themes/silver/test/ts/browser/editor/scrolling/EditorInScrollingContainerTest.ts +0 -959
- package/src/themes/silver/test/ts/browser/editor/sizing/GridSinkSizingTest.ts +0 -36
- package/src/themes/silver/test/ts/browser/editor/sizing/ResizeNotInRootTest.ts +0 -37
- package/src/themes/silver/test/ts/browser/editor/sizing/ResizeTest.ts +0 -110
- package/src/themes/silver/test/ts/browser/editor/toolbar/EditorToolbarOptionsTest.ts +0 -464
- package/src/themes/silver/test/ts/browser/editor/toolbar/IndentOutdentTest.ts +0 -29
- package/src/themes/silver/test/ts/browser/editor/toolbar/InlineToolbarDrawerFloatingPositionTest.ts +0 -77
- package/src/themes/silver/test/ts/browser/editor/toolbar/InlineToolbarPositionTest.ts +0 -390
- package/src/themes/silver/test/ts/browser/editor/toolbar/MultipleInlineToolbarVisibilityTest.ts +0 -54
- package/src/themes/silver/test/ts/browser/editor/toolbar/NumberInputTest.ts +0 -462
- package/src/themes/silver/test/ts/browser/editor/toolbar/ReadonlyToolbarResizeTest.ts +0 -172
- package/src/themes/silver/test/ts/browser/editor/toolbar/SplitFloatingToolbarKeyboardNavigationTest.ts +0 -43
- package/src/themes/silver/test/ts/browser/editor/toolbar/ToolbarDrawerFloatingPositionTest.ts +0 -106
- package/src/themes/silver/test/ts/browser/editor/toolbar/ToolbarDrawerToggleTest.ts +0 -160
- package/src/themes/silver/test/ts/browser/editor/toolbar/ToolbarFocusTest.ts +0 -49
- package/src/themes/silver/test/ts/browser/editor/tooltip/AutocompleterTooltipTest.ts +0 -157
- package/src/themes/silver/test/ts/browser/editor/tooltip/CollectionTooltipTest.ts +0 -240
- package/src/themes/silver/test/ts/browser/editor/tooltip/DynamicTooltipTest.ts +0 -289
- package/src/themes/silver/test/ts/browser/editor/tooltip/TooltipShortcutTest.ts +0 -52
- package/src/themes/silver/test/ts/browser/editor/tooltip/TooltipTest.ts +0 -505
- package/src/themes/silver/test/ts/browser/icons/IconsTest.ts +0 -128
- package/src/themes/silver/test/ts/browser/sidebar/SidebarRoleAttributeTest.ts +0 -83
- package/src/themes/silver/test/ts/browser/sidebar/SidebarShowOptionTest.ts +0 -126
- package/src/themes/silver/test/ts/browser/sidebar/SidebarTest.ts +0 -115
- package/src/themes/silver/test/ts/browser/skin/OxideBlockedDialogTest.ts +0 -113
- package/src/themes/silver/test/ts/browser/skin/OxideCollectionComponentTest.ts +0 -325
- package/src/themes/silver/test/ts/browser/skin/OxideColorSwatchMenuTest.ts +0 -324
- package/src/themes/silver/test/ts/browser/skin/OxideFontFormatMenuTest.ts +0 -209
- package/src/themes/silver/test/ts/browser/skin/OxideGridCollectionMenuTest.ts +0 -79
- package/src/themes/silver/test/ts/browser/skin/OxideListCollectionMenuTest.ts +0 -151
- package/src/themes/silver/test/ts/browser/skin/OxideTablePickerMenuTest.ts +0 -124
- package/src/themes/silver/test/ts/browser/skin/OxideToolbarCollectionMenuTest.ts +0 -156
- package/src/themes/silver/test/ts/browser/statusbar/StatusbarTest.ts +0 -365
- package/src/themes/silver/test/ts/browser/throbber/ThrobberEditorTest.ts +0 -82
- package/src/themes/silver/test/ts/browser/throbber/ThrobberFocusTest.ts +0 -248
- package/src/themes/silver/test/ts/browser/throbber/ThrobberPopupTest.ts +0 -121
- package/src/themes/silver/test/ts/browser/throbber/ThrobberTest.ts +0 -93
- package/src/themes/silver/test/ts/browser/view/ViewButtonsTest.ts +0 -134
- package/src/themes/silver/test/ts/browser/view/ViewTest.ts +0 -504
- package/src/themes/silver/test/ts/browser/window/SilverDialogApiAccessTest.ts +0 -175
- package/src/themes/silver/test/ts/browser/window/SilverDialogAriaLabelTest.ts +0 -61
- package/src/themes/silver/test/ts/browser/window/SilverDialogBeforeEditorRenderedTest.ts +0 -29
- package/src/themes/silver/test/ts/browser/window/SilverDialogBlockTest.ts +0 -170
- package/src/themes/silver/test/ts/browser/window/SilverDialogFooterTest.ts +0 -87
- package/src/themes/silver/test/ts/browser/window/SilverDialogPositioningTest.ts +0 -191
- package/src/themes/silver/test/ts/browser/window/SilverInlineDialogPersistenceTest.ts +0 -173
- package/src/themes/silver/test/ts/browser/window/SilverInlineDialogPositionTest.ts +0 -451
- package/src/themes/silver/test/ts/browser/window/SilverInlineDialogTest.ts +0 -270
- package/src/themes/silver/test/ts/headless/components/alertbanner/AlertBannerTest.ts +0 -93
- package/src/themes/silver/test/ts/headless/components/checkbox/BasicCheckboxTest.ts +0 -193
- package/src/themes/silver/test/ts/headless/components/checkbox/CheckboxFormChangeTest.ts +0 -37
- package/src/themes/silver/test/ts/headless/components/colorinput/ColorInputTest.ts +0 -202
- package/src/themes/silver/test/ts/headless/components/colorpicker/ColorPickerTest.ts +0 -165
- package/src/themes/silver/test/ts/headless/components/customeditor/BasicCustomEditorTest.ts +0 -101
- package/src/themes/silver/test/ts/headless/components/customeditor/CustomEditorSchemaTest.ts +0 -92
- package/src/themes/silver/test/ts/headless/components/dialogbutton/DialogButtonTest.ts +0 -99
- package/src/themes/silver/test/ts/headless/components/dialogbutton/DialogFooterButtonTest.ts +0 -61
- package/src/themes/silver/test/ts/headless/components/dropzone/DropzoneTest.ts +0 -76
- package/src/themes/silver/test/ts/headless/components/grid/BasicGridTest.ts +0 -54
- package/src/themes/silver/test/ts/headless/components/htmlpanel/HtmlPanelTest.ts +0 -62
- package/src/themes/silver/test/ts/headless/components/iframe/IframeTest.ts +0 -343
- package/src/themes/silver/test/ts/headless/components/imagepreview/BasicImagePreviewTest.ts +0 -119
- package/src/themes/silver/test/ts/headless/components/input/InputTest.ts +0 -61
- package/src/themes/silver/test/ts/headless/components/label/LabelTest.ts +0 -117
- package/src/themes/silver/test/ts/headless/components/listbox/ListBoxTest.ts +0 -166
- package/src/themes/silver/test/ts/headless/components/selectbox/SelectboxTest.ts +0 -85
- package/src/themes/silver/test/ts/headless/components/selectbox/SelectboxWithSizeTest.ts +0 -67
- package/src/themes/silver/test/ts/headless/components/sizeinput/SizeInputTest.ts +0 -131
- package/src/themes/silver/test/ts/headless/components/slider/SliderTest.ts +0 -43
- package/src/themes/silver/test/ts/headless/components/table/TableTest.ts +0 -49
- package/src/themes/silver/test/ts/headless/components/textarea/TextareaTest.ts +0 -63
- package/src/themes/silver/test/ts/headless/components/tree/TreeTest.ts +0 -286
- package/src/themes/silver/test/ts/headless/components/urlinput/HistoryTest.ts +0 -35
- package/src/themes/silver/test/ts/headless/components/urlinput/UrlInputTest.ts +0 -301
- package/src/themes/silver/test/ts/headless/configs/ControlOnSetupTest.ts +0 -74
- package/src/themes/silver/test/ts/headless/modes/ScrollingContextTest.ts +0 -271
- package/src/themes/silver/test/ts/headless/modes/UiReferencesTest.ts +0 -73
- package/src/themes/silver/test/ts/headless/sketchers/SilverMenubarTest.ts +0 -312
- package/src/themes/silver/test/ts/headless/toolbar/SearchableMenuButtonPlaceholderTest.ts +0 -100
- package/src/themes/silver/test/ts/headless/toolbar/SearchableMenuButtonTest.ts +0 -541
- package/src/themes/silver/test/ts/headless/toolbar/ToolbarButtonsTest.ts +0 -384
- package/src/themes/silver/test/ts/headless/toolbar/ToolbarTest.ts +0 -142
- package/src/themes/silver/test/ts/headless/window/CustomDialogTest.ts +0 -271
- package/src/themes/silver/test/ts/headless/window/SilverDialogEventTest.ts +0 -145
- package/src/themes/silver/test/ts/headless/window/SilverDialogReuseTest.ts +0 -322
- package/src/themes/silver/test/ts/headless/window/SilverDialogTest.ts +0 -90
- package/src/themes/silver/test/ts/headless/window/SilverUrlDialogTest.ts +0 -80
- package/src/themes/silver/test/ts/headless/window/TabbedDialogTest.ts +0 -128
- package/src/themes/silver/test/ts/headless/window/WindowManagerAlertTest.ts +0 -225
- package/src/themes/silver/test/ts/headless/window/WindowManagerConfirmTest.ts +0 -236
- package/src/themes/silver/test/ts/headless/window/WindowManagerRedialTest.ts +0 -182
- package/src/themes/silver/test/ts/headless/window/WindowManagerTest.ts +0 -396
- package/src/themes/silver/test/ts/module/Assets.ts +0 -3
- package/src/themes/silver/test/ts/module/AutocompleterUtils.ts +0 -153
- package/src/themes/silver/test/ts/module/CommonMailMergeFetch.ts +0 -107
- package/src/themes/silver/test/ts/module/CommonMenuTestStructures.ts +0 -80
- package/src/themes/silver/test/ts/module/ContextMenuUtils.ts +0 -35
- package/src/themes/silver/test/ts/module/DialogUtils.ts +0 -33
- package/src/themes/silver/test/ts/module/DomUtils.ts +0 -21
- package/src/themes/silver/test/ts/module/MenuUtils.ts +0 -75
- package/src/themes/silver/test/ts/module/PageScroll.ts +0 -41
- package/src/themes/silver/test/ts/module/RepresentingUtils.ts +0 -28
- package/src/themes/silver/test/ts/module/StickyHeaderStep.ts +0 -226
- package/src/themes/silver/test/ts/module/StickyHeaderUtils.ts +0 -250
- package/src/themes/silver/test/ts/module/TestBackstage.ts +0 -88
- package/src/themes/silver/test/ts/module/TestExtras.ts +0 -149
- package/src/themes/silver/test/ts/module/TestProviders.ts +0 -25
- package/src/themes/silver/test/ts/module/ToolbarUtils.ts +0 -44
- package/src/themes/silver/test/ts/module/TooltipUtils.ts +0 -62
- package/src/themes/silver/test/ts/module/UiUtils.ts +0 -55
- package/src/themes/silver/test/ts/webdriver/components/urlinput/UrlInputTest.ts +0 -79
- package/src/themes/silver/test/ts/webdriver/dialogs/DialogFocusTest.ts +0 -94
- package/src/themes/silver/test/ts/webdriver/dialogs/IFrameDialogTest.ts +0 -169
- package/src/themes/silver/test/ts/webdriver/dialogs/SizeInputSpaceTest.ts +0 -50
- package/src/themes/silver/test/ts/webdriver/editor/AutocompleteDelayedResponseTest.ts +0 -101
- package/src/themes/silver/test/ts/webdriver/editor/DisabledNestedMenuItemTest.ts +0 -115
- package/src/themes/silver/test/ts/webdriver/editor/SimpleControlsInlineTest.ts +0 -30
- package/src/themes/silver/test/ts/webdriver/editor/TabbingTest.ts +0 -26
- package/src/themes/silver/test/ts/webdriver/throbber/ThrobberTabbingTest.ts +0 -120
- package/src/themes/silver/test/ts/webdriver/toolbar/SearchableMenuTypingTest.ts +0 -369
- package/src/themes/silver/test/ts/webdriver/tooltip/HtmlPanelTooltipTest.ts +0 -156
- package/tools/docs/tinymce.Editor.js +0 -122
- package/tools/docs/tinymce.EditorManager.js +0 -14
- package/tools/docs/tinymce.Env.js +0 -174
- package/tools/docs/tinymce.Event.js +0 -50
- package/tools/docs/tinymce.editor.ui.Ui.js +0 -55
- package/tools/docs/tinymce.js +0 -56
- package/tools/modules/grunt-utils.js +0 -31
- package/tools/modules/grunt-webpack.js +0 -204
- package/tools/modules/zip-helper.js +0 -42
- package/tools/nuget/build/TinyMCE.targets +0 -9
- package/tools/tasks/bundle.js +0 -79
- package/tools/tasks/globals.js +0 -97
- package/tools/tasks/html-i18n.js +0 -35
- package/tools/tasks/moxiezip.js +0 -98
- package/tools/tasks/validateVersion.js +0 -20
- package/tsconfig.json +0 -83
- /package/{src/core/main/text/readme_lang.md → langs/README.md} +0 -0
|
@@ -0,0 +1,1217 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TinyMCE version 7.0.0 (TBD)
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
(function () {
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
var global$6 = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
|
9
|
+
|
|
10
|
+
const hasProto = (v, constructor, predicate) => {
|
|
11
|
+
var _a;
|
|
12
|
+
if (predicate(v, constructor.prototype)) {
|
|
13
|
+
return true;
|
|
14
|
+
} else {
|
|
15
|
+
return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
const typeOf = x => {
|
|
19
|
+
const t = typeof x;
|
|
20
|
+
if (x === null) {
|
|
21
|
+
return 'null';
|
|
22
|
+
} else if (t === 'object' && Array.isArray(x)) {
|
|
23
|
+
return 'array';
|
|
24
|
+
} else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {
|
|
25
|
+
return 'string';
|
|
26
|
+
} else {
|
|
27
|
+
return t;
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
const isType = type => value => typeOf(value) === type;
|
|
31
|
+
const isString = isType('string');
|
|
32
|
+
const isObject = isType('object');
|
|
33
|
+
const isArray = isType('array');
|
|
34
|
+
const isNullable = a => a === null || a === undefined;
|
|
35
|
+
const isNonNullable = a => !isNullable(a);
|
|
36
|
+
|
|
37
|
+
class Optional {
|
|
38
|
+
constructor(tag, value) {
|
|
39
|
+
this.tag = tag;
|
|
40
|
+
this.value = value;
|
|
41
|
+
}
|
|
42
|
+
static some(value) {
|
|
43
|
+
return new Optional(true, value);
|
|
44
|
+
}
|
|
45
|
+
static none() {
|
|
46
|
+
return Optional.singletonNone;
|
|
47
|
+
}
|
|
48
|
+
fold(onNone, onSome) {
|
|
49
|
+
if (this.tag) {
|
|
50
|
+
return onSome(this.value);
|
|
51
|
+
} else {
|
|
52
|
+
return onNone();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
isSome() {
|
|
56
|
+
return this.tag;
|
|
57
|
+
}
|
|
58
|
+
isNone() {
|
|
59
|
+
return !this.tag;
|
|
60
|
+
}
|
|
61
|
+
map(mapper) {
|
|
62
|
+
if (this.tag) {
|
|
63
|
+
return Optional.some(mapper(this.value));
|
|
64
|
+
} else {
|
|
65
|
+
return Optional.none();
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
bind(binder) {
|
|
69
|
+
if (this.tag) {
|
|
70
|
+
return binder(this.value);
|
|
71
|
+
} else {
|
|
72
|
+
return Optional.none();
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exists(predicate) {
|
|
76
|
+
return this.tag && predicate(this.value);
|
|
77
|
+
}
|
|
78
|
+
forall(predicate) {
|
|
79
|
+
return !this.tag || predicate(this.value);
|
|
80
|
+
}
|
|
81
|
+
filter(predicate) {
|
|
82
|
+
if (!this.tag || predicate(this.value)) {
|
|
83
|
+
return this;
|
|
84
|
+
} else {
|
|
85
|
+
return Optional.none();
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
getOr(replacement) {
|
|
89
|
+
return this.tag ? this.value : replacement;
|
|
90
|
+
}
|
|
91
|
+
or(replacement) {
|
|
92
|
+
return this.tag ? this : replacement;
|
|
93
|
+
}
|
|
94
|
+
getOrThunk(thunk) {
|
|
95
|
+
return this.tag ? this.value : thunk();
|
|
96
|
+
}
|
|
97
|
+
orThunk(thunk) {
|
|
98
|
+
return this.tag ? this : thunk();
|
|
99
|
+
}
|
|
100
|
+
getOrDie(message) {
|
|
101
|
+
if (!this.tag) {
|
|
102
|
+
throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
|
|
103
|
+
} else {
|
|
104
|
+
return this.value;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
static from(value) {
|
|
108
|
+
return isNonNullable(value) ? Optional.some(value) : Optional.none();
|
|
109
|
+
}
|
|
110
|
+
getOrNull() {
|
|
111
|
+
return this.tag ? this.value : null;
|
|
112
|
+
}
|
|
113
|
+
getOrUndefined() {
|
|
114
|
+
return this.value;
|
|
115
|
+
}
|
|
116
|
+
each(worker) {
|
|
117
|
+
if (this.tag) {
|
|
118
|
+
worker(this.value);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
toArray() {
|
|
122
|
+
return this.tag ? [this.value] : [];
|
|
123
|
+
}
|
|
124
|
+
toString() {
|
|
125
|
+
return this.tag ? `some(${ this.value })` : 'none()';
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
Optional.singletonNone = new Optional(false);
|
|
129
|
+
|
|
130
|
+
const nativePush = Array.prototype.push;
|
|
131
|
+
const each$1 = (xs, f) => {
|
|
132
|
+
for (let i = 0, len = xs.length; i < len; i++) {
|
|
133
|
+
const x = xs[i];
|
|
134
|
+
f(x, i);
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
const flatten = xs => {
|
|
138
|
+
const r = [];
|
|
139
|
+
for (let i = 0, len = xs.length; i < len; ++i) {
|
|
140
|
+
if (!isArray(xs[i])) {
|
|
141
|
+
throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);
|
|
142
|
+
}
|
|
143
|
+
nativePush.apply(r, xs[i]);
|
|
144
|
+
}
|
|
145
|
+
return r;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
const Cell = initial => {
|
|
149
|
+
let value = initial;
|
|
150
|
+
const get = () => {
|
|
151
|
+
return value;
|
|
152
|
+
};
|
|
153
|
+
const set = v => {
|
|
154
|
+
value = v;
|
|
155
|
+
};
|
|
156
|
+
return {
|
|
157
|
+
get,
|
|
158
|
+
set
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
const keys = Object.keys;
|
|
163
|
+
const hasOwnProperty = Object.hasOwnProperty;
|
|
164
|
+
const each = (obj, f) => {
|
|
165
|
+
const props = keys(obj);
|
|
166
|
+
for (let k = 0, len = props.length; k < len; k++) {
|
|
167
|
+
const i = props[k];
|
|
168
|
+
const x = obj[i];
|
|
169
|
+
f(x, i);
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
const get$1 = (obj, key) => {
|
|
173
|
+
return has(obj, key) ? Optional.from(obj[key]) : Optional.none();
|
|
174
|
+
};
|
|
175
|
+
const has = (obj, key) => hasOwnProperty.call(obj, key);
|
|
176
|
+
|
|
177
|
+
const option = name => editor => editor.options.get(name);
|
|
178
|
+
const register$2 = editor => {
|
|
179
|
+
const registerOption = editor.options.register;
|
|
180
|
+
registerOption('audio_template_callback', { processor: 'function' });
|
|
181
|
+
registerOption('video_template_callback', { processor: 'function' });
|
|
182
|
+
registerOption('iframe_template_callback', { processor: 'function' });
|
|
183
|
+
registerOption('media_live_embeds', {
|
|
184
|
+
processor: 'boolean',
|
|
185
|
+
default: true
|
|
186
|
+
});
|
|
187
|
+
registerOption('media_filter_html', {
|
|
188
|
+
processor: 'boolean',
|
|
189
|
+
default: true
|
|
190
|
+
});
|
|
191
|
+
registerOption('media_url_resolver', { processor: 'function' });
|
|
192
|
+
registerOption('media_alt_source', {
|
|
193
|
+
processor: 'boolean',
|
|
194
|
+
default: true
|
|
195
|
+
});
|
|
196
|
+
registerOption('media_poster', {
|
|
197
|
+
processor: 'boolean',
|
|
198
|
+
default: true
|
|
199
|
+
});
|
|
200
|
+
registerOption('media_dimensions', {
|
|
201
|
+
processor: 'boolean',
|
|
202
|
+
default: true
|
|
203
|
+
});
|
|
204
|
+
};
|
|
205
|
+
const getAudioTemplateCallback = option('audio_template_callback');
|
|
206
|
+
const getVideoTemplateCallback = option('video_template_callback');
|
|
207
|
+
const getIframeTemplateCallback = option('iframe_template_callback');
|
|
208
|
+
const hasLiveEmbeds = option('media_live_embeds');
|
|
209
|
+
const shouldFilterHtml = option('media_filter_html');
|
|
210
|
+
const getUrlResolver = option('media_url_resolver');
|
|
211
|
+
const hasAltSource = option('media_alt_source');
|
|
212
|
+
const hasPoster = option('media_poster');
|
|
213
|
+
const hasDimensions = option('media_dimensions');
|
|
214
|
+
|
|
215
|
+
var global$5 = tinymce.util.Tools.resolve('tinymce.util.Tools');
|
|
216
|
+
|
|
217
|
+
var global$4 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');
|
|
218
|
+
|
|
219
|
+
var global$3 = tinymce.util.Tools.resolve('tinymce.html.DomParser');
|
|
220
|
+
|
|
221
|
+
const DOM$1 = global$4.DOM;
|
|
222
|
+
const trimPx = value => value.replace(/px$/, '');
|
|
223
|
+
const getEphoxEmbedData = node => {
|
|
224
|
+
const style = node.attr('style');
|
|
225
|
+
const styles = style ? DOM$1.parseStyle(style) : {};
|
|
226
|
+
return {
|
|
227
|
+
type: 'ephox-embed-iri',
|
|
228
|
+
source: node.attr('data-ephox-embed-iri'),
|
|
229
|
+
altsource: '',
|
|
230
|
+
poster: '',
|
|
231
|
+
width: get$1(styles, 'max-width').map(trimPx).getOr(''),
|
|
232
|
+
height: get$1(styles, 'max-height').map(trimPx).getOr('')
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
const htmlToData = (html, schema) => {
|
|
236
|
+
let data = {};
|
|
237
|
+
const parser = global$3({
|
|
238
|
+
validate: false,
|
|
239
|
+
forced_root_block: false
|
|
240
|
+
}, schema);
|
|
241
|
+
const rootNode = parser.parse(html);
|
|
242
|
+
for (let node = rootNode; node; node = node.walk()) {
|
|
243
|
+
if (node.type === 1) {
|
|
244
|
+
const name = node.name;
|
|
245
|
+
if (node.attr('data-ephox-embed-iri')) {
|
|
246
|
+
data = getEphoxEmbedData(node);
|
|
247
|
+
break;
|
|
248
|
+
} else {
|
|
249
|
+
if (!data.source && name === 'param') {
|
|
250
|
+
data.source = node.attr('movie');
|
|
251
|
+
}
|
|
252
|
+
if (name === 'iframe' || name === 'object' || name === 'embed' || name === 'video' || name === 'audio') {
|
|
253
|
+
if (!data.type) {
|
|
254
|
+
data.type = name;
|
|
255
|
+
}
|
|
256
|
+
data = global$5.extend(node.attributes.map, data);
|
|
257
|
+
}
|
|
258
|
+
if (name === 'source') {
|
|
259
|
+
if (!data.source) {
|
|
260
|
+
data.source = node.attr('src');
|
|
261
|
+
} else if (!data.altsource) {
|
|
262
|
+
data.altsource = node.attr('src');
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
if (name === 'img' && !data.poster) {
|
|
266
|
+
data.poster = node.attr('src');
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
data.source = data.source || data.src || '';
|
|
272
|
+
data.altsource = data.altsource || '';
|
|
273
|
+
data.poster = data.poster || '';
|
|
274
|
+
return data;
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
const guess = url => {
|
|
278
|
+
var _a;
|
|
279
|
+
const mimes = {
|
|
280
|
+
mp3: 'audio/mpeg',
|
|
281
|
+
m4a: 'audio/x-m4a',
|
|
282
|
+
wav: 'audio/wav',
|
|
283
|
+
mp4: 'video/mp4',
|
|
284
|
+
webm: 'video/webm',
|
|
285
|
+
ogg: 'video/ogg',
|
|
286
|
+
swf: 'application/x-shockwave-flash'
|
|
287
|
+
};
|
|
288
|
+
const fileEnd = (_a = url.toLowerCase().split('.').pop()) !== null && _a !== void 0 ? _a : '';
|
|
289
|
+
return get$1(mimes, fileEnd).getOr('');
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
var global$2 = tinymce.util.Tools.resolve('tinymce.html.Node');
|
|
293
|
+
|
|
294
|
+
var global$1 = tinymce.util.Tools.resolve('tinymce.html.Serializer');
|
|
295
|
+
|
|
296
|
+
const Parser = (schema, settings = {}) => global$3({
|
|
297
|
+
forced_root_block: false,
|
|
298
|
+
validate: false,
|
|
299
|
+
allow_conditional_comments: true,
|
|
300
|
+
...settings
|
|
301
|
+
}, schema);
|
|
302
|
+
|
|
303
|
+
const DOM = global$4.DOM;
|
|
304
|
+
const addPx = value => /^[0-9.]+$/.test(value) ? value + 'px' : value;
|
|
305
|
+
const updateEphoxEmbed = (data, node) => {
|
|
306
|
+
const style = node.attr('style');
|
|
307
|
+
const styleMap = style ? DOM.parseStyle(style) : {};
|
|
308
|
+
if (isNonNullable(data.width)) {
|
|
309
|
+
styleMap['max-width'] = addPx(data.width);
|
|
310
|
+
}
|
|
311
|
+
if (isNonNullable(data.height)) {
|
|
312
|
+
styleMap['max-height'] = addPx(data.height);
|
|
313
|
+
}
|
|
314
|
+
node.attr('style', DOM.serializeStyle(styleMap));
|
|
315
|
+
};
|
|
316
|
+
const sources = [
|
|
317
|
+
'source',
|
|
318
|
+
'altsource'
|
|
319
|
+
];
|
|
320
|
+
const updateHtml = (html, data, updateAll, schema) => {
|
|
321
|
+
let numSources = 0;
|
|
322
|
+
let sourceCount = 0;
|
|
323
|
+
const parser = Parser(schema);
|
|
324
|
+
parser.addNodeFilter('source', nodes => numSources = nodes.length);
|
|
325
|
+
const rootNode = parser.parse(html);
|
|
326
|
+
for (let node = rootNode; node; node = node.walk()) {
|
|
327
|
+
if (node.type === 1) {
|
|
328
|
+
const name = node.name;
|
|
329
|
+
if (node.attr('data-ephox-embed-iri')) {
|
|
330
|
+
updateEphoxEmbed(data, node);
|
|
331
|
+
break;
|
|
332
|
+
} else {
|
|
333
|
+
switch (name) {
|
|
334
|
+
case 'video':
|
|
335
|
+
case 'object':
|
|
336
|
+
case 'embed':
|
|
337
|
+
case 'img':
|
|
338
|
+
case 'iframe':
|
|
339
|
+
if (data.height !== undefined && data.width !== undefined) {
|
|
340
|
+
node.attr('width', data.width);
|
|
341
|
+
node.attr('height', data.height);
|
|
342
|
+
}
|
|
343
|
+
break;
|
|
344
|
+
}
|
|
345
|
+
if (updateAll) {
|
|
346
|
+
switch (name) {
|
|
347
|
+
case 'video':
|
|
348
|
+
node.attr('poster', data.poster);
|
|
349
|
+
node.attr('src', null);
|
|
350
|
+
for (let index = numSources; index < 2; index++) {
|
|
351
|
+
if (data[sources[index]]) {
|
|
352
|
+
const source = new global$2('source', 1);
|
|
353
|
+
source.attr('src', data[sources[index]]);
|
|
354
|
+
source.attr('type', data[sources[index] + 'mime'] || null);
|
|
355
|
+
node.append(source);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
break;
|
|
359
|
+
case 'iframe':
|
|
360
|
+
node.attr('src', data.source);
|
|
361
|
+
break;
|
|
362
|
+
case 'object':
|
|
363
|
+
const hasImage = node.getAll('img').length > 0;
|
|
364
|
+
if (data.poster && !hasImage) {
|
|
365
|
+
node.attr('src', data.poster);
|
|
366
|
+
const img = new global$2('img', 1);
|
|
367
|
+
img.attr('src', data.poster);
|
|
368
|
+
img.attr('width', data.width);
|
|
369
|
+
img.attr('height', data.height);
|
|
370
|
+
node.append(img);
|
|
371
|
+
}
|
|
372
|
+
break;
|
|
373
|
+
case 'source':
|
|
374
|
+
if (sourceCount < 2) {
|
|
375
|
+
node.attr('src', data[sources[sourceCount]]);
|
|
376
|
+
node.attr('type', data[sources[sourceCount] + 'mime'] || null);
|
|
377
|
+
if (!data[sources[sourceCount]]) {
|
|
378
|
+
node.remove();
|
|
379
|
+
continue;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
sourceCount++;
|
|
383
|
+
break;
|
|
384
|
+
case 'img':
|
|
385
|
+
if (!data.poster) {
|
|
386
|
+
node.remove();
|
|
387
|
+
}
|
|
388
|
+
break;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
return global$1({}, schema).serialize(rootNode);
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
const urlPatterns = [
|
|
398
|
+
{
|
|
399
|
+
regex: /youtu\.be\/([\w\-_\?&=.]+)/i,
|
|
400
|
+
type: 'iframe',
|
|
401
|
+
w: 560,
|
|
402
|
+
h: 314,
|
|
403
|
+
url: 'www.youtube.com/embed/$1',
|
|
404
|
+
allowFullscreen: true
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
regex: /youtube\.com(.+)v=([^&]+)(&([a-z0-9&=\-_]+))?/i,
|
|
408
|
+
type: 'iframe',
|
|
409
|
+
w: 560,
|
|
410
|
+
h: 314,
|
|
411
|
+
url: 'www.youtube.com/embed/$2?$4',
|
|
412
|
+
allowFullscreen: true
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
regex: /youtube.com\/embed\/([a-z0-9\?&=\-_]+)/i,
|
|
416
|
+
type: 'iframe',
|
|
417
|
+
w: 560,
|
|
418
|
+
h: 314,
|
|
419
|
+
url: 'www.youtube.com/embed/$1',
|
|
420
|
+
allowFullscreen: true
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
regex: /vimeo\.com\/([0-9]+)\?h=(\w+)/,
|
|
424
|
+
type: 'iframe',
|
|
425
|
+
w: 425,
|
|
426
|
+
h: 350,
|
|
427
|
+
url: 'player.vimeo.com/video/$1?h=$2&title=0&byline=0&portrait=0&color=8dc7dc',
|
|
428
|
+
allowFullscreen: true
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
regex: /vimeo\.com\/(.*)\/([0-9]+)\?h=(\w+)/,
|
|
432
|
+
type: 'iframe',
|
|
433
|
+
w: 425,
|
|
434
|
+
h: 350,
|
|
435
|
+
url: 'player.vimeo.com/video/$2?h=$3&title=0&byline=0',
|
|
436
|
+
allowFullscreen: true
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
regex: /vimeo\.com\/([0-9]+)/,
|
|
440
|
+
type: 'iframe',
|
|
441
|
+
w: 425,
|
|
442
|
+
h: 350,
|
|
443
|
+
url: 'player.vimeo.com/video/$1?title=0&byline=0&portrait=0&color=8dc7dc',
|
|
444
|
+
allowFullscreen: true
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
regex: /vimeo\.com\/(.*)\/([0-9]+)/,
|
|
448
|
+
type: 'iframe',
|
|
449
|
+
w: 425,
|
|
450
|
+
h: 350,
|
|
451
|
+
url: 'player.vimeo.com/video/$2?title=0&byline=0',
|
|
452
|
+
allowFullscreen: true
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
regex: /maps\.google\.([a-z]{2,3})\/maps\/(.+)msid=(.+)/,
|
|
456
|
+
type: 'iframe',
|
|
457
|
+
w: 425,
|
|
458
|
+
h: 350,
|
|
459
|
+
url: 'maps.google.com/maps/ms?msid=$2&output=embed"',
|
|
460
|
+
allowFullscreen: false
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
regex: /dailymotion\.com\/video\/([^_]+)/,
|
|
464
|
+
type: 'iframe',
|
|
465
|
+
w: 480,
|
|
466
|
+
h: 270,
|
|
467
|
+
url: 'www.dailymotion.com/embed/video/$1',
|
|
468
|
+
allowFullscreen: true
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
regex: /dai\.ly\/([^_]+)/,
|
|
472
|
+
type: 'iframe',
|
|
473
|
+
w: 480,
|
|
474
|
+
h: 270,
|
|
475
|
+
url: 'www.dailymotion.com/embed/video/$1',
|
|
476
|
+
allowFullscreen: true
|
|
477
|
+
}
|
|
478
|
+
];
|
|
479
|
+
const getProtocol = url => {
|
|
480
|
+
const protocolMatches = url.match(/^(https?:\/\/|www\.)(.+)$/i);
|
|
481
|
+
if (protocolMatches && protocolMatches.length > 1) {
|
|
482
|
+
return protocolMatches[1] === 'www.' ? 'https://' : protocolMatches[1];
|
|
483
|
+
} else {
|
|
484
|
+
return 'https://';
|
|
485
|
+
}
|
|
486
|
+
};
|
|
487
|
+
const getUrl = (pattern, url) => {
|
|
488
|
+
const protocol = getProtocol(url);
|
|
489
|
+
const match = pattern.regex.exec(url);
|
|
490
|
+
let newUrl = protocol + pattern.url;
|
|
491
|
+
if (isNonNullable(match)) {
|
|
492
|
+
for (let i = 0; i < match.length; i++) {
|
|
493
|
+
newUrl = newUrl.replace('$' + i, () => match[i] ? match[i] : '');
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
return newUrl.replace(/\?$/, '');
|
|
497
|
+
};
|
|
498
|
+
const matchPattern = url => {
|
|
499
|
+
const patterns = urlPatterns.filter(pattern => pattern.regex.test(url));
|
|
500
|
+
if (patterns.length > 0) {
|
|
501
|
+
return global$5.extend({}, patterns[0], { url: getUrl(patterns[0], url) });
|
|
502
|
+
} else {
|
|
503
|
+
return null;
|
|
504
|
+
}
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
const getIframeHtml = (data, iframeTemplateCallback) => {
|
|
508
|
+
if (iframeTemplateCallback) {
|
|
509
|
+
return iframeTemplateCallback(data);
|
|
510
|
+
} else {
|
|
511
|
+
const allowFullscreen = data.allowfullscreen ? ' allowFullscreen="1"' : '';
|
|
512
|
+
return '<iframe src="' + data.source + '" width="' + data.width + '" height="' + data.height + '"' + allowFullscreen + '></iframe>';
|
|
513
|
+
}
|
|
514
|
+
};
|
|
515
|
+
const getFlashHtml = data => {
|
|
516
|
+
let html = '<object data="' + data.source + '" width="' + data.width + '" height="' + data.height + '" type="application/x-shockwave-flash">';
|
|
517
|
+
if (data.poster) {
|
|
518
|
+
html += '<img src="' + data.poster + '" width="' + data.width + '" height="' + data.height + '" />';
|
|
519
|
+
}
|
|
520
|
+
html += '</object>';
|
|
521
|
+
return html;
|
|
522
|
+
};
|
|
523
|
+
const getAudioHtml = (data, audioTemplateCallback) => {
|
|
524
|
+
if (audioTemplateCallback) {
|
|
525
|
+
return audioTemplateCallback(data);
|
|
526
|
+
} else {
|
|
527
|
+
return '<audio controls="controls" src="' + data.source + '">' + (data.altsource ? '\n<source src="' + data.altsource + '"' + (data.altsourcemime ? ' type="' + data.altsourcemime + '"' : '') + ' />\n' : '') + '</audio>';
|
|
528
|
+
}
|
|
529
|
+
};
|
|
530
|
+
const getVideoHtml = (data, videoTemplateCallback) => {
|
|
531
|
+
if (videoTemplateCallback) {
|
|
532
|
+
return videoTemplateCallback(data);
|
|
533
|
+
} else {
|
|
534
|
+
return '<video width="' + data.width + '" height="' + data.height + '"' + (data.poster ? ' poster="' + data.poster + '"' : '') + ' controls="controls">\n' + '<source src="' + data.source + '"' + (data.sourcemime ? ' type="' + data.sourcemime + '"' : '') + ' />\n' + (data.altsource ? '<source src="' + data.altsource + '"' + (data.altsourcemime ? ' type="' + data.altsourcemime + '"' : '') + ' />\n' : '') + '</video>';
|
|
535
|
+
}
|
|
536
|
+
};
|
|
537
|
+
const dataToHtml = (editor, dataIn) => {
|
|
538
|
+
var _a;
|
|
539
|
+
const data = global$5.extend({}, dataIn);
|
|
540
|
+
if (!data.source) {
|
|
541
|
+
global$5.extend(data, htmlToData((_a = data.embed) !== null && _a !== void 0 ? _a : '', editor.schema));
|
|
542
|
+
if (!data.source) {
|
|
543
|
+
return '';
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
if (!data.altsource) {
|
|
547
|
+
data.altsource = '';
|
|
548
|
+
}
|
|
549
|
+
if (!data.poster) {
|
|
550
|
+
data.poster = '';
|
|
551
|
+
}
|
|
552
|
+
data.source = editor.convertURL(data.source, 'source');
|
|
553
|
+
data.altsource = editor.convertURL(data.altsource, 'source');
|
|
554
|
+
data.sourcemime = guess(data.source);
|
|
555
|
+
data.altsourcemime = guess(data.altsource);
|
|
556
|
+
data.poster = editor.convertURL(data.poster, 'poster');
|
|
557
|
+
const pattern = matchPattern(data.source);
|
|
558
|
+
if (pattern) {
|
|
559
|
+
data.source = pattern.url;
|
|
560
|
+
data.type = pattern.type;
|
|
561
|
+
data.allowfullscreen = pattern.allowFullscreen;
|
|
562
|
+
data.width = data.width || String(pattern.w);
|
|
563
|
+
data.height = data.height || String(pattern.h);
|
|
564
|
+
}
|
|
565
|
+
if (data.embed) {
|
|
566
|
+
return updateHtml(data.embed, data, true, editor.schema);
|
|
567
|
+
} else {
|
|
568
|
+
const audioTemplateCallback = getAudioTemplateCallback(editor);
|
|
569
|
+
const videoTemplateCallback = getVideoTemplateCallback(editor);
|
|
570
|
+
const iframeTemplateCallback = getIframeTemplateCallback(editor);
|
|
571
|
+
data.width = data.width || '300';
|
|
572
|
+
data.height = data.height || '150';
|
|
573
|
+
global$5.each(data, (value, key) => {
|
|
574
|
+
data[key] = editor.dom.encode('' + value);
|
|
575
|
+
});
|
|
576
|
+
if (data.type === 'iframe') {
|
|
577
|
+
return getIframeHtml(data, iframeTemplateCallback);
|
|
578
|
+
} else if (data.sourcemime === 'application/x-shockwave-flash') {
|
|
579
|
+
return getFlashHtml(data);
|
|
580
|
+
} else if (data.sourcemime.indexOf('audio') !== -1) {
|
|
581
|
+
return getAudioHtml(data, audioTemplateCallback);
|
|
582
|
+
} else {
|
|
583
|
+
return getVideoHtml(data, videoTemplateCallback);
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
const isMediaElement = element => element.hasAttribute('data-mce-object') || element.hasAttribute('data-ephox-embed-iri');
|
|
589
|
+
const setup$2 = editor => {
|
|
590
|
+
editor.on('click keyup touchend', () => {
|
|
591
|
+
const selectedNode = editor.selection.getNode();
|
|
592
|
+
if (selectedNode && editor.dom.hasClass(selectedNode, 'mce-preview-object')) {
|
|
593
|
+
if (editor.dom.getAttrib(selectedNode, 'data-mce-selected')) {
|
|
594
|
+
selectedNode.setAttribute('data-mce-selected', '2');
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
});
|
|
598
|
+
editor.on('ObjectResized', e => {
|
|
599
|
+
const target = e.target;
|
|
600
|
+
if (target.getAttribute('data-mce-object')) {
|
|
601
|
+
let html = target.getAttribute('data-mce-html');
|
|
602
|
+
if (html) {
|
|
603
|
+
html = unescape(html);
|
|
604
|
+
target.setAttribute('data-mce-html', escape(updateHtml(html, {
|
|
605
|
+
width: String(e.width),
|
|
606
|
+
height: String(e.height)
|
|
607
|
+
}, false, editor.schema)));
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
});
|
|
611
|
+
};
|
|
612
|
+
|
|
613
|
+
const cache = {};
|
|
614
|
+
const embedPromise = (data, dataToHtml, handler) => {
|
|
615
|
+
return new Promise((res, rej) => {
|
|
616
|
+
const wrappedResolve = response => {
|
|
617
|
+
if (response.html) {
|
|
618
|
+
cache[data.source] = response;
|
|
619
|
+
}
|
|
620
|
+
return res({
|
|
621
|
+
url: data.source,
|
|
622
|
+
html: response.html ? response.html : dataToHtml(data)
|
|
623
|
+
});
|
|
624
|
+
};
|
|
625
|
+
if (cache[data.source]) {
|
|
626
|
+
wrappedResolve(cache[data.source]);
|
|
627
|
+
} else {
|
|
628
|
+
handler({ url: data.source }, wrappedResolve, rej);
|
|
629
|
+
}
|
|
630
|
+
});
|
|
631
|
+
};
|
|
632
|
+
const defaultPromise = (data, dataToHtml) => Promise.resolve({
|
|
633
|
+
html: dataToHtml(data),
|
|
634
|
+
url: data.source
|
|
635
|
+
});
|
|
636
|
+
const loadedData = editor => data => dataToHtml(editor, data);
|
|
637
|
+
const getEmbedHtml = (editor, data) => {
|
|
638
|
+
const embedHandler = getUrlResolver(editor);
|
|
639
|
+
return embedHandler ? embedPromise(data, loadedData(editor), embedHandler) : defaultPromise(data, loadedData(editor));
|
|
640
|
+
};
|
|
641
|
+
const isCached = url => has(cache, url);
|
|
642
|
+
|
|
643
|
+
const extractMeta = (sourceInput, data) => get$1(data, sourceInput).bind(mainData => get$1(mainData, 'meta'));
|
|
644
|
+
const getValue = (data, metaData, sourceInput) => prop => {
|
|
645
|
+
const getFromData = () => get$1(data, prop);
|
|
646
|
+
const getFromMetaData = () => get$1(metaData, prop);
|
|
647
|
+
const getNonEmptyValue = c => get$1(c, 'value').bind(v => v.length > 0 ? Optional.some(v) : Optional.none());
|
|
648
|
+
const getFromValueFirst = () => getFromData().bind(child => isObject(child) ? getNonEmptyValue(child).orThunk(getFromMetaData) : getFromMetaData().orThunk(() => Optional.from(child)));
|
|
649
|
+
const getFromMetaFirst = () => getFromMetaData().orThunk(() => getFromData().bind(child => isObject(child) ? getNonEmptyValue(child) : Optional.from(child)));
|
|
650
|
+
return { [prop]: (prop === sourceInput ? getFromValueFirst() : getFromMetaFirst()).getOr('') };
|
|
651
|
+
};
|
|
652
|
+
const getDimensions = (data, metaData) => {
|
|
653
|
+
const dimensions = {};
|
|
654
|
+
get$1(data, 'dimensions').each(dims => {
|
|
655
|
+
each$1([
|
|
656
|
+
'width',
|
|
657
|
+
'height'
|
|
658
|
+
], prop => {
|
|
659
|
+
get$1(metaData, prop).orThunk(() => get$1(dims, prop)).each(value => dimensions[prop] = value);
|
|
660
|
+
});
|
|
661
|
+
});
|
|
662
|
+
return dimensions;
|
|
663
|
+
};
|
|
664
|
+
const unwrap = (data, sourceInput) => {
|
|
665
|
+
const metaData = sourceInput && sourceInput !== 'dimensions' ? extractMeta(sourceInput, data).getOr({}) : {};
|
|
666
|
+
const get = getValue(data, metaData, sourceInput);
|
|
667
|
+
return {
|
|
668
|
+
...get('source'),
|
|
669
|
+
...get('altsource'),
|
|
670
|
+
...get('poster'),
|
|
671
|
+
...get('embed'),
|
|
672
|
+
...getDimensions(data, metaData)
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
const wrap = data => {
|
|
676
|
+
const wrapped = {
|
|
677
|
+
...data,
|
|
678
|
+
source: { value: get$1(data, 'source').getOr('') },
|
|
679
|
+
altsource: { value: get$1(data, 'altsource').getOr('') },
|
|
680
|
+
poster: { value: get$1(data, 'poster').getOr('') }
|
|
681
|
+
};
|
|
682
|
+
each$1([
|
|
683
|
+
'width',
|
|
684
|
+
'height'
|
|
685
|
+
], prop => {
|
|
686
|
+
get$1(data, prop).each(value => {
|
|
687
|
+
const dimensions = wrapped.dimensions || {};
|
|
688
|
+
dimensions[prop] = value;
|
|
689
|
+
wrapped.dimensions = dimensions;
|
|
690
|
+
});
|
|
691
|
+
});
|
|
692
|
+
return wrapped;
|
|
693
|
+
};
|
|
694
|
+
const handleError = editor => error => {
|
|
695
|
+
const errorMessage = error && error.msg ? 'Media embed handler error: ' + error.msg : 'Media embed handler threw unknown error.';
|
|
696
|
+
editor.notificationManager.open({
|
|
697
|
+
type: 'error',
|
|
698
|
+
text: errorMessage
|
|
699
|
+
});
|
|
700
|
+
};
|
|
701
|
+
const getEditorData = editor => {
|
|
702
|
+
const element = editor.selection.getNode();
|
|
703
|
+
const snippet = isMediaElement(element) ? editor.serializer.serialize(element, { selection: true }) : '';
|
|
704
|
+
const data = htmlToData(snippet, editor.schema);
|
|
705
|
+
const getDimensionsOfElement = () => {
|
|
706
|
+
if (isEmbedIframe(data.source, data.type)) {
|
|
707
|
+
const rect = editor.dom.getRect(element);
|
|
708
|
+
return {
|
|
709
|
+
width: rect.w.toString().replace(/px$/, ''),
|
|
710
|
+
height: rect.h.toString().replace(/px$/, '')
|
|
711
|
+
};
|
|
712
|
+
} else {
|
|
713
|
+
return {};
|
|
714
|
+
}
|
|
715
|
+
};
|
|
716
|
+
const dimensions = getDimensionsOfElement();
|
|
717
|
+
return {
|
|
718
|
+
embed: snippet,
|
|
719
|
+
...data,
|
|
720
|
+
...dimensions
|
|
721
|
+
};
|
|
722
|
+
};
|
|
723
|
+
const addEmbedHtml = (api, editor) => response => {
|
|
724
|
+
if (isString(response.url) && response.url.trim().length > 0) {
|
|
725
|
+
const html = response.html;
|
|
726
|
+
const snippetData = htmlToData(html, editor.schema);
|
|
727
|
+
const nuData = {
|
|
728
|
+
...snippetData,
|
|
729
|
+
source: response.url,
|
|
730
|
+
embed: html
|
|
731
|
+
};
|
|
732
|
+
api.setData(wrap(nuData));
|
|
733
|
+
}
|
|
734
|
+
};
|
|
735
|
+
const selectPlaceholder = (editor, beforeObjects) => {
|
|
736
|
+
const afterObjects = editor.dom.select('*[data-mce-object]');
|
|
737
|
+
for (let i = 0; i < beforeObjects.length; i++) {
|
|
738
|
+
for (let y = afterObjects.length - 1; y >= 0; y--) {
|
|
739
|
+
if (beforeObjects[i] === afterObjects[y]) {
|
|
740
|
+
afterObjects.splice(y, 1);
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
editor.selection.select(afterObjects[0]);
|
|
745
|
+
};
|
|
746
|
+
const handleInsert = (editor, html) => {
|
|
747
|
+
const beforeObjects = editor.dom.select('*[data-mce-object]');
|
|
748
|
+
editor.insertContent(html);
|
|
749
|
+
selectPlaceholder(editor, beforeObjects);
|
|
750
|
+
editor.nodeChanged();
|
|
751
|
+
};
|
|
752
|
+
const isEmbedIframe = (url, mediaDataType) => isNonNullable(mediaDataType) && mediaDataType === 'ephox-embed-iri' && isNonNullable(matchPattern(url));
|
|
753
|
+
const shouldInsertAsNewIframe = (prevData, newData) => {
|
|
754
|
+
const hasDimensionsChanged = (prevData, newData) => prevData.width !== newData.width || prevData.height !== newData.height;
|
|
755
|
+
return hasDimensionsChanged(prevData, newData) && isEmbedIframe(newData.source, prevData.type);
|
|
756
|
+
};
|
|
757
|
+
const submitForm = (prevData, newData, editor) => {
|
|
758
|
+
var _a;
|
|
759
|
+
newData.embed = shouldInsertAsNewIframe(prevData, newData) && hasDimensions(editor) ? dataToHtml(editor, {
|
|
760
|
+
...newData,
|
|
761
|
+
embed: ''
|
|
762
|
+
}) : updateHtml((_a = newData.embed) !== null && _a !== void 0 ? _a : '', newData, false, editor.schema);
|
|
763
|
+
if (newData.embed && (prevData.source === newData.source || isCached(newData.source))) {
|
|
764
|
+
handleInsert(editor, newData.embed);
|
|
765
|
+
} else {
|
|
766
|
+
getEmbedHtml(editor, newData).then(response => {
|
|
767
|
+
handleInsert(editor, response.html);
|
|
768
|
+
}).catch(handleError(editor));
|
|
769
|
+
}
|
|
770
|
+
};
|
|
771
|
+
const showDialog = editor => {
|
|
772
|
+
const editorData = getEditorData(editor);
|
|
773
|
+
const currentData = Cell(editorData);
|
|
774
|
+
const initialData = wrap(editorData);
|
|
775
|
+
const handleSource = (prevData, api) => {
|
|
776
|
+
const serviceData = unwrap(api.getData(), 'source');
|
|
777
|
+
if (prevData.source !== serviceData.source) {
|
|
778
|
+
addEmbedHtml(win, editor)({
|
|
779
|
+
url: serviceData.source,
|
|
780
|
+
html: ''
|
|
781
|
+
});
|
|
782
|
+
getEmbedHtml(editor, serviceData).then(addEmbedHtml(win, editor)).catch(handleError(editor));
|
|
783
|
+
}
|
|
784
|
+
};
|
|
785
|
+
const handleEmbed = api => {
|
|
786
|
+
var _a;
|
|
787
|
+
const data = unwrap(api.getData());
|
|
788
|
+
const dataFromEmbed = htmlToData((_a = data.embed) !== null && _a !== void 0 ? _a : '', editor.schema);
|
|
789
|
+
api.setData(wrap(dataFromEmbed));
|
|
790
|
+
};
|
|
791
|
+
const handleUpdate = (api, sourceInput, prevData) => {
|
|
792
|
+
const dialogData = unwrap(api.getData(), sourceInput);
|
|
793
|
+
const data = shouldInsertAsNewIframe(prevData, dialogData) && hasDimensions(editor) ? {
|
|
794
|
+
...dialogData,
|
|
795
|
+
embed: ''
|
|
796
|
+
} : dialogData;
|
|
797
|
+
const embed = dataToHtml(editor, data);
|
|
798
|
+
api.setData(wrap({
|
|
799
|
+
...data,
|
|
800
|
+
embed
|
|
801
|
+
}));
|
|
802
|
+
};
|
|
803
|
+
const mediaInput = [{
|
|
804
|
+
name: 'source',
|
|
805
|
+
type: 'urlinput',
|
|
806
|
+
filetype: 'media',
|
|
807
|
+
label: 'Source',
|
|
808
|
+
picker_text: 'Browse files'
|
|
809
|
+
}];
|
|
810
|
+
const sizeInput = !hasDimensions(editor) ? [] : [{
|
|
811
|
+
type: 'sizeinput',
|
|
812
|
+
name: 'dimensions',
|
|
813
|
+
label: 'Constrain proportions',
|
|
814
|
+
constrain: true
|
|
815
|
+
}];
|
|
816
|
+
const generalTab = {
|
|
817
|
+
title: 'General',
|
|
818
|
+
name: 'general',
|
|
819
|
+
items: flatten([
|
|
820
|
+
mediaInput,
|
|
821
|
+
sizeInput
|
|
822
|
+
])
|
|
823
|
+
};
|
|
824
|
+
const embedTextarea = {
|
|
825
|
+
type: 'textarea',
|
|
826
|
+
name: 'embed',
|
|
827
|
+
label: 'Paste your embed code below:'
|
|
828
|
+
};
|
|
829
|
+
const embedTab = {
|
|
830
|
+
title: 'Embed',
|
|
831
|
+
items: [embedTextarea]
|
|
832
|
+
};
|
|
833
|
+
const advancedFormItems = [];
|
|
834
|
+
if (hasAltSource(editor)) {
|
|
835
|
+
advancedFormItems.push({
|
|
836
|
+
name: 'altsource',
|
|
837
|
+
type: 'urlinput',
|
|
838
|
+
filetype: 'media',
|
|
839
|
+
label: 'Alternative source URL'
|
|
840
|
+
});
|
|
841
|
+
}
|
|
842
|
+
if (hasPoster(editor)) {
|
|
843
|
+
advancedFormItems.push({
|
|
844
|
+
name: 'poster',
|
|
845
|
+
type: 'urlinput',
|
|
846
|
+
filetype: 'image',
|
|
847
|
+
label: 'Media poster (Image URL)'
|
|
848
|
+
});
|
|
849
|
+
}
|
|
850
|
+
const advancedTab = {
|
|
851
|
+
title: 'Advanced',
|
|
852
|
+
name: 'advanced',
|
|
853
|
+
items: advancedFormItems
|
|
854
|
+
};
|
|
855
|
+
const tabs = [
|
|
856
|
+
generalTab,
|
|
857
|
+
embedTab
|
|
858
|
+
];
|
|
859
|
+
if (advancedFormItems.length > 0) {
|
|
860
|
+
tabs.push(advancedTab);
|
|
861
|
+
}
|
|
862
|
+
const body = {
|
|
863
|
+
type: 'tabpanel',
|
|
864
|
+
tabs
|
|
865
|
+
};
|
|
866
|
+
const win = editor.windowManager.open({
|
|
867
|
+
title: 'Insert/Edit Media',
|
|
868
|
+
size: 'normal',
|
|
869
|
+
body,
|
|
870
|
+
buttons: [
|
|
871
|
+
{
|
|
872
|
+
type: 'cancel',
|
|
873
|
+
name: 'cancel',
|
|
874
|
+
text: 'Cancel'
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
type: 'submit',
|
|
878
|
+
name: 'save',
|
|
879
|
+
text: 'Save',
|
|
880
|
+
primary: true
|
|
881
|
+
}
|
|
882
|
+
],
|
|
883
|
+
onSubmit: api => {
|
|
884
|
+
const serviceData = unwrap(api.getData());
|
|
885
|
+
submitForm(currentData.get(), serviceData, editor);
|
|
886
|
+
api.close();
|
|
887
|
+
},
|
|
888
|
+
onChange: (api, detail) => {
|
|
889
|
+
switch (detail.name) {
|
|
890
|
+
case 'source':
|
|
891
|
+
handleSource(currentData.get(), api);
|
|
892
|
+
break;
|
|
893
|
+
case 'embed':
|
|
894
|
+
handleEmbed(api);
|
|
895
|
+
break;
|
|
896
|
+
case 'dimensions':
|
|
897
|
+
case 'altsource':
|
|
898
|
+
case 'poster':
|
|
899
|
+
handleUpdate(api, detail.name, currentData.get());
|
|
900
|
+
break;
|
|
901
|
+
}
|
|
902
|
+
currentData.set(unwrap(api.getData()));
|
|
903
|
+
},
|
|
904
|
+
initialData
|
|
905
|
+
});
|
|
906
|
+
};
|
|
907
|
+
|
|
908
|
+
const get = editor => {
|
|
909
|
+
const showDialog$1 = () => {
|
|
910
|
+
showDialog(editor);
|
|
911
|
+
};
|
|
912
|
+
return { showDialog: showDialog$1 };
|
|
913
|
+
};
|
|
914
|
+
|
|
915
|
+
const register$1 = editor => {
|
|
916
|
+
const showDialog$1 = () => {
|
|
917
|
+
showDialog(editor);
|
|
918
|
+
};
|
|
919
|
+
editor.addCommand('mceMedia', showDialog$1);
|
|
920
|
+
};
|
|
921
|
+
|
|
922
|
+
const checkRange = (str, substr, start) => substr === '' || str.length >= substr.length && str.substr(start, start + substr.length) === substr;
|
|
923
|
+
const startsWith = (str, prefix) => {
|
|
924
|
+
return checkRange(str, prefix, 0);
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
var global = tinymce.util.Tools.resolve('tinymce.Env');
|
|
928
|
+
|
|
929
|
+
const isLiveEmbedNode = node => {
|
|
930
|
+
const name = node.name;
|
|
931
|
+
return name === 'iframe' || name === 'video' || name === 'audio';
|
|
932
|
+
};
|
|
933
|
+
const getDimension = (node, styles, dimension, defaultValue = null) => {
|
|
934
|
+
const value = node.attr(dimension);
|
|
935
|
+
if (isNonNullable(value)) {
|
|
936
|
+
return value;
|
|
937
|
+
} else if (!has(styles, dimension)) {
|
|
938
|
+
return defaultValue;
|
|
939
|
+
} else {
|
|
940
|
+
return null;
|
|
941
|
+
}
|
|
942
|
+
};
|
|
943
|
+
const setDimensions = (node, previewNode, styles) => {
|
|
944
|
+
const useDefaults = previewNode.name === 'img' || node.name === 'video';
|
|
945
|
+
const defaultWidth = useDefaults ? '300' : null;
|
|
946
|
+
const fallbackHeight = node.name === 'audio' ? '30' : '150';
|
|
947
|
+
const defaultHeight = useDefaults ? fallbackHeight : null;
|
|
948
|
+
previewNode.attr({
|
|
949
|
+
width: getDimension(node, styles, 'width', defaultWidth),
|
|
950
|
+
height: getDimension(node, styles, 'height', defaultHeight)
|
|
951
|
+
});
|
|
952
|
+
};
|
|
953
|
+
const appendNodeContent = (editor, nodeName, previewNode, html) => {
|
|
954
|
+
const newNode = Parser(editor.schema).parse(html, { context: nodeName });
|
|
955
|
+
while (newNode.firstChild) {
|
|
956
|
+
previewNode.append(newNode.firstChild);
|
|
957
|
+
}
|
|
958
|
+
};
|
|
959
|
+
const createPlaceholderNode = (editor, node) => {
|
|
960
|
+
const name = node.name;
|
|
961
|
+
const placeHolder = new global$2('img', 1);
|
|
962
|
+
retainAttributesAndInnerHtml(editor, node, placeHolder);
|
|
963
|
+
setDimensions(node, placeHolder, {});
|
|
964
|
+
placeHolder.attr({
|
|
965
|
+
'style': node.attr('style'),
|
|
966
|
+
'src': global.transparentSrc,
|
|
967
|
+
'data-mce-object': name,
|
|
968
|
+
'class': 'mce-object mce-object-' + name
|
|
969
|
+
});
|
|
970
|
+
return placeHolder;
|
|
971
|
+
};
|
|
972
|
+
const createPreviewNode = (editor, node) => {
|
|
973
|
+
var _a;
|
|
974
|
+
const name = node.name;
|
|
975
|
+
const previewWrapper = new global$2('span', 1);
|
|
976
|
+
previewWrapper.attr({
|
|
977
|
+
'contentEditable': 'false',
|
|
978
|
+
'style': node.attr('style'),
|
|
979
|
+
'data-mce-object': name,
|
|
980
|
+
'class': 'mce-preview-object mce-object-' + name
|
|
981
|
+
});
|
|
982
|
+
retainAttributesAndInnerHtml(editor, node, previewWrapper);
|
|
983
|
+
const styles = editor.dom.parseStyle((_a = node.attr('style')) !== null && _a !== void 0 ? _a : '');
|
|
984
|
+
const previewNode = new global$2(name, 1);
|
|
985
|
+
setDimensions(node, previewNode, styles);
|
|
986
|
+
previewNode.attr({
|
|
987
|
+
src: node.attr('src'),
|
|
988
|
+
style: node.attr('style'),
|
|
989
|
+
class: node.attr('class')
|
|
990
|
+
});
|
|
991
|
+
if (name === 'iframe') {
|
|
992
|
+
previewNode.attr({
|
|
993
|
+
allowfullscreen: node.attr('allowfullscreen'),
|
|
994
|
+
frameborder: '0',
|
|
995
|
+
sandbox: node.attr('sandbox')
|
|
996
|
+
});
|
|
997
|
+
} else {
|
|
998
|
+
const attrs = [
|
|
999
|
+
'controls',
|
|
1000
|
+
'crossorigin',
|
|
1001
|
+
'currentTime',
|
|
1002
|
+
'loop',
|
|
1003
|
+
'muted',
|
|
1004
|
+
'poster',
|
|
1005
|
+
'preload'
|
|
1006
|
+
];
|
|
1007
|
+
each$1(attrs, attrName => {
|
|
1008
|
+
previewNode.attr(attrName, node.attr(attrName));
|
|
1009
|
+
});
|
|
1010
|
+
const sanitizedHtml = previewWrapper.attr('data-mce-html');
|
|
1011
|
+
if (isNonNullable(sanitizedHtml)) {
|
|
1012
|
+
appendNodeContent(editor, name, previewNode, unescape(sanitizedHtml));
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
const shimNode = new global$2('span', 1);
|
|
1016
|
+
shimNode.attr('class', 'mce-shim');
|
|
1017
|
+
previewWrapper.append(previewNode);
|
|
1018
|
+
previewWrapper.append(shimNode);
|
|
1019
|
+
return previewWrapper;
|
|
1020
|
+
};
|
|
1021
|
+
const retainAttributesAndInnerHtml = (editor, sourceNode, targetNode) => {
|
|
1022
|
+
var _a;
|
|
1023
|
+
const attribs = (_a = sourceNode.attributes) !== null && _a !== void 0 ? _a : [];
|
|
1024
|
+
let ai = attribs.length;
|
|
1025
|
+
while (ai--) {
|
|
1026
|
+
const attrName = attribs[ai].name;
|
|
1027
|
+
let attrValue = attribs[ai].value;
|
|
1028
|
+
if (attrName !== 'width' && attrName !== 'height' && attrName !== 'style' && !startsWith(attrName, 'data-mce-')) {
|
|
1029
|
+
if (attrName === 'data' || attrName === 'src') {
|
|
1030
|
+
attrValue = editor.convertURL(attrValue, attrName);
|
|
1031
|
+
}
|
|
1032
|
+
targetNode.attr('data-mce-p-' + attrName, attrValue);
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
const serializer = global$1({ inner: true }, editor.schema);
|
|
1036
|
+
const tempNode = new global$2('div', 1);
|
|
1037
|
+
each$1(sourceNode.children(), child => tempNode.append(child));
|
|
1038
|
+
const innerHtml = serializer.serialize(tempNode);
|
|
1039
|
+
if (innerHtml) {
|
|
1040
|
+
targetNode.attr('data-mce-html', escape(innerHtml));
|
|
1041
|
+
targetNode.empty();
|
|
1042
|
+
}
|
|
1043
|
+
};
|
|
1044
|
+
const isPageEmbedWrapper = node => {
|
|
1045
|
+
const nodeClass = node.attr('class');
|
|
1046
|
+
return isString(nodeClass) && /\btiny-pageembed\b/.test(nodeClass);
|
|
1047
|
+
};
|
|
1048
|
+
const isWithinEmbedWrapper = node => {
|
|
1049
|
+
let tempNode = node;
|
|
1050
|
+
while (tempNode = tempNode.parent) {
|
|
1051
|
+
if (tempNode.attr('data-ephox-embed-iri') || isPageEmbedWrapper(tempNode)) {
|
|
1052
|
+
return true;
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
return false;
|
|
1056
|
+
};
|
|
1057
|
+
const placeHolderConverter = editor => nodes => {
|
|
1058
|
+
let i = nodes.length;
|
|
1059
|
+
let node;
|
|
1060
|
+
while (i--) {
|
|
1061
|
+
node = nodes[i];
|
|
1062
|
+
if (!node.parent) {
|
|
1063
|
+
continue;
|
|
1064
|
+
}
|
|
1065
|
+
if (node.parent.attr('data-mce-object')) {
|
|
1066
|
+
continue;
|
|
1067
|
+
}
|
|
1068
|
+
if (isLiveEmbedNode(node) && hasLiveEmbeds(editor)) {
|
|
1069
|
+
if (!isWithinEmbedWrapper(node)) {
|
|
1070
|
+
node.replace(createPreviewNode(editor, node));
|
|
1071
|
+
}
|
|
1072
|
+
} else {
|
|
1073
|
+
if (!isWithinEmbedWrapper(node)) {
|
|
1074
|
+
node.replace(createPlaceholderNode(editor, node));
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
};
|
|
1079
|
+
|
|
1080
|
+
const parseAndSanitize = (editor, context, html) => {
|
|
1081
|
+
const getEditorOption = editor.options.get;
|
|
1082
|
+
const sanitize = getEditorOption('xss_sanitization');
|
|
1083
|
+
const validate = shouldFilterHtml(editor);
|
|
1084
|
+
return Parser(editor.schema, {
|
|
1085
|
+
sanitize,
|
|
1086
|
+
validate
|
|
1087
|
+
}).parse(html, { context });
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
const setup$1 = editor => {
|
|
1091
|
+
editor.on('PreInit', () => {
|
|
1092
|
+
const {schema, serializer, parser} = editor;
|
|
1093
|
+
const boolAttrs = schema.getBoolAttrs();
|
|
1094
|
+
each$1('webkitallowfullscreen mozallowfullscreen'.split(' '), name => {
|
|
1095
|
+
boolAttrs[name] = {};
|
|
1096
|
+
});
|
|
1097
|
+
each({ embed: ['wmode'] }, (attrs, name) => {
|
|
1098
|
+
const rule = schema.getElementRule(name);
|
|
1099
|
+
if (rule) {
|
|
1100
|
+
each$1(attrs, attr => {
|
|
1101
|
+
rule.attributes[attr] = {};
|
|
1102
|
+
rule.attributesOrder.push(attr);
|
|
1103
|
+
});
|
|
1104
|
+
}
|
|
1105
|
+
});
|
|
1106
|
+
parser.addNodeFilter('iframe,video,audio,object,embed', placeHolderConverter(editor));
|
|
1107
|
+
serializer.addAttributeFilter('data-mce-object', (nodes, name) => {
|
|
1108
|
+
var _a;
|
|
1109
|
+
let i = nodes.length;
|
|
1110
|
+
while (i--) {
|
|
1111
|
+
const node = nodes[i];
|
|
1112
|
+
if (!node.parent) {
|
|
1113
|
+
continue;
|
|
1114
|
+
}
|
|
1115
|
+
const realElmName = node.attr(name);
|
|
1116
|
+
const realElm = new global$2(realElmName, 1);
|
|
1117
|
+
if (realElmName !== 'audio') {
|
|
1118
|
+
const className = node.attr('class');
|
|
1119
|
+
if (className && className.indexOf('mce-preview-object') !== -1 && node.firstChild) {
|
|
1120
|
+
realElm.attr({
|
|
1121
|
+
width: node.firstChild.attr('width'),
|
|
1122
|
+
height: node.firstChild.attr('height')
|
|
1123
|
+
});
|
|
1124
|
+
} else {
|
|
1125
|
+
realElm.attr({
|
|
1126
|
+
width: node.attr('width'),
|
|
1127
|
+
height: node.attr('height')
|
|
1128
|
+
});
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
realElm.attr({ style: node.attr('style') });
|
|
1132
|
+
const attribs = (_a = node.attributes) !== null && _a !== void 0 ? _a : [];
|
|
1133
|
+
let ai = attribs.length;
|
|
1134
|
+
while (ai--) {
|
|
1135
|
+
const attrName = attribs[ai].name;
|
|
1136
|
+
if (attrName.indexOf('data-mce-p-') === 0) {
|
|
1137
|
+
realElm.attr(attrName.substr(11), attribs[ai].value);
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
const innerHtml = node.attr('data-mce-html');
|
|
1141
|
+
if (innerHtml) {
|
|
1142
|
+
const fragment = parseAndSanitize(editor, realElmName, unescape(innerHtml));
|
|
1143
|
+
each$1(fragment.children(), child => realElm.append(child));
|
|
1144
|
+
}
|
|
1145
|
+
node.replace(realElm);
|
|
1146
|
+
}
|
|
1147
|
+
});
|
|
1148
|
+
});
|
|
1149
|
+
editor.on('SetContent', () => {
|
|
1150
|
+
const dom = editor.dom;
|
|
1151
|
+
each$1(dom.select('span.mce-preview-object'), elm => {
|
|
1152
|
+
if (dom.select('span.mce-shim', elm).length === 0) {
|
|
1153
|
+
dom.add(elm, 'span', { class: 'mce-shim' });
|
|
1154
|
+
}
|
|
1155
|
+
});
|
|
1156
|
+
});
|
|
1157
|
+
};
|
|
1158
|
+
|
|
1159
|
+
const setup = editor => {
|
|
1160
|
+
editor.on('ResolveName', e => {
|
|
1161
|
+
let name;
|
|
1162
|
+
if (e.target.nodeType === 1 && (name = e.target.getAttribute('data-mce-object'))) {
|
|
1163
|
+
e.name = name;
|
|
1164
|
+
}
|
|
1165
|
+
});
|
|
1166
|
+
};
|
|
1167
|
+
|
|
1168
|
+
const onSetupEditable = editor => api => {
|
|
1169
|
+
const nodeChanged = () => {
|
|
1170
|
+
api.setEnabled(editor.selection.isEditable());
|
|
1171
|
+
};
|
|
1172
|
+
editor.on('NodeChange', nodeChanged);
|
|
1173
|
+
nodeChanged();
|
|
1174
|
+
return () => {
|
|
1175
|
+
editor.off('NodeChange', nodeChanged);
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
const register = editor => {
|
|
1179
|
+
const onAction = () => editor.execCommand('mceMedia');
|
|
1180
|
+
editor.ui.registry.addToggleButton('media', {
|
|
1181
|
+
tooltip: 'Insert/edit media',
|
|
1182
|
+
icon: 'embed',
|
|
1183
|
+
onAction,
|
|
1184
|
+
onSetup: buttonApi => {
|
|
1185
|
+
const selection = editor.selection;
|
|
1186
|
+
buttonApi.setActive(isMediaElement(selection.getNode()));
|
|
1187
|
+
const unbindSelectorChanged = selection.selectorChangedWithUnbind('img[data-mce-object],span[data-mce-object],div[data-ephox-embed-iri]', buttonApi.setActive).unbind;
|
|
1188
|
+
const unbindEditable = onSetupEditable(editor)(buttonApi);
|
|
1189
|
+
return () => {
|
|
1190
|
+
unbindSelectorChanged();
|
|
1191
|
+
unbindEditable();
|
|
1192
|
+
};
|
|
1193
|
+
}
|
|
1194
|
+
});
|
|
1195
|
+
editor.ui.registry.addMenuItem('media', {
|
|
1196
|
+
icon: 'embed',
|
|
1197
|
+
text: 'Media...',
|
|
1198
|
+
onAction,
|
|
1199
|
+
onSetup: onSetupEditable(editor)
|
|
1200
|
+
});
|
|
1201
|
+
};
|
|
1202
|
+
|
|
1203
|
+
var Plugin = () => {
|
|
1204
|
+
global$6.add('media', editor => {
|
|
1205
|
+
register$2(editor);
|
|
1206
|
+
register$1(editor);
|
|
1207
|
+
register(editor);
|
|
1208
|
+
setup(editor);
|
|
1209
|
+
setup$1(editor);
|
|
1210
|
+
setup$2(editor);
|
|
1211
|
+
return get(editor);
|
|
1212
|
+
});
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
Plugin();
|
|
1216
|
+
|
|
1217
|
+
})();
|