@uxf/wysiwyg 1.2.15 → 1.2.17

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/wysiwyg",
3
- "version": "1.2.15",
3
+ "version": "1.2.17",
4
4
  "description": "UXF Wysiwyg editor",
5
5
  "author": "Robin Dvorak <dvorak@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/wysiwyg",
package/types.d.ts CHANGED
@@ -145,6 +145,7 @@ export interface EditorImageElementPlugin {
145
145
  imageNamespace: string;
146
146
  }
147
147
  export interface EditorVideoElementPlugin {
148
+ isOnlyVideoUrlRequired?: boolean;
148
149
  toolbarButton: FC<ToolbarVideoButtonProps>;
149
150
  editorElementRenderer: FC<EditorVideoElementRendererProps>;
150
151
  type: string;
@@ -157,6 +158,7 @@ export interface ToolbarImageButtonProps extends ToolbarButtonProps {
157
158
  imageNamespace: string;
158
159
  }
159
160
  export interface ToolbarVideoButtonProps extends ToolbarButtonProps {
161
+ isOnlyVideoUrlRequired?: boolean;
160
162
  videoThumbnailImageUploadHandler: VideoThumbnailImageUploadHandler;
161
163
  videoThumbnailImageNamespace: string;
162
164
  }