Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uxf/wysiwyg

Package Overview
Dependencies
Maintainers
0
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uxf/wysiwyg - npm Package Compare versions

Comparing version 1.2.9 to 1.2.10

6

Editor/Slate/Element.js

@@ -30,4 +30,4 @@ "use strict";

}
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));
if ("videoThumbnailImageUrlClient" in plugin && "videoThumbnailImageNamespace" in plugin) {
return (react_1.default.createElement(plugin.editorElementRenderer, { attributes: attributes, element: element, key: "element-plugin-".concat(index), videoThumbnailImageNamespace: plugin.videoThumbnailImageNamespace, videoThumbnailImageUrlClient: plugin.videoThumbnailImageUrlClient }, children));
}

@@ -40,2 +40,2 @@ return (react_1.default.createElement(plugin.editorElementRenderer, { key: "element-plugin-".concat(index), attributes: attributes, element: element }, children));

exports.Element = Element;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRWxlbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9FZGl0b3IvU2xhdGUvRWxlbWVudC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxnREFBNEM7QUFJckMsSUFBTSxPQUFPLEdBQUcsVUFDbkIsS0FFQztJQUVPLElBQUEsVUFBVSxHQUFpQyxLQUFLLFdBQXRDLEVBQUUsUUFBUSxHQUF1QixLQUFLLFNBQTVCLEVBQUUsT0FBTyxHQUFjLEtBQUssUUFBbkIsRUFBRSxPQUFPLEdBQUssS0FBSyxRQUFWLENBQVc7SUFDekQsSUFBT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DTDtZQUVELE9BQU8sQ0FDSCw4QkFBQyxNQUFNLENBQUMscUJBQXFCLElBQ3pCLEdBQUcsRUFBRSx5QkFBa0IsS0FBSyxDQUFFLEVBQzlCLFVBQVUsRUFBRSxVQUFVLEVBQ3RCLE9BQU8sRUFBRSxPQUFPLElBRWYsUUFBUSxDQUNrQixDQUNsQyxDQUFDO1NBQ0w7UUFFRCxPQUFPLElBQUksQ0FBQztJQUNoQixDQUFDLENBQUMsQ0FDSCxDQUNOLENBQUM7QUFDTixDQUFDLENBQUM7QUEzRFcsUUFBQSxPQUFPLFdBMkRsQiJ9
{
"name": "@uxf/wysiwyg",
"version": "1.2.9",
"version": "1.2.10",
"description": "UXF Wysiwyg editor",

@@ -5,0 +5,0 @@ "author": "Robin Dvorak <dvorak@uxf.cz>",

@@ -16,3 +16,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 VideoThumbnailImageUrlClient = ImageUrlClient;
export declare type ImageUploadHandler = (file: File, namespace: string) => Promise<{

@@ -27,3 +27,3 @@ id: number;

}>;
export declare type VideoUploadHandler = ImageUploadHandler;
export declare type VideoThumbnailImageUploadHandler = ImageUploadHandler;
export declare type FontStyle = "italic" | "bold" | "underline" | "code";

@@ -147,5 +147,5 @@ export declare type LeafMarks = FontStyle;

type: string;
videoUploadHandler: VideoUploadHandler;
videoUrlClient: VideoUrlClient;
videoNamespace: string;
videoThumbnailImageUploadHandler: VideoThumbnailImageUploadHandler;
videoThumbnailImageUrlClient: VideoThumbnailImageUrlClient;
videoThumbnailImageNamespace: string;
}

@@ -157,4 +157,4 @@ export interface ToolbarImageButtonProps extends ToolbarButtonProps {

export interface ToolbarVideoButtonProps extends ToolbarButtonProps {
videoUploadHandler: VideoUploadHandler;
videoNamespace: string;
videoThumbnailImageUploadHandler: VideoThumbnailImageUploadHandler;
videoThumbnailImageNamespace: string;
}

@@ -166,4 +166,4 @@ export interface EditorImageElementRendererProps extends EditorElementRendererProps {

export interface EditorVideoElementRendererProps extends EditorElementRendererProps {
videoUrlClient: VideoUrlClient;
videoNamespace: string;
videoThumbnailImageUrlClient: VideoThumbnailImageUrlClient;
videoThumbnailImageNamespace: string;
}

@@ -170,0 +170,0 @@ export interface ToolbarProps {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc