@uxf/wysiwyg
Advanced tools
Comparing version 1.2.5 to 1.2.8
@@ -26,8 +26,11 @@ "use strict"; | ||
return (react_1.default.createElement(react_1.default.Fragment, null, plugins.map(function (plugin, index) { | ||
if (plugin.type === element.type && !("imageUrlClient" in plugin && "imageNamespace" in plugin)) { | ||
if (plugin.type === element.type) { | ||
if ("imageUrlClient" in plugin && "imageNamespace" in plugin) { | ||
return (react_1.default.createElement(plugin.editorElementRenderer, { attributes: attributes, element: element, key: "element-plugin-".concat(index), imageNamespace: plugin.imageNamespace, imageUrlClient: plugin.imageUrlClient }, children)); | ||
} | ||
if ("videoUrlClient" in plugin && "videoNamespace" in plugin) { | ||
return (react_1.default.createElement(plugin.editorElementRenderer, { attributes: attributes, element: element, key: "element-plugin-".concat(index), videoNamespace: plugin.videoNamespace, videoUrlClient: plugin.videoUrlClient }, children)); | ||
} | ||
return (react_1.default.createElement(plugin.editorElementRenderer, { key: "element-plugin-".concat(index), attributes: attributes, element: element }, children)); | ||
} | ||
if (plugin.type === element.type && "imageUrlClient" in plugin && "imageNamespace" in plugin) { | ||
return (react_1.default.createElement(plugin.editorElementRenderer, { key: "element-plugin-".concat(index), attributes: attributes, element: element, imageNamespace: plugin.imageNamespace, imageUrlClient: plugin.imageUrlClient }, children)); | ||
} | ||
return null; | ||
@@ -37,2 +40,2 @@ }))); | ||
exports.Element = Element; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRWxlbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9FZGl0b3IvU2xhdGUvRWxlbWVudC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxnREFBNEM7QUFJckMsSUFBTSxPQUFPLEdBQUcsVUFDbkIsS0FFQztJQUVPLElBQUEsVUFBVSxHQUFpQyxLQUFLLFdBQXRDLEVBQUUsUUFBUSx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FPLEVBQUUsT0FBTyxJQUVmLFFBQVEsQ0FDa0IsQ0FDbEMsQ0FBQztTQUNMO1FBRUQsT0FBTyxJQUFJLENBQUM7SUFDaEIsQ0FBQyxDQUFDLENBQ0gsQ0FDTixDQUFDO0FBQ04sQ0FBQyxDQUFDO0FBM0RXLFFBQUEsT0FBTyxXQTJEbEIifQ== |
@@ -23,3 +23,3 @@ import { Editor, Range } from "slate"; | ||
export declare const getActiveVideo: (editor: UXFEditor) => EditorVideoElement | null; | ||
export declare const insertVideo: (editor: UXFEditor, url: string, range?: Range | null) => void; | ||
export declare const insertVideo: (editor: UXFEditor, video: EditorVideoElement, range?: Range | null) => void; | ||
export declare const isValidUrl: (url?: string) => boolean; |
@@ -211,4 +211,4 @@ "use strict"; | ||
exports.getActiveVideo = getActiveVideo; | ||
var insertVideo = function (editor, url, range) { | ||
slate_1.Transforms.insertNodes(editor, [(0, slate_hyperscript_1.jsx)("element", { type: "video", url: url }, [(0, slate_hyperscript_1.jsx)("text")]), (0, exports.createEmptyParagraph)()], { | ||
var insertVideo = function (editor, video, range) { | ||
slate_1.Transforms.insertNodes(editor, [(0, slate_hyperscript_1.jsx)("element", __assign({}, video), [(0, slate_hyperscript_1.jsx)("text")]), (0, exports.createEmptyParagraph)()], { | ||
at: range ? range : undefined, | ||
@@ -221,2 +221,2 @@ }); | ||
exports.isValidUrl = isValidUrl; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvRWRpdG9yL1NsYXRlL3V0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLGtEQUEyQjtBQUMzQiwrQkFBMkU7QUFDM0UsdURBQXdDO0FBYXhDLElBQU0sVUFBVSxHQUFHLENBQUMsZU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QU8sS0FBSyxHQUFJLENBQUMsSUFBQSx1QkFBRyxFQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsRUFBRSxJQUFBLDRCQUFvQixHQUFFLENBQUMsRUFBRTtRQUNsRyxFQUFFLEVBQUUsS0FBSyxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLFNBQVM7S0FDaEMsQ0FBQyxDQUFDO0lBQ0gsSUFBQSwyQkFBbUIsRUFBQyxNQUFNLEVBQUUsS0FBSyxDQUFDLENBQUM7QUFDdkMsQ0FBQyxDQUFDO0FBTFcsUUFBQSxXQUFXLGVBS3RCO0FBRUssSUFBTSxVQUFVLEdBQUcsVUFBQyxHQUFZLElBQUssT0FBQSxDQUFDLENBQUMsR0FBRyxJQUFJLElBQUEsZ0JBQUssRUFBQyxHQUFHLENBQUMsRUFBbkIsQ0FBbUIsQ0FBQztBQUFuRCxRQUFBLFVBQVUsY0FBeUMifQ== |
{ | ||
"name": "@uxf/wysiwyg", | ||
"version": "1.2.5", | ||
"version": "1.2.8", | ||
"description": "UXF Wysiwyg editor", | ||
@@ -5,0 +5,0 @@ "author": "Robin Dvorak <dvorak@uxf.cz>", |
@@ -1,2 +0,2 @@ | ||
# UXF Wysiwyg editor | ||
# DEPRECATED UXF Wysiwyg editor | ||
[![npm](https://img.shields.io/npm/v/@uxf/wysiwyg)](https://www.npmjs.com/package/@uxf/wysiwyg) | ||
@@ -3,0 +3,0 @@ [![size](https://img.shields.io/bundlephobia/min/@uxf/wysiwyg)](https://www.npmjs.com/package/@uxf/wysiwyg) |
@@ -15,2 +15,3 @@ import { CSSProperties, FC } from "react"; | ||
export declare type ImageUrlClient = (uuid: string, extension: string, namespace?: string) => string; | ||
export declare type VideoUrlClient = ImageUrlClient; | ||
export declare type ImageUploadHandler = (file: File, namespace: string) => Promise<{ | ||
@@ -25,2 +26,3 @@ id: number; | ||
}>; | ||
export declare type VideoUploadHandler = ImageUploadHandler; | ||
export declare type FontStyle = "italic" | "bold" | "underline" | "code"; | ||
@@ -55,3 +57,8 @@ export declare type LeafMarks = FontStyle; | ||
export interface EditorVideoElement extends EditorBlockElement { | ||
uuid?: string; | ||
extension?: string; | ||
name: string; | ||
namespace?: string; | ||
type: "video"; | ||
uploadedAt: "YYYY-MM-DD"; | ||
url: string; | ||
@@ -98,3 +105,3 @@ } | ||
getActiveVideo: (editor: UXFEditor) => EditorVideoElement | null; | ||
insertVideo: (editor: UXFEditor, url: string, range?: Range | null) => void; | ||
insertVideo: (editor: UXFEditor, video: EditorVideoElement, range?: Range | null) => void; | ||
isValidUrl: (url?: string) => boolean; | ||
@@ -114,3 +121,3 @@ } | ||
} | ||
export declare type EditorElementPlugins = EditorElementPlugin | EditorImageElementPlugin; | ||
export declare type EditorElementPlugins = EditorElementPlugin | EditorImageElementPlugin | EditorVideoElementPlugin; | ||
export interface EditorLeafPlugin { | ||
@@ -124,3 +131,3 @@ toolbarButton: FC<ToolbarButtonProps>; | ||
} | ||
export declare type EditorPlugin = EditorElementPlugin | EditorLeafPlugin | ToolbarButtonDivider | EditorImageElementPlugin; | ||
export declare type EditorPlugin = EditorElementPlugin | EditorLeafPlugin | ToolbarButtonDivider | EditorImageElementPlugin | EditorVideoElementPlugin; | ||
export interface ToolbarButtonProps { | ||
@@ -141,2 +148,10 @@ editor: UXFEditor; | ||
} | ||
export interface EditorVideoElementPlugin { | ||
toolbarButton: FC<ToolbarVideoButtonProps>; | ||
editorElementRenderer: FC<EditorVideoElementRendererProps>; | ||
type: string; | ||
videoUploadHandler: VideoUploadHandler; | ||
videoUrlClient: VideoUrlClient; | ||
videoNamespace: string; | ||
} | ||
export interface ToolbarImageButtonProps extends ToolbarButtonProps { | ||
@@ -146,2 +161,6 @@ imageUploadHandler: ImageUploadHandler; | ||
} | ||
export interface ToolbarVideoButtonProps extends ToolbarButtonProps { | ||
videoUploadHandler: VideoUploadHandler; | ||
videoNamespace: string; | ||
} | ||
export interface EditorImageElementRendererProps extends EditorElementRendererProps { | ||
@@ -151,2 +170,6 @@ imageUrlClient: ImageUrlClient; | ||
} | ||
export interface EditorVideoElementRendererProps extends EditorElementRendererProps { | ||
videoUrlClient: VideoUrlClient; | ||
videoNamespace: string; | ||
} | ||
export interface ToolbarProps { | ||
@@ -153,0 +176,0 @@ plugins: EditorPlugin[]; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110729
1345