@umbraco-cms/backoffice 14.0.0-a353ecfe → 14.0.0-e0d20272
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/dist-cms/apps/app/app.element.js +17 -7
- package/dist-cms/apps/app/app.element.js.map +1 -1
- package/dist-cms/custom-elements.json +148 -25
- package/dist-cms/external/backend-api/index.js +1 -1
- package/dist-cms/external/rxjs/index.js +2 -2
- package/dist-cms/external/tinymce/index.js +49 -0
- package/dist-cms/mocks/data/data-type.data.js +69 -1
- package/dist-cms/mocks/data/data-type.data.js.map +1 -1
- package/dist-cms/mocks/data/document-type.data.js +18 -0
- package/dist-cms/mocks/data/document-type.data.js.map +1 -1
- package/dist-cms/mocks/data/document.data.js +7 -0
- package/dist-cms/mocks/data/document.data.js.map +1 -1
- package/dist-cms/mocks/data/template.data.d.ts +1 -1
- package/dist-cms/mocks/data/template.data.js +14 -5
- package/dist-cms/mocks/data/template.data.js.map +1 -1
- package/dist-cms/mocks/handlers/images.handlers.d.ts +1 -0
- package/dist-cms/mocks/handlers/images.handlers.js +8 -0
- package/dist-cms/mocks/handlers/images.handlers.js.map +1 -0
- package/dist-cms/mocks/handlers/manifests.handlers.js +1 -1
- package/dist-cms/mocks/handlers/manifests.handlers.js.map +1 -1
- package/dist-cms/mocks/handlers/rte-embed.handlers.js +6 -2
- package/dist-cms/mocks/handlers/rte-embed.handlers.js.map +1 -1
- package/dist-cms/packages/core/components/data-type/data-type-property-collection.class.d.ts +15 -0
- package/dist-cms/packages/core/components/data-type/data-type-property-collection.class.js +17 -0
- package/dist-cms/packages/core/components/data-type/data-type-property-collection.class.js.map +1 -1
- package/dist-cms/packages/core/components/index.d.ts +1 -0
- package/dist-cms/packages/core/components/index.js +1 -0
- package/dist-cms/packages/core/components/index.js.map +1 -1
- package/dist-cms/packages/core/components/input-tiny-mce/index.d.ts +6 -0
- package/dist-cms/packages/core/components/input-tiny-mce/index.js +7 -0
- package/dist-cms/packages/core/components/input-tiny-mce/index.js.map +1 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.defaults.d.ts +5 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.defaults.js +46 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.defaults.js.map +1 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.element.d.ts +29 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.element.js +270 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.element.js.map +1 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.handlers.d.ts +3 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.handlers.js +39 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.handlers.js.map +1 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.languages.d.ts +1 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.languages.js +79 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.languages.js.map +1 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.sanitizer.d.ts +6 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.sanitizer.js +54 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.sanitizer.js.map +1 -0
- package/dist-cms/packages/core/components/input-tiny-mce/tiny-mce-plugin.d.ts +12 -0
- package/dist-cms/packages/core/components/input-tiny-mce/tiny-mce-plugin.js +8 -0
- package/dist-cms/packages/core/components/input-tiny-mce/tiny-mce-plugin.js.map +1 -0
- package/dist-cms/packages/core/components/property-editor-config/property-editor-config.element.d.ts +3 -3
- package/dist-cms/packages/core/components/property-editor-config/property-editor-config.element.js +10 -10
- package/dist-cms/packages/core/components/property-editor-config/property-editor-config.element.js.map +1 -1
- package/dist-cms/packages/core/components/property-type-based-property/property-type-based-property.element.js +3 -3
- package/dist-cms/packages/core/components/property-type-based-property/property-type-based-property.element.js.map +1 -1
- package/dist-cms/packages/core/components/ref-property-editor-ui/ref-property-editor-ui.element.d.ts +1 -1
- package/dist-cms/packages/core/components/ref-property-editor-ui/ref-property-editor-ui.element.js +5 -5
- package/dist-cms/packages/core/components/ref-property-editor-ui/ref-property-editor-ui.element.js.map +1 -1
- package/dist-cms/packages/core/extension-registry/models/index.d.ts +4 -2
- package/dist-cms/packages/core/extension-registry/models/index.js +1 -0
- package/dist-cms/packages/core/extension-registry/models/index.js.map +1 -1
- package/dist-cms/packages/core/extension-registry/models/property-editor.model.d.ts +5 -5
- package/dist-cms/packages/core/extension-registry/models/tinymce-plugin.model.d.ts +38 -0
- package/dist-cms/packages/core/extension-registry/models/tinymce-plugin.model.js +2 -0
- package/dist-cms/packages/core/extension-registry/models/tinymce-plugin.model.js.map +1 -0
- package/dist-cms/packages/core/index.d.ts +1 -0
- package/dist-cms/packages/core/index.js +3 -0
- package/dist-cms/packages/core/index.js.map +1 -1
- package/dist-cms/packages/core/macro/index.d.ts +1 -0
- package/dist-cms/packages/core/macro/index.js +2 -0
- package/dist-cms/packages/core/macro/index.js.map +1 -0
- package/dist-cms/packages/core/macro/macro.service.d.ts +26 -0
- package/dist-cms/packages/core/macro/macro.service.js +117 -0
- package/dist-cms/packages/core/macro/macro.service.js.map +1 -0
- package/dist-cms/packages/core/modal/common/code-editor/code-editor-modal.element.d.ts +17 -0
- package/dist-cms/packages/core/modal/common/code-editor/code-editor-modal.element.js +92 -0
- package/dist-cms/packages/core/modal/common/code-editor/code-editor-modal.element.js.map +1 -0
- package/dist-cms/packages/core/modal/common/embedded-media/embedded-media-modal.element.d.ts +3 -5
- package/dist-cms/packages/core/modal/common/embedded-media/embedded-media-modal.element.js +11 -11
- package/dist-cms/packages/core/modal/common/embedded-media/embedded-media-modal.element.js.map +1 -1
- package/dist-cms/packages/core/modal/common/manifests.js +6 -0
- package/dist-cms/packages/core/modal/common/manifests.js.map +1 -1
- package/dist-cms/packages/core/modal/token/code-editor-modal.token.d.ts +12 -0
- package/dist-cms/packages/core/modal/token/code-editor-modal.token.js +6 -0
- package/dist-cms/packages/core/modal/token/code-editor-modal.token.js.map +1 -0
- package/dist-cms/packages/core/modal/token/embedded-media-modal.token.d.ts +8 -7
- package/dist-cms/packages/core/modal/token/embedded-media-modal.token.js +2 -1
- package/dist-cms/packages/core/modal/token/embedded-media-modal.token.js.map +1 -1
- package/dist-cms/packages/core/modal/token/index.d.ts +1 -0
- package/dist-cms/packages/core/modal/token/index.js +1 -0
- package/dist-cms/packages/core/modal/token/index.js.map +1 -1
- package/dist-cms/packages/core/property-editors/manifests.d.ts +1 -1
- package/dist-cms/packages/core/property-editors/manifests.js +2 -2
- package/dist-cms/packages/core/property-editors/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.BlockGrid.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.BlockGrid.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.BlockGrid.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.BlockList.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.BlockList.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.BlockList.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.CheckboxList.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.CheckboxList.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.CheckboxList.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.ColorPicker.EyeDropper.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.ColorPicker.EyeDropper.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.ColorPicker.EyeDropper.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.ColorPicker.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.ColorPicker.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.ColorPicker.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.DateTime.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.DateTime.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.DateTime.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.Decimal.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.Decimal.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.Decimal.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.Dropdown.Flexible.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.Dropdown.Flexible.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.Dropdown.Flexible.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.EmailAddress.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.EmailAddress.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.EmailAddress.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.IconPicker.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.IconPicker.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.IconPicker.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.ImageCropper.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.ImageCropper.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.ImageCropper.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.Integer.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.Integer.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.Integer.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.JSON.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.JSON.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.JSON.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.Label.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.Label.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.Label.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.ListView.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.ListView.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.ListView.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MarkdownEditor.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.MarkdownEditor.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MarkdownEditor.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MediaPicker3.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.MediaPicker3.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MediaPicker3.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MemberGroupPicker.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.MemberGroupPicker.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MemberGroupPicker.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MemberPicker.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.MemberPicker.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MemberPicker.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MultiNodeTreePicker.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.MultiNodeTreePicker.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MultiNodeTreePicker.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MultiUrlPicker.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.MultiUrlPicker.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MultiUrlPicker.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MultipleTextString.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.MultipleTextString.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.MultipleTextString.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.RadioButtonList.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.RadioButtonList.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.RadioButtonList.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.RichText.d.ts +2 -0
- package/dist-cms/packages/core/property-editors/models/{Umbraco.TinyMCE.js → Umbraco.RichText.js} +4 -3
- package/dist-cms/packages/core/property-editors/models/Umbraco.RichText.js.map +1 -0
- package/dist-cms/packages/core/property-editors/models/Umbraco.Slider.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.Slider.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.Slider.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.Tags.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.Tags.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.Tags.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.TextArea.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.TextArea.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.TextArea.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.TextBox.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.TextBox.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.TextBox.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.TrueFalse.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.TrueFalse.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.TrueFalse.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.UploadField.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.UploadField.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.UploadField.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.UserPicker.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.UserPicker.js +1 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.UserPicker.js.map +1 -1
- package/dist-cms/packages/core/property-editors/models/manifests.d.ts +2 -2
- package/dist-cms/packages/core/property-editors/models/manifests.js +2 -2
- package/dist-cms/packages/core/property-editors/models/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/block-grid/config/block-configuration/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/block-grid/config/block-configuration/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/block-grid/config/group-configuration/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/block-grid/config/group-configuration/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/block-grid/config/stylesheet-picker/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/block-grid/config/stylesheet-picker/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/block-grid/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/block-grid/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/block-list/config/block-configuration/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/block-list/config/block-configuration/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/block-list/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/block-list/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/checkbox-list/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/checkbox-list/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/collection-view/config/bulk-action-permissions/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/collection-view/config/bulk-action-permissions/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/collection-view/config/column-configuration/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/collection-view/config/column-configuration/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/collection-view/config/layout-configuration/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/collection-view/config/layout-configuration/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/collection-view/config/order-by/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/collection-view/config/order-by/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/collection-view/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/collection-view/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/color-picker/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/color-picker/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/date-picker/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/date-picker/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/dropdown/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/dropdown/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/eye-dropper/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/eye-dropper/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/icon-picker/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/icon-picker/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/image-cropper/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/image-cropper/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/image-crops-configuration/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/image-crops-configuration/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/label/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/label/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/markdown-editor/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/markdown-editor/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/media-picker/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/media-picker/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/member-group-picker/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/member-group-picker/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/member-picker/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/member-picker/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/multi-url-picker/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/multi-url-picker/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/multiple-text-string/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/multiple-text-string/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/number/manifests.js +2 -2
- package/dist-cms/packages/core/property-editors/uis/number/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/number-range/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/number-range/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/order-direction/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/order-direction/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/overlay-size/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/overlay-size/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/radio-button-list/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/radio-button-list/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/slider/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/slider/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/text-box/manifests.js +2 -2
- package/dist-cms/packages/core/property-editors/uis/text-box/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/textarea/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/textarea/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/dimensions/property-editor-ui-tiny-mce-dimensions-configuration.element.d.ts +18 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/dimensions/property-editor-ui-tiny-mce-dimensions-configuration.element.js +31 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/dimensions/property-editor-ui-tiny-mce-dimensions-configuration.element.js.map +1 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/manifests.d.ts +2 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/manifests.js +52 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/manifests.js.map +1 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/max-image-size/property-editor-ui-tiny-mce-maximagesize-configuration.element.d.ts +15 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/max-image-size/property-editor-ui-tiny-mce-maximagesize-configuration.element.js +26 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/max-image-size/property-editor-ui-tiny-mce-maximagesize-configuration.element.js.map +1 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/stylesheets/property-editor-ui-tiny-mce-stylesheets-configuration.element.d.ts +16 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/stylesheets/property-editor-ui-tiny-mce-stylesheets-configuration.element.js +45 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/stylesheets/property-editor-ui-tiny-mce-stylesheets-configuration.element.js.map +1 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/toolbar/property-editor-ui-tiny-mce-toolbar-configuration.element.d.ts +25 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/toolbar/property-editor-ui-tiny-mce-toolbar-configuration.element.js +123 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/toolbar/property-editor-ui-tiny-mce-toolbar-configuration.element.js.map +1 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/manifests.js +210 -7
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/manifests.d.ts +2 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/manifests.js +84 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/manifests.js.map +1 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-code-editor.plugin.d.ts +5 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-code-editor.plugin.js +34 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-code-editor.plugin.js.map +1 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-embeddedmedia.plugin.d.ts +5 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-embeddedmedia.plugin.js +69 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-embeddedmedia.plugin.js.map +1 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-linkpicker.plugin.d.ts +6 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-linkpicker.plugin.js +168 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-linkpicker.plugin.js.map +1 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-macropicker.plugin.d.ts +5 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-macropicker.plugin.js +166 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-macropicker.plugin.js.map +1 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-mediapicker.plugin.d.ts +5 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-mediapicker.plugin.js +141 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-mediapicker.plugin.js.map +1 -0
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/property-editor-ui-tiny-mce.element.d.ts +2 -1
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/property-editor-ui-tiny-mce.element.js +16 -7
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/property-editor-ui-tiny-mce.element.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/toggle/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/toggle/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/tree-picker/config/start-node/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/tree-picker/config/start-node/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/tree-picker/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/tree-picker/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/upload-field/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/upload-field/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/user-picker/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/user-picker/manifests.js.map +1 -1
- package/dist-cms/packages/core/property-editors/uis/value-type/manifests.js +1 -1
- package/dist-cms/packages/core/property-editors/uis/value-type/manifests.js.map +1 -1
- package/dist-cms/packages/documents/documents/property-editors/Umbraco.ContentPicker.d.ts +2 -2
- package/dist-cms/packages/documents/documents/property-editors/Umbraco.ContentPicker.js +1 -1
- package/dist-cms/packages/documents/documents/property-editors/Umbraco.ContentPicker.js.map +1 -1
- package/dist-cms/packages/documents/documents/property-editors/document-picker/manifests.js +1 -1
- package/dist-cms/packages/documents/documents/property-editors/document-picker/manifests.js.map +1 -1
- package/dist-cms/packages/media/media/repository/media.repository.js +12 -24
- package/dist-cms/packages/media/media/repository/media.repository.js.map +1 -1
- package/dist-cms/packages/members/members/repository/member.repository.js +6 -21
- package/dist-cms/packages/members/members/repository/member.repository.js.map +1 -1
- package/dist-cms/packages/settings/data-types/components/ref-data-type/ref-data-type.element.d.ts +1 -1
- package/dist-cms/packages/settings/data-types/components/ref-data-type/ref-data-type.element.js +5 -5
- package/dist-cms/packages/settings/data-types/components/ref-data-type/ref-data-type.element.js.map +1 -1
- package/dist-cms/packages/settings/data-types/workspace/data-type-workspace.context.d.ts +1 -1
- package/dist-cms/packages/settings/data-types/workspace/data-type-workspace.context.js +1 -1
- package/dist-cms/packages/settings/data-types/workspace/data-type-workspace.context.js.map +1 -1
- package/dist-cms/packages/settings/data-types/workspace/views/details/data-type-details-workspace-view.element.d.ts +1 -1
- package/dist-cms/packages/settings/data-types/workspace/views/details/data-type-details-workspace-view.element.js +12 -12
- package/dist-cms/packages/settings/data-types/workspace/views/details/data-type-details-workspace-view.element.js.map +1 -1
- package/dist-cms/packages/settings/logviewer/repository/log-viewer.repository.js +11 -25
- package/dist-cms/packages/settings/logviewer/repository/log-viewer.repository.js.map +1 -1
- package/dist-cms/packages/tags/property-editors/tags/config/storage-type/manifests.js +1 -1
- package/dist-cms/packages/tags/property-editors/tags/config/storage-type/manifests.js.map +1 -1
- package/dist-cms/packages/tags/property-editors/tags/manifests.js +1 -1
- package/dist-cms/packages/tags/property-editors/tags/manifests.js.map +1 -1
- package/dist-cms/packages/templating/stylesheets/repository/stylesheet.repository.js +3 -20
- package/dist-cms/packages/templating/stylesheets/repository/stylesheet.repository.js.map +1 -1
- package/dist-cms/packages/templating/templates/repository/sources/template.detail.server.data.d.ts +2 -2
- package/dist-cms/packages/templating/templates/repository/sources/template.detail.server.data.js +2 -2
- package/dist-cms/packages/templating/templates/repository/sources/template.detail.server.data.js.map +1 -1
- package/dist-cms/packages/templating/templates/repository/sources/template.item.server.data.d.ts +1 -1
- package/dist-cms/packages/templating/templates/repository/sources/template.tree.server.data.d.ts +1 -1
- package/dist-cms/packages/templating/templates/repository/template-item.store.d.ts +1 -1
- package/dist-cms/packages/templating/templates/repository/template.repository.d.ts +3 -3
- package/dist-cms/packages/templating/templates/repository/template.repository.js +2 -2
- package/dist-cms/packages/templating/templates/repository/template.repository.js.map +1 -1
- package/dist-cms/packages/templating/templates/workspace/template-workspace-editor.element.js +3 -33
- package/dist-cms/packages/templating/templates/workspace/template-workspace-editor.element.js.map +1 -1
- package/dist-cms/packages/templating/templates/workspace/template-workspace.context.d.ts +6 -3
- package/dist-cms/packages/templating/templates/workspace/template-workspace.context.js +35 -23
- package/dist-cms/packages/templating/templates/workspace/template-workspace.context.js.map +1 -1
- package/dist-cms/shared/auth/auth.context.d.ts +1 -0
- package/dist-cms/shared/auth/auth.context.js +3 -0
- package/dist-cms/shared/auth/auth.context.js.map +1 -1
- package/dist-cms/shared/auth/auth.interface.d.ts +4 -0
- package/dist-cms/shared/repository/repository-items.manager.d.ts +1 -1
- package/dist-cms/shared/repository/repository-items.manager.js +7 -2
- package/dist-cms/shared/repository/repository-items.manager.js.map +1 -1
- package/dist-cms/shared/utils/index.d.ts +6 -0
- package/dist-cms/shared/utils/index.js +1 -0
- package/dist-cms/shared/utils/index.js.map +1 -1
- package/dist-cms/shared/utils/media-helper.service.d.ts +44 -0
- package/dist-cms/shared/utils/media-helper.service.js +152 -0
- package/dist-cms/shared/utils/media-helper.service.js.map +1 -0
- package/dist-cms/tinymce/CHANGELOG.md +3253 -0
- package/dist-cms/tinymce/README.md +71 -0
- package/dist-cms/tinymce/bower.json +27 -0
- package/dist-cms/tinymce/composer.json +52 -0
- package/dist-cms/tinymce/icons/default/icons.js +191 -0
- package/dist-cms/tinymce/icons/default/icons.min.js +1 -0
- package/dist-cms/tinymce/icons/default/index.js +7 -0
- package/dist-cms/tinymce/langs/ar.js +407 -0
- package/dist-cms/tinymce/langs/az.js +406 -0
- package/dist-cms/tinymce/langs/be.js +406 -0
- package/dist-cms/tinymce/langs/bg_BG.js +406 -0
- package/dist-cms/tinymce/langs/bn_BD.js +406 -0
- package/dist-cms/tinymce/langs/ca.js +406 -0
- package/dist-cms/tinymce/langs/cs.js +406 -0
- package/dist-cms/tinymce/langs/cy.js +406 -0
- package/dist-cms/tinymce/langs/da.js +406 -0
- package/dist-cms/tinymce/langs/de.js +406 -0
- package/dist-cms/tinymce/langs/dv.js +406 -0
- package/dist-cms/tinymce/langs/el.js +406 -0
- package/dist-cms/tinymce/langs/eo.js +406 -0
- package/dist-cms/tinymce/langs/es.js +406 -0
- package/dist-cms/tinymce/langs/es_MX.js +406 -0
- package/dist-cms/tinymce/langs/et.js +406 -0
- package/dist-cms/tinymce/langs/eu.js +406 -0
- package/dist-cms/tinymce/langs/fa.js +407 -0
- package/dist-cms/tinymce/langs/fi.js +406 -0
- package/dist-cms/tinymce/langs/fr_FR.js +406 -0
- package/dist-cms/tinymce/langs/ga.js +406 -0
- package/dist-cms/tinymce/langs/gl.js +406 -0
- package/dist-cms/tinymce/langs/he_IL.js +407 -0
- package/dist-cms/tinymce/langs/hi.js +406 -0
- package/dist-cms/tinymce/langs/hr.js +406 -0
- package/dist-cms/tinymce/langs/hu_HU.js +406 -0
- package/dist-cms/tinymce/langs/hy.js +406 -0
- package/dist-cms/tinymce/langs/id.js +406 -0
- package/dist-cms/tinymce/langs/is_IS.js +406 -0
- package/dist-cms/tinymce/langs/it.js +406 -0
- package/dist-cms/tinymce/langs/ja.js +406 -0
- package/dist-cms/tinymce/langs/kab.js +406 -0
- package/dist-cms/tinymce/langs/kk.js +406 -0
- package/dist-cms/tinymce/langs/ko_KR.js +406 -0
- package/dist-cms/tinymce/langs/ku.js +407 -0
- package/dist-cms/tinymce/langs/lt.js +406 -0
- package/dist-cms/tinymce/langs/lv.js +406 -0
- package/dist-cms/tinymce/langs/nb_NO.js +406 -0
- package/dist-cms/tinymce/langs/ne.js +406 -0
- package/dist-cms/tinymce/langs/nl.js +406 -0
- package/dist-cms/tinymce/langs/nl_BE.js +406 -0
- package/dist-cms/tinymce/langs/oc.js +406 -0
- package/dist-cms/tinymce/langs/pl.js +406 -0
- package/dist-cms/tinymce/langs/pt_BR.js +406 -0
- package/dist-cms/tinymce/langs/ro.js +406 -0
- package/dist-cms/tinymce/langs/ru.js +406 -0
- package/dist-cms/tinymce/langs/sk.js +406 -0
- package/dist-cms/tinymce/langs/sl_SI.js +406 -0
- package/dist-cms/tinymce/langs/sq.js +406 -0
- package/dist-cms/tinymce/langs/sr.js +406 -0
- package/dist-cms/tinymce/langs/sv_SE.js +406 -0
- package/dist-cms/tinymce/langs/ta.js +406 -0
- package/dist-cms/tinymce/langs/tg.js +406 -0
- package/dist-cms/tinymce/langs/th_TH.js +406 -0
- package/dist-cms/tinymce/langs/tr.js +406 -0
- package/dist-cms/tinymce/langs/ug.js +406 -0
- package/dist-cms/tinymce/langs/uk.js +406 -0
- package/dist-cms/tinymce/langs/vi.js +406 -0
- package/dist-cms/tinymce/langs/zh-Hans.js +406 -0
- package/dist-cms/tinymce/langs/zh-Hant.js +406 -0
- package/dist-cms/tinymce/langs/zh_HK.js +406 -0
- package/dist-cms/tinymce/langs/zh_MO.js +406 -0
- package/dist-cms/tinymce/langs/zh_SG.js +406 -0
- package/dist-cms/tinymce/license.txt +21 -0
- package/dist-cms/tinymce/models/dom/index.js +7 -0
- package/dist-cms/tinymce/models/dom/model.js +8040 -0
- package/dist-cms/tinymce/models/dom/model.min.js +4 -0
- package/dist-cms/tinymce/package.json +32 -0
- package/dist-cms/tinymce/plugins/accordion/index.js +7 -0
- package/dist-cms/tinymce/plugins/accordion/plugin.js +1033 -0
- package/dist-cms/tinymce/plugins/accordion/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/advlist/index.js +7 -0
- package/dist-cms/tinymce/plugins/advlist/plugin.js +259 -0
- package/dist-cms/tinymce/plugins/advlist/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/anchor/index.js +7 -0
- package/dist-cms/tinymce/plugins/anchor/plugin.js +214 -0
- package/dist-cms/tinymce/plugins/anchor/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/autolink/index.js +7 -0
- package/dist-cms/tinymce/plugins/autolink/plugin.js +228 -0
- package/dist-cms/tinymce/plugins/autolink/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/autoresize/index.js +7 -0
- package/dist-cms/tinymce/plugins/autoresize/plugin.js +192 -0
- package/dist-cms/tinymce/plugins/autoresize/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/autosave/index.js +7 -0
- package/dist-cms/tinymce/plugins/autosave/plugin.js +233 -0
- package/dist-cms/tinymce/plugins/autosave/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/charmap/index.js +7 -0
- package/dist-cms/tinymce/plugins/charmap/plugin.js +1658 -0
- package/dist-cms/tinymce/plugins/charmap/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/code/index.js +7 -0
- package/dist-cms/tinymce/plugins/code/plugin.js +85 -0
- package/dist-cms/tinymce/plugins/code/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/codesample/index.js +7 -0
- package/dist-cms/tinymce/plugins/codesample/plugin.js +2463 -0
- package/dist-cms/tinymce/plugins/codesample/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/directionality/index.js +7 -0
- package/dist-cms/tinymce/plugins/directionality/plugin.js +395 -0
- package/dist-cms/tinymce/plugins/directionality/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/emoticons/index.js +7 -0
- package/dist-cms/tinymce/plugins/emoticons/js/emojiimages.js +1 -0
- package/dist-cms/tinymce/plugins/emoticons/js/emojiimages.min.js +3 -0
- package/dist-cms/tinymce/plugins/emoticons/js/emojis.js +1 -0
- package/dist-cms/tinymce/plugins/emoticons/js/emojis.min.js +2 -0
- package/dist-cms/tinymce/plugins/emoticons/plugin.js +595 -0
- package/dist-cms/tinymce/plugins/emoticons/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/fullscreen/index.js +7 -0
- package/dist-cms/tinymce/plugins/fullscreen/plugin.js +1196 -0
- package/dist-cms/tinymce/plugins/fullscreen/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/help/index.js +7 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ar.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ca.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/cs.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/da.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/de.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/el.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/en.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/es.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/eu.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/fa.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/fi.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/he_IL.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/hi.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/hr.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/id.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/it.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ja.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/kk.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ms.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/nl.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/pl.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ro.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ru.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/sk.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/th_TH.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/tr.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/uk.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/vi.js +90 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +84 -0
- package/dist-cms/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +90 -0
- package/dist-cms/tinymce/plugins/help/plugin.js +893 -0
- package/dist-cms/tinymce/plugins/help/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/image/index.js +7 -0
- package/dist-cms/tinymce/plugins/image/plugin.js +1504 -0
- package/dist-cms/tinymce/plugins/image/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/importcss/index.js +7 -0
- package/dist-cms/tinymce/plugins/importcss/plugin.js +344 -0
- package/dist-cms/tinymce/plugins/importcss/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/insertdatetime/index.js +7 -0
- package/dist-cms/tinymce/plugins/insertdatetime/plugin.js +187 -0
- package/dist-cms/tinymce/plugins/insertdatetime/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/link/index.js +7 -0
- package/dist-cms/tinymce/plugins/link/plugin.js +1241 -0
- package/dist-cms/tinymce/plugins/link/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/lists/index.js +7 -0
- package/dist-cms/tinymce/plugins/lists/plugin.js +1948 -0
- package/dist-cms/tinymce/plugins/lists/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/media/index.js +7 -0
- package/dist-cms/tinymce/plugins/media/plugin.js +1235 -0
- package/dist-cms/tinymce/plugins/media/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/nonbreaking/index.js +7 -0
- package/dist-cms/tinymce/plugins/nonbreaking/plugin.js +123 -0
- package/dist-cms/tinymce/plugins/nonbreaking/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/pagebreak/index.js +7 -0
- package/dist-cms/tinymce/plugins/pagebreak/plugin.js +117 -0
- package/dist-cms/tinymce/plugins/pagebreak/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/preview/index.js +7 -0
- package/dist-cms/tinymce/plugins/preview/plugin.js +97 -0
- package/dist-cms/tinymce/plugins/preview/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/quickbars/index.js +7 -0
- package/dist-cms/tinymce/plugins/quickbars/plugin.js +438 -0
- package/dist-cms/tinymce/plugins/quickbars/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/save/index.js +7 -0
- package/dist-cms/tinymce/plugins/save/plugin.js +118 -0
- package/dist-cms/tinymce/plugins/save/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/searchreplace/index.js +7 -0
- package/dist-cms/tinymce/plugins/searchreplace/plugin.js +1093 -0
- package/dist-cms/tinymce/plugins/searchreplace/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/table/index.js +7 -0
- package/dist-cms/tinymce/plugins/table/plugin.js +3462 -0
- package/dist-cms/tinymce/plugins/table/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/template/index.js +7 -0
- package/dist-cms/tinymce/plugins/template/plugin.js +567 -0
- package/dist-cms/tinymce/plugins/template/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/visualblocks/index.js +7 -0
- package/dist-cms/tinymce/plugins/visualblocks/plugin.js +98 -0
- package/dist-cms/tinymce/plugins/visualblocks/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/visualchars/index.js +7 -0
- package/dist-cms/tinymce/plugins/visualchars/plugin.js +560 -0
- package/dist-cms/tinymce/plugins/visualchars/plugin.min.js +4 -0
- package/dist-cms/tinymce/plugins/wordcount/index.js +7 -0
- package/dist-cms/tinymce/plugins/wordcount/plugin.js +405 -0
- package/dist-cms/tinymce/plugins/wordcount/plugin.min.js +4 -0
- package/dist-cms/tinymce/skins/content/dark/content.css +66 -0
- package/dist-cms/tinymce/skins/content/dark/content.min.css +1 -0
- package/dist-cms/tinymce/skins/content/default/content.css +61 -0
- package/dist-cms/tinymce/skins/content/default/content.min.css +1 -0
- package/dist-cms/tinymce/skins/content/document/content.css +66 -0
- package/dist-cms/tinymce/skins/content/document/content.min.css +1 -0
- package/dist-cms/tinymce/skins/content/tinymce-5/content.css +61 -0
- package/dist-cms/tinymce/skins/content/tinymce-5/content.min.css +1 -0
- package/dist-cms/tinymce/skins/content/tinymce-5-dark/content.css +66 -0
- package/dist-cms/tinymce/skins/content/tinymce-5-dark/content.min.css +1 -0
- package/dist-cms/tinymce/skins/content/writer/content.css +62 -0
- package/dist-cms/tinymce/skins/content/writer/content.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/oxide/content.css +785 -0
- package/dist-cms/tinymce/skins/ui/oxide/content.inline.css +779 -0
- package/dist-cms/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/oxide/content.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/oxide/skin.css +3688 -0
- package/dist-cms/tinymce/skins/ui/oxide/skin.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
- package/dist-cms/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/oxide-dark/content.css +766 -0
- package/dist-cms/tinymce/skins/ui/oxide-dark/content.inline.css +779 -0
- package/dist-cms/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/oxide-dark/skin.css +3691 -0
- package/dist-cms/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
- package/dist-cms/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5/content.css +785 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5/content.inline.css +779 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5/content.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5/skin.css +3782 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5/skin.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +30 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/content.css +766 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/content.inline.css +779 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.css +3782 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +30 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -0
- package/dist-cms/tinymce/themes/silver/index.js +7 -0
- package/dist-cms/tinymce/themes/silver/theme.js +30167 -0
- package/dist-cms/tinymce/themes/silver/theme.min.js +4 -0
- package/dist-cms/tinymce/tinymce.d.ts +3206 -0
- package/dist-cms/tinymce/tinymce.js +31297 -0
- package/dist-cms/tinymce/tinymce.min.js +4 -0
- package/dist-cms/tsconfig.tsbuildinfo +1 -1
- package/dist-cms/umbraco-package-schema.json +83 -7
- package/dist-cms/vscode-html-custom-data.json +86 -17
- package/package.json +4 -1
- package/dist-cms/packages/core/property-editors/models/Umbraco.TinyMCE.d.ts +0 -2
- package/dist-cms/packages/core/property-editors/models/Umbraco.TinyMCE.js.map +0 -1
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/configuration/manifests.d.ts +0 -2
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/configuration/manifests.js +0 -13
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/configuration/manifests.js.map +0 -1
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/configuration/property-editor-ui-tiny-mce-configuration.element.d.ts +0 -16
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/configuration/property-editor-ui-tiny-mce-configuration.element.js +0 -34
- package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/configuration/property-editor-ui-tiny-mce-configuration.element.js.map +0 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TinyMCE version 6.5.1 (2023-06-19)
|
|
3
|
+
*/
|
|
4
|
+
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=(e,t)=>{const r=((e,t)=>e.dispatch("insertCustomChar",{chr:t}))(e,t).chr;e.execCommand("mceInsertContent",!1,r)},r=e=>t=>e===t,a=("array",e=>"array"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(r=a=e,(n=String).prototype.isPrototypeOf(r)||(null===(i=a.constructor)||void 0===i?void 0:i.name)===n.name)?"string":t;var r,a,n,i})(e));const n=r(null),i=r(void 0),o=e=>"function"==typeof e,s=(!1,()=>false);class l{constructor(e,t){this.tag=e,this.value=t}static some(e){return new l(!0,e)}static none(){return l.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?l.some(e(this.value)):l.none()}bind(e){return this.tag?e(this.value):l.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:l.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return null==e?l.none():l.some(e)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}l.singletonNone=new l(!1);const c=Array.prototype.push,u=(e,t)=>{const r=e.length,a=new Array(r);for(let n=0;n<r;n++){const r=e[n];a[n]=t(r,n)}return a};var g=tinymce.util.Tools.resolve("tinymce.util.Tools");const h=e=>t=>t.options.get(e),m=h("charmap"),p=h("charmap_append"),d=g.isArray,f="User Defined",y=e=>{return d(e)?(t=e,g.grep(t,(e=>d(e)&&2===e.length))):"function"==typeof e?e():[];var t},b=e=>{const t=((e,t)=>{const r=m(e);r&&(t=[{name:f,characters:y(r)}]);const a=p(e);if(a){const e=g.grep(t,(e=>e.name===f));return e.length?(e[0].characters=[...e[0].characters,...y(a)],t):t.concat({name:f,characters:y(a)})}return t})(e,[{name:"Currency",characters:[[36,"dollar sign"],[162,"cent sign"],[8364,"euro sign"],[163,"pound sign"],[165,"yen sign"],[164,"currency sign"],[8352,"euro-currency sign"],[8353,"colon sign"],[8354,"cruzeiro sign"],[8355,"french franc sign"],[8356,"lira sign"],[8357,"mill sign"],[8358,"naira sign"],[8359,"peseta sign"],[8360,"rupee sign"],[8361,"won sign"],[8362,"new sheqel sign"],[8363,"dong sign"],[8365,"kip sign"],[8366,"tugrik sign"],[8367,"drachma sign"],[8368,"german penny symbol"],[8369,"peso sign"],[8370,"guarani sign"],[8371,"austral sign"],[8372,"hryvnia sign"],[8373,"cedi sign"],[8374,"livre tournois sign"],[8375,"spesmilo sign"],[8376,"tenge sign"],[8377,"indian rupee sign"],[8378,"turkish lira sign"],[8379,"nordic mark sign"],[8380,"manat sign"],[8381,"ruble sign"],[20870,"yen character"],[20803,"yuan character"],[22291,"yuan character, in hong kong and taiwan"],[22278,"yen/yuan character variant one"]]},{name:"Text",characters:[[169,"copyright sign"],[174,"registered sign"],[8482,"trade mark sign"],[8240,"per mille sign"],[181,"micro sign"],[183,"middle dot"],[8226,"bullet"],[8230,"three dot leader"],[8242,"minutes / feet"],[8243,"seconds / inches"],[167,"section sign"],[182,"paragraph sign"],[223,"sharp s / ess-zed"]]},{name:"Quotations",characters:[[8249,"single left-pointing angle quotation mark"],[8250,"single right-pointing angle quotation mark"],[171,"left pointing guillemet"],[187,"right pointing guillemet"],[8216,"left single quotation mark"],[8217,"right single quotation mark"],[8220,"left double quotation mark"],[8221,"right double quotation mark"],[8218,"single low-9 quotation mark"],[8222,"double low-9 quotation mark"],[60,"less-than sign"],[62,"greater-than sign"],[8804,"less-than or equal to"],[8805,"greater-than or equal to"],[8211,"en dash"],[8212,"em dash"],[175,"macron"],[8254,"overline"],[164,"currency sign"],[166,"broken bar"],[168,"diaeresis"],[161,"inverted exclamation mark"],[191,"turned question mark"],[710,"circumflex accent"],[732,"small tilde"],[176,"degree sign"],[8722,"minus sign"],[177,"plus-minus sign"],[247,"division sign"],[8260,"fraction slash"],[215,"multiplication sign"],[185,"superscript one"],[178,"superscript two"],[179,"superscript three"],[188,"fraction one quarter"],[189,"fraction one half"],[190,"fraction three quarters"]]},{name:"Mathematical",characters:[[402,"function / florin"],[8747,"integral"],[8721,"n-ary sumation"],[8734,"infinity"],[8730,"square root"],[8764,"similar to"],[8773,"approximately equal to"],[8776,"almost equal to"],[8800,"not equal to"],[8801,"identical to"],[8712,"element of"],[8713,"not an element of"],[8715,"contains as member"],[8719,"n-ary product"],[8743,"logical and"],[8744,"logical or"],[172,"not sign"],[8745,"intersection"],[8746,"union"],[8706,"partial differential"],[8704,"for all"],[8707,"there exists"],[8709,"diameter"],[8711,"backward difference"],[8727,"asterisk operator"],[8733,"proportional to"],[8736,"angle"]]},{name:"Extended Latin",characters:[[192,"A - grave"],[193,"A - acute"],[194,"A - circumflex"],[195,"A - tilde"],[196,"A - diaeresis"],[197,"A - ring above"],[256,"A - macron"],[198,"ligature AE"],[199,"C - cedilla"],[200,"E - grave"],[201,"E - acute"],[202,"E - circumflex"],[203,"E - diaeresis"],[274,"E - macron"],[204,"I - grave"],[205,"I - acute"],[206,"I - circumflex"],[207,"I - diaeresis"],[298,"I - macron"],[208,"ETH"],[209,"N - tilde"],[210,"O - grave"],[211,"O - acute"],[212,"O - circumflex"],[213,"O - tilde"],[214,"O - diaeresis"],[216,"O - slash"],[332,"O - macron"],[338,"ligature OE"],[352,"S - caron"],[217,"U - grave"],[218,"U - acute"],[219,"U - circumflex"],[220,"U - diaeresis"],[362,"U - macron"],[221,"Y - acute"],[376,"Y - diaeresis"],[562,"Y - macron"],[222,"THORN"],[224,"a - grave"],[225,"a - acute"],[226,"a - circumflex"],[227,"a - tilde"],[228,"a - diaeresis"],[229,"a - ring above"],[257,"a - macron"],[230,"ligature ae"],[231,"c - cedilla"],[232,"e - grave"],[233,"e - acute"],[234,"e - circumflex"],[235,"e - diaeresis"],[275,"e - macron"],[236,"i - grave"],[237,"i - acute"],[238,"i - circumflex"],[239,"i - diaeresis"],[299,"i - macron"],[240,"eth"],[241,"n - tilde"],[242,"o - grave"],[243,"o - acute"],[244,"o - circumflex"],[245,"o - tilde"],[246,"o - diaeresis"],[248,"o slash"],[333,"o macron"],[339,"ligature oe"],[353,"s - caron"],[249,"u - grave"],[250,"u - acute"],[251,"u - circumflex"],[252,"u - diaeresis"],[363,"u - macron"],[253,"y - acute"],[254,"thorn"],[255,"y - diaeresis"],[563,"y - macron"],[913,"Alpha"],[914,"Beta"],[915,"Gamma"],[916,"Delta"],[917,"Epsilon"],[918,"Zeta"],[919,"Eta"],[920,"Theta"],[921,"Iota"],[922,"Kappa"],[923,"Lambda"],[924,"Mu"],[925,"Nu"],[926,"Xi"],[927,"Omicron"],[928,"Pi"],[929,"Rho"],[931,"Sigma"],[932,"Tau"],[933,"Upsilon"],[934,"Phi"],[935,"Chi"],[936,"Psi"],[937,"Omega"],[945,"alpha"],[946,"beta"],[947,"gamma"],[948,"delta"],[949,"epsilon"],[950,"zeta"],[951,"eta"],[952,"theta"],[953,"iota"],[954,"kappa"],[955,"lambda"],[956,"mu"],[957,"nu"],[958,"xi"],[959,"omicron"],[960,"pi"],[961,"rho"],[962,"final sigma"],[963,"sigma"],[964,"tau"],[965,"upsilon"],[966,"phi"],[967,"chi"],[968,"psi"],[969,"omega"]]},{name:"Symbols",characters:[[8501,"alef symbol"],[982,"pi symbol"],[8476,"real part symbol"],[978,"upsilon - hook symbol"],[8472,"Weierstrass p"],[8465,"imaginary part"]]},{name:"Arrows",characters:[[8592,"leftwards arrow"],[8593,"upwards arrow"],[8594,"rightwards arrow"],[8595,"downwards arrow"],[8596,"left right arrow"],[8629,"carriage return"],[8656,"leftwards double arrow"],[8657,"upwards double arrow"],[8658,"rightwards double arrow"],[8659,"downwards double arrow"],[8660,"left right double arrow"],[8756,"therefore"],[8834,"subset of"],[8835,"superset of"],[8836,"not a subset of"],[8838,"subset of or equal to"],[8839,"superset of or equal to"],[8853,"circled plus"],[8855,"circled times"],[8869,"perpendicular"],[8901,"dot operator"],[8968,"left ceiling"],[8969,"right ceiling"],[8970,"left floor"],[8971,"right floor"],[9001,"left-pointing angle bracket"],[9002,"right-pointing angle bracket"],[9674,"lozenge"],[9824,"black spade suit"],[9827,"black club suit"],[9829,"black heart suit"],[9830,"black diamond suit"],[8194,"en space"],[8195,"em space"],[8201,"thin space"],[8204,"zero width non-joiner"],[8205,"zero width joiner"],[8206,"left-to-right mark"],[8207,"right-to-left mark"]]}]);return t.length>1?[{name:"All",characters:(r=t,n=e=>e.characters,(e=>{const t=[];for(let r=0,n=e.length;r<n;++r){if(!a(e[r]))throw new Error("Arr.flatten item "+r+" was not an array, input: "+e);c.apply(t,e[r])}return t})(u(r,n)))}].concat(t):t;var r,n},w=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},v=(e,t,r=0,a)=>{const n=e.indexOf(t,r);return-1!==n&&(!!i(a)||n+t.length<=a)},k=String.fromCodePoint,C=(e,t)=>{const r=[],a=t.toLowerCase();return((e,t)=>{for(let t=0,i=e.length;t<i;t++)((e,t,r)=>!!v(k(e).toLowerCase(),r)||v(t.toLowerCase(),r)||v(t.toLowerCase().replace(/\s+/g,""),r))((n=e[t])[0],n[1],a)&&r.push(n);var n})(e.characters),u(r,(e=>({text:e[1],value:k(e[0]),icon:k(e[0])})))},x="pattern",A=(e,r)=>{const a=()=>[{label:"Search",type:"input",name:x},{type:"collection",name:"results"}],i=1===r.length?w(f):w("All"),o=((e,t)=>{let r=null;const a=()=>{n(r)||(clearTimeout(r),r=null)};return{cancel:a,throttle:(...t)=>{a(),r=setTimeout((()=>{r=null,e.apply(null,t)}),40)}}})((e=>{const t=e.getData().pattern;((e,t)=>{var a,n;(a=r,n=e=>e.name===i.get(),((e,t,r)=>{for(let a=0,n=e.length;a<n;a++){const n=e[a];if(t(n,a))return l.some(n);if(r(n,a))break}return l.none()})(a,n,s)).each((r=>{const a=C(r,t);e.setData({results:a})}))})(e,t)})),c={title:"Special Character",size:"normal",body:1===r.length?{type:"panel",items:a()}:{type:"tabpanel",tabs:u(r,(e=>({title:e.name,name:e.name,items:a()})))},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{pattern:"",results:C(r[0],"")},onAction:(r,a)=>{"results"===a.name&&(t(e,a.value),r.close())},onTabChange:(e,t)=>{i.set(t.newTabName),o.throttle(e)},onChange:(e,t)=>{t.name===x&&o.throttle(e)}};e.windowManager.open(c).focus(x)},q=e=>t=>{const r=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",r),r(),()=>{e.off("NodeChange",r)}};e.add("charmap",(e=>{(e=>{const t=e.options.register,r=e=>o(e)||a(e);t("charmap",{processor:r}),t("charmap_append",{processor:r})})(e);const r=b(e);return((e,t)=>{e.addCommand("mceShowCharmap",(()=>{A(e,t)}))})(e,r),(e=>{const t=()=>e.execCommand("mceShowCharmap");e.ui.registry.addButton("charmap",{icon:"insert-character",tooltip:"Special character",onAction:t,onSetup:q(e)}),e.ui.registry.addMenuItem("charmap",{icon:"insert-character",text:"Special character...",onAction:t,onSetup:q(e)})})(e),((e,t)=>{e.ui.registry.addAutocompleter("charmap",{trigger:":",columns:"auto",minChars:2,fetch:(e,r)=>new Promise(((r,a)=>{r(C(t,e))})),onAction:(t,r,a)=>{e.selection.setRng(r),e.insertContent(a),t.hide()}})})(e,r[0]),(e=>({getCharMap:()=>b(e),insertChar:r=>{t(e,r)}}))(e)}))}();
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TinyMCE version 6.5.1 (2023-06-19)
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
(function () {
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
|
9
|
+
|
|
10
|
+
const setContent = (editor, html) => {
|
|
11
|
+
editor.focus();
|
|
12
|
+
editor.undoManager.transact(() => {
|
|
13
|
+
editor.setContent(html);
|
|
14
|
+
});
|
|
15
|
+
editor.selection.setCursorLocation();
|
|
16
|
+
editor.nodeChanged();
|
|
17
|
+
};
|
|
18
|
+
const getContent = editor => {
|
|
19
|
+
return editor.getContent({ source_view: true });
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
const open = editor => {
|
|
23
|
+
const editorContent = getContent(editor);
|
|
24
|
+
editor.windowManager.open({
|
|
25
|
+
title: 'Source Code',
|
|
26
|
+
size: 'large',
|
|
27
|
+
body: {
|
|
28
|
+
type: 'panel',
|
|
29
|
+
items: [{
|
|
30
|
+
type: 'textarea',
|
|
31
|
+
name: 'code'
|
|
32
|
+
}]
|
|
33
|
+
},
|
|
34
|
+
buttons: [
|
|
35
|
+
{
|
|
36
|
+
type: 'cancel',
|
|
37
|
+
name: 'cancel',
|
|
38
|
+
text: 'Cancel'
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
type: 'submit',
|
|
42
|
+
name: 'save',
|
|
43
|
+
text: 'Save',
|
|
44
|
+
primary: true
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
initialData: { code: editorContent },
|
|
48
|
+
onSubmit: api => {
|
|
49
|
+
setContent(editor, api.getData().code);
|
|
50
|
+
api.close();
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
const register$1 = editor => {
|
|
56
|
+
editor.addCommand('mceCodeEditor', () => {
|
|
57
|
+
open(editor);
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
const register = editor => {
|
|
62
|
+
const onAction = () => editor.execCommand('mceCodeEditor');
|
|
63
|
+
editor.ui.registry.addButton('code', {
|
|
64
|
+
icon: 'sourcecode',
|
|
65
|
+
tooltip: 'Source code',
|
|
66
|
+
onAction
|
|
67
|
+
});
|
|
68
|
+
editor.ui.registry.addMenuItem('code', {
|
|
69
|
+
icon: 'sourcecode',
|
|
70
|
+
text: 'Source code',
|
|
71
|
+
onAction
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
var Plugin = () => {
|
|
76
|
+
global.add('code', editor => {
|
|
77
|
+
register$1(editor);
|
|
78
|
+
register(editor);
|
|
79
|
+
return {};
|
|
80
|
+
});
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
Plugin();
|
|
84
|
+
|
|
85
|
+
})();
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TinyMCE version 6.5.1 (2023-06-19)
|
|
3
|
+
*/
|
|
4
|
+
!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("code",(e=>((e=>{e.addCommand("mceCodeEditor",(()=>{(e=>{const o=(e=>e.getContent({source_view:!0}))(e);e.windowManager.open({title:"Source Code",size:"large",body:{type:"panel",items:[{type:"textarea",name:"code"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{code:o},onSubmit:o=>{((e,o)=>{e.focus(),e.undoManager.transact((()=>{e.setContent(o)})),e.selection.setCursorLocation(),e.nodeChanged()})(e,o.getData().code),o.close()}})})(e)}))})(e),(e=>{const o=()=>e.execCommand("mceCodeEditor");e.ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:o}),e.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:o})})(e),{})))}();
|