@lumir-company/editor 0.4.5 → 0.4.7
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 +1299 -1299
- package/dist/index.d.mts +32 -64
- package/dist/index.d.ts +32 -64
- package/dist/index.js +609 -353
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +595 -339
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +977 -977
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -348,6 +348,38 @@ declare const schema: BlockNoteSchema<_blocknote_core.BlockSchemaFromSpecs<{
|
|
|
348
348
|
readonly content: "none";
|
|
349
349
|
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
350
350
|
};
|
|
351
|
+
video: {
|
|
352
|
+
config: {
|
|
353
|
+
readonly type: "video";
|
|
354
|
+
readonly propSchema: {
|
|
355
|
+
readonly url: {
|
|
356
|
+
readonly default: "";
|
|
357
|
+
};
|
|
358
|
+
readonly previewWidth: {
|
|
359
|
+
readonly default: 640;
|
|
360
|
+
};
|
|
361
|
+
readonly previewHeight: {
|
|
362
|
+
readonly default: 360;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
readonly content: "none";
|
|
366
|
+
};
|
|
367
|
+
implementation: _blocknote_core.TiptapBlockImplementation<{
|
|
368
|
+
readonly type: "video";
|
|
369
|
+
readonly propSchema: {
|
|
370
|
+
readonly url: {
|
|
371
|
+
readonly default: "";
|
|
372
|
+
};
|
|
373
|
+
readonly previewWidth: {
|
|
374
|
+
readonly default: 640;
|
|
375
|
+
};
|
|
376
|
+
readonly previewHeight: {
|
|
377
|
+
readonly default: 360;
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
readonly content: "none";
|
|
381
|
+
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
382
|
+
};
|
|
351
383
|
paragraph: {
|
|
352
384
|
config: {
|
|
353
385
|
type: "paragraph";
|
|
@@ -758,70 +790,6 @@ declare const schema: BlockNoteSchema<_blocknote_core.BlockSchemaFromSpecs<{
|
|
|
758
790
|
fileBlockAccept: string[];
|
|
759
791
|
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
760
792
|
};
|
|
761
|
-
video: {
|
|
762
|
-
config: {
|
|
763
|
-
type: "video";
|
|
764
|
-
propSchema: {
|
|
765
|
-
textAlignment: {
|
|
766
|
-
default: "left";
|
|
767
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
768
|
-
};
|
|
769
|
-
backgroundColor: {
|
|
770
|
-
default: "default";
|
|
771
|
-
};
|
|
772
|
-
name: {
|
|
773
|
-
default: "";
|
|
774
|
-
};
|
|
775
|
-
url: {
|
|
776
|
-
default: "";
|
|
777
|
-
};
|
|
778
|
-
caption: {
|
|
779
|
-
default: "";
|
|
780
|
-
};
|
|
781
|
-
showPreview: {
|
|
782
|
-
default: true;
|
|
783
|
-
};
|
|
784
|
-
previewWidth: {
|
|
785
|
-
default: undefined;
|
|
786
|
-
type: "number";
|
|
787
|
-
};
|
|
788
|
-
};
|
|
789
|
-
content: "none";
|
|
790
|
-
isFileBlock: true;
|
|
791
|
-
fileBlockAccept: string[];
|
|
792
|
-
};
|
|
793
|
-
implementation: _blocknote_core.TiptapBlockImplementation<{
|
|
794
|
-
type: "video";
|
|
795
|
-
propSchema: {
|
|
796
|
-
textAlignment: {
|
|
797
|
-
default: "left";
|
|
798
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
799
|
-
};
|
|
800
|
-
backgroundColor: {
|
|
801
|
-
default: "default";
|
|
802
|
-
};
|
|
803
|
-
name: {
|
|
804
|
-
default: "";
|
|
805
|
-
};
|
|
806
|
-
url: {
|
|
807
|
-
default: "";
|
|
808
|
-
};
|
|
809
|
-
caption: {
|
|
810
|
-
default: "";
|
|
811
|
-
};
|
|
812
|
-
showPreview: {
|
|
813
|
-
default: true;
|
|
814
|
-
};
|
|
815
|
-
previewWidth: {
|
|
816
|
-
default: undefined;
|
|
817
|
-
type: "number";
|
|
818
|
-
};
|
|
819
|
-
};
|
|
820
|
-
content: "none";
|
|
821
|
-
isFileBlock: true;
|
|
822
|
-
fileBlockAccept: string[];
|
|
823
|
-
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
824
|
-
};
|
|
825
793
|
audio: {
|
|
826
794
|
config: {
|
|
827
795
|
type: "audio";
|
package/dist/index.d.ts
CHANGED
|
@@ -348,6 +348,38 @@ declare const schema: BlockNoteSchema<_blocknote_core.BlockSchemaFromSpecs<{
|
|
|
348
348
|
readonly content: "none";
|
|
349
349
|
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
350
350
|
};
|
|
351
|
+
video: {
|
|
352
|
+
config: {
|
|
353
|
+
readonly type: "video";
|
|
354
|
+
readonly propSchema: {
|
|
355
|
+
readonly url: {
|
|
356
|
+
readonly default: "";
|
|
357
|
+
};
|
|
358
|
+
readonly previewWidth: {
|
|
359
|
+
readonly default: 640;
|
|
360
|
+
};
|
|
361
|
+
readonly previewHeight: {
|
|
362
|
+
readonly default: 360;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
readonly content: "none";
|
|
366
|
+
};
|
|
367
|
+
implementation: _blocknote_core.TiptapBlockImplementation<{
|
|
368
|
+
readonly type: "video";
|
|
369
|
+
readonly propSchema: {
|
|
370
|
+
readonly url: {
|
|
371
|
+
readonly default: "";
|
|
372
|
+
};
|
|
373
|
+
readonly previewWidth: {
|
|
374
|
+
readonly default: 640;
|
|
375
|
+
};
|
|
376
|
+
readonly previewHeight: {
|
|
377
|
+
readonly default: 360;
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
readonly content: "none";
|
|
381
|
+
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
382
|
+
};
|
|
351
383
|
paragraph: {
|
|
352
384
|
config: {
|
|
353
385
|
type: "paragraph";
|
|
@@ -758,70 +790,6 @@ declare const schema: BlockNoteSchema<_blocknote_core.BlockSchemaFromSpecs<{
|
|
|
758
790
|
fileBlockAccept: string[];
|
|
759
791
|
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
760
792
|
};
|
|
761
|
-
video: {
|
|
762
|
-
config: {
|
|
763
|
-
type: "video";
|
|
764
|
-
propSchema: {
|
|
765
|
-
textAlignment: {
|
|
766
|
-
default: "left";
|
|
767
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
768
|
-
};
|
|
769
|
-
backgroundColor: {
|
|
770
|
-
default: "default";
|
|
771
|
-
};
|
|
772
|
-
name: {
|
|
773
|
-
default: "";
|
|
774
|
-
};
|
|
775
|
-
url: {
|
|
776
|
-
default: "";
|
|
777
|
-
};
|
|
778
|
-
caption: {
|
|
779
|
-
default: "";
|
|
780
|
-
};
|
|
781
|
-
showPreview: {
|
|
782
|
-
default: true;
|
|
783
|
-
};
|
|
784
|
-
previewWidth: {
|
|
785
|
-
default: undefined;
|
|
786
|
-
type: "number";
|
|
787
|
-
};
|
|
788
|
-
};
|
|
789
|
-
content: "none";
|
|
790
|
-
isFileBlock: true;
|
|
791
|
-
fileBlockAccept: string[];
|
|
792
|
-
};
|
|
793
|
-
implementation: _blocknote_core.TiptapBlockImplementation<{
|
|
794
|
-
type: "video";
|
|
795
|
-
propSchema: {
|
|
796
|
-
textAlignment: {
|
|
797
|
-
default: "left";
|
|
798
|
-
values: readonly ["left", "center", "right", "justify"];
|
|
799
|
-
};
|
|
800
|
-
backgroundColor: {
|
|
801
|
-
default: "default";
|
|
802
|
-
};
|
|
803
|
-
name: {
|
|
804
|
-
default: "";
|
|
805
|
-
};
|
|
806
|
-
url: {
|
|
807
|
-
default: "";
|
|
808
|
-
};
|
|
809
|
-
caption: {
|
|
810
|
-
default: "";
|
|
811
|
-
};
|
|
812
|
-
showPreview: {
|
|
813
|
-
default: true;
|
|
814
|
-
};
|
|
815
|
-
previewWidth: {
|
|
816
|
-
default: undefined;
|
|
817
|
-
type: "number";
|
|
818
|
-
};
|
|
819
|
-
};
|
|
820
|
-
content: "none";
|
|
821
|
-
isFileBlock: true;
|
|
822
|
-
fileBlockAccept: string[];
|
|
823
|
-
}, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
|
|
824
|
-
};
|
|
825
793
|
audio: {
|
|
826
794
|
config: {
|
|
827
795
|
type: "audio";
|