@bigbinary/neeto-editor 1.25.14 → 1.25.15

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 (3) hide show
  1. package/index.cjs.js +248 -152
  2. package/index.js +248 -152
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -71183,7 +71183,7 @@ var validateLoomUrl = function validateLoomUrl(url) {
71183
71183
 
71184
71184
  function cov_3ld39egr5() {
71185
71185
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Embeds/index.jsx";
71186
- var hash = "6fe437574a82a528c075f6ffee4f876f2ff53143";
71186
+ var hash = "bcf3a4a110cb7a4d0cb0e48ffdbb6e718b80fab2";
71187
71187
  var global = new Function("return this")();
71188
71188
  var gcv = "__coverage__";
71189
71189
  var coverageData = {
@@ -71195,7 +71195,7 @@ function cov_3ld39egr5() {
71195
71195
  column: 20
71196
71196
  },
71197
71197
  end: {
71198
- line: 85,
71198
+ line: 95,
71199
71199
  column: 1
71200
71200
  }
71201
71201
  },
@@ -71245,7 +71245,7 @@ function cov_3ld39egr5() {
71245
71245
  column: 22
71246
71246
  },
71247
71247
  end: {
71248
- line: 27,
71248
+ line: 37,
71249
71249
  column: 3
71250
71250
  }
71251
71251
  },
@@ -71265,7 +71265,7 @@ function cov_3ld39egr5() {
71265
71265
  column: 4
71266
71266
  },
71267
71267
  end: {
71268
- line: 26,
71268
+ line: 36,
71269
71269
  column: 5
71270
71270
  }
71271
71271
  },
@@ -71275,197 +71275,227 @@ function cov_3ld39egr5() {
71275
71275
  column: 6
71276
71276
  },
71277
71277
  end: {
71278
- line: 21,
71279
- column: 75
71278
+ line: 31,
71279
+ column: 15
71280
71280
  }
71281
71281
  },
71282
71282
  "9": {
71283
71283
  start: {
71284
- line: 22,
71284
+ line: 26,
71285
+ column: 37
71286
+ },
71287
+ end: {
71288
+ line: 26,
71289
+ column: 39
71290
+ }
71291
+ },
71292
+ "10": {
71293
+ start: {
71294
+ line: 27,
71295
+ column: 27
71296
+ },
71297
+ end: {
71298
+ line: 27,
71299
+ column: 58
71300
+ }
71301
+ },
71302
+ "11": {
71303
+ start: {
71304
+ line: 29,
71305
+ column: 10
71306
+ },
71307
+ end: {
71308
+ line: 29,
71309
+ column: 75
71310
+ }
71311
+ },
71312
+ "12": {
71313
+ start: {
71314
+ line: 32,
71285
71315
  column: 6
71286
71316
  },
71287
71317
  end: {
71288
- line: 22,
71318
+ line: 32,
71289
71319
  column: 22
71290
71320
  }
71291
71321
  },
71292
- "10": {
71322
+ "13": {
71293
71323
  start: {
71294
- line: 23,
71324
+ line: 33,
71295
71325
  column: 6
71296
71326
  },
71297
71327
  end: {
71298
- line: 23,
71328
+ line: 33,
71299
71329
  column: 33
71300
71330
  }
71301
71331
  },
71302
- "11": {
71332
+ "14": {
71303
71333
  start: {
71304
- line: 25,
71334
+ line: 35,
71305
71335
  column: 6
71306
71336
  },
71307
71337
  end: {
71308
- line: 25,
71338
+ line: 35,
71309
71339
  column: 21
71310
71340
  }
71311
71341
  },
71312
- "12": {
71342
+ "15": {
71313
71343
  start: {
71314
- line: 29,
71344
+ line: 39,
71315
71345
  column: 23
71316
71346
  },
71317
71347
  end: {
71318
- line: 37,
71348
+ line: 47,
71319
71349
  column: 3
71320
71350
  }
71321
71351
  },
71322
- "13": {
71352
+ "16": {
71323
71353
  start: {
71324
- line: 30,
71354
+ line: 40,
71325
71355
  column: 4
71326
71356
  },
71327
71357
  end: {
71328
- line: 36,
71358
+ line: 46,
71329
71359
  column: 5
71330
71360
  }
71331
71361
  },
71332
- "14": {
71362
+ "17": {
71333
71363
  start: {
71334
- line: 31,
71364
+ line: 41,
71335
71365
  column: 6
71336
71366
  },
71337
71367
  end: {
71338
- line: 31,
71368
+ line: 41,
71339
71369
  column: 22
71340
71370
  }
71341
71371
  },
71342
- "15": {
71372
+ "18": {
71343
71373
  start: {
71344
- line: 32,
71374
+ line: 42,
71345
71375
  column: 6
71346
71376
  },
71347
71377
  end: {
71348
- line: 32,
71378
+ line: 42,
71349
71379
  column: 34
71350
71380
  }
71351
71381
  },
71352
- "16": {
71382
+ "19": {
71353
71383
  start: {
71354
- line: 34,
71384
+ line: 44,
71355
71385
  column: 6
71356
71386
  },
71357
71387
  end: {
71358
- line: 34,
71388
+ line: 44,
71359
71389
  column: 21
71360
71390
  }
71361
71391
  },
71362
- "17": {
71392
+ "20": {
71363
71393
  start: {
71364
- line: 35,
71394
+ line: 45,
71365
71395
  column: 6
71366
71396
  },
71367
71397
  end: {
71368
- line: 35,
71398
+ line: 45,
71369
71399
  column: 34
71370
71400
  }
71371
71401
  },
71372
- "18": {
71402
+ "21": {
71373
71403
  start: {
71374
- line: 39,
71404
+ line: 49,
71375
71405
  column: 22
71376
71406
  },
71377
71407
  end: {
71378
- line: 43,
71408
+ line: 53,
71379
71409
  column: 3
71380
71410
  }
71381
71411
  },
71382
- "19": {
71412
+ "22": {
71383
71413
  start: {
71384
- line: 40,
71414
+ line: 50,
71385
71415
  column: 4
71386
71416
  },
71387
71417
  end: {
71388
- line: 40,
71418
+ line: 50,
71389
71419
  column: 20
71390
71420
  }
71391
71421
  },
71392
- "20": {
71422
+ "23": {
71393
71423
  start: {
71394
- line: 41,
71424
+ line: 51,
71395
71425
  column: 4
71396
71426
  },
71397
71427
  end: {
71398
- line: 41,
71428
+ line: 51,
71399
71429
  column: 20
71400
71430
  }
71401
71431
  },
71402
- "21": {
71432
+ "24": {
71403
71433
  start: {
71404
- line: 42,
71434
+ line: 52,
71405
71435
  column: 4
71406
71436
  },
71407
71437
  end: {
71408
- line: 42,
71438
+ line: 52,
71409
71439
  column: 31
71410
71440
  }
71411
71441
  },
71412
- "22": {
71442
+ "25": {
71413
71443
  start: {
71414
- line: 45,
71444
+ line: 55,
71415
71445
  column: 24
71416
71446
  },
71417
71447
  end: {
71418
- line: 51,
71448
+ line: 61,
71419
71449
  column: 3
71420
71450
  }
71421
71451
  },
71422
- "23": {
71452
+ "26": {
71423
71453
  start: {
71424
- line: 46,
71454
+ line: 56,
71425
71455
  column: 4
71426
71456
  },
71427
71457
  end: {
71428
- line: 50,
71458
+ line: 60,
71429
71459
  column: 5
71430
71460
  }
71431
71461
  },
71432
- "24": {
71462
+ "27": {
71433
71463
  start: {
71434
- line: 47,
71464
+ line: 57,
71435
71465
  column: 6
71436
71466
  },
71437
71467
  end: {
71438
- line: 47,
71468
+ line: 57,
71439
71469
  column: 20
71440
71470
  }
71441
71471
  },
71442
- "25": {
71472
+ "28": {
71443
71473
  start: {
71444
- line: 48,
71474
+ line: 58,
71445
71475
  column: 11
71446
71476
  },
71447
71477
  end: {
71448
- line: 50,
71478
+ line: 60,
71449
71479
  column: 5
71450
71480
  }
71451
71481
  },
71452
- "26": {
71482
+ "29": {
71453
71483
  start: {
71454
- line: 49,
71484
+ line: 59,
71455
71485
  column: 6
71456
71486
  },
71457
71487
  end: {
71458
- line: 49,
71488
+ line: 59,
71459
71489
  column: 20
71460
71490
  }
71461
71491
  },
71462
- "27": {
71492
+ "30": {
71463
71493
  start: {
71464
- line: 53,
71494
+ line: 63,
71465
71495
  column: 2
71466
71496
  },
71467
71497
  end: {
71468
- line: 84,
71498
+ line: 94,
71469
71499
  column: 4
71470
71500
  }
71471
71501
  }
@@ -71489,7 +71519,7 @@ function cov_3ld39egr5() {
71489
71519
  column: 75
71490
71520
  },
71491
71521
  end: {
71492
- line: 85,
71522
+ line: 95,
71493
71523
  column: 1
71494
71524
  }
71495
71525
  },
@@ -71513,7 +71543,7 @@ function cov_3ld39egr5() {
71513
71543
  column: 28
71514
71544
  },
71515
71545
  end: {
71516
- line: 27,
71546
+ line: 37,
71517
71547
  column: 3
71518
71548
  }
71519
71549
  },
@@ -71523,36 +71553,36 @@ function cov_3ld39egr5() {
71523
71553
  name: "(anonymous_2)",
71524
71554
  decl: {
71525
71555
  start: {
71526
- line: 29,
71527
- column: 23
71556
+ line: 25,
71557
+ column: 17
71528
71558
  },
71529
71559
  end: {
71530
- line: 29,
71531
- column: 24
71560
+ line: 25,
71561
+ column: 18
71532
71562
  }
71533
71563
  },
71534
71564
  loc: {
71535
71565
  start: {
71536
- line: 29,
71537
- column: 28
71566
+ line: 25,
71567
+ column: 39
71538
71568
  },
71539
71569
  end: {
71540
- line: 37,
71541
- column: 3
71570
+ line: 30,
71571
+ column: 9
71542
71572
  }
71543
71573
  },
71544
- line: 29
71574
+ line: 25
71545
71575
  },
71546
71576
  "3": {
71547
71577
  name: "(anonymous_3)",
71548
71578
  decl: {
71549
71579
  start: {
71550
71580
  line: 39,
71551
- column: 22
71581
+ column: 23
71552
71582
  },
71553
71583
  end: {
71554
71584
  line: 39,
71555
- column: 23
71585
+ column: 24
71556
71586
  }
71557
71587
  },
71558
71588
  loc: {
@@ -71561,7 +71591,7 @@ function cov_3ld39egr5() {
71561
71591
  column: 28
71562
71592
  },
71563
71593
  end: {
71564
- line: 43,
71594
+ line: 47,
71565
71595
  column: 3
71566
71596
  }
71567
71597
  },
@@ -71571,25 +71601,49 @@ function cov_3ld39egr5() {
71571
71601
  name: "(anonymous_4)",
71572
71602
  decl: {
71573
71603
  start: {
71574
- line: 45,
71604
+ line: 49,
71605
+ column: 22
71606
+ },
71607
+ end: {
71608
+ line: 49,
71609
+ column: 23
71610
+ }
71611
+ },
71612
+ loc: {
71613
+ start: {
71614
+ line: 49,
71615
+ column: 28
71616
+ },
71617
+ end: {
71618
+ line: 53,
71619
+ column: 3
71620
+ }
71621
+ },
71622
+ line: 49
71623
+ },
71624
+ "5": {
71625
+ name: "(anonymous_5)",
71626
+ decl: {
71627
+ start: {
71628
+ line: 55,
71575
71629
  column: 24
71576
71630
  },
71577
71631
  end: {
71578
- line: 45,
71632
+ line: 55,
71579
71633
  column: 25
71580
71634
  }
71581
71635
  },
71582
71636
  loc: {
71583
71637
  start: {
71584
- line: 45,
71638
+ line: 55,
71585
71639
  column: 29
71586
71640
  },
71587
71641
  end: {
71588
- line: 51,
71642
+ line: 61,
71589
71643
  column: 3
71590
71644
  }
71591
71645
  },
71592
- line: 45
71646
+ line: 55
71593
71647
  }
71594
71648
  },
71595
71649
  branchMap: {
@@ -71600,7 +71654,7 @@ function cov_3ld39egr5() {
71600
71654
  column: 4
71601
71655
  },
71602
71656
  end: {
71603
- line: 26,
71657
+ line: 36,
71604
71658
  column: 5
71605
71659
  }
71606
71660
  },
@@ -71611,16 +71665,16 @@ function cov_3ld39egr5() {
71611
71665
  column: 4
71612
71666
  },
71613
71667
  end: {
71614
- line: 26,
71668
+ line: 36,
71615
71669
  column: 5
71616
71670
  }
71617
71671
  }, {
71618
71672
  start: {
71619
- line: 24,
71673
+ line: 34,
71620
71674
  column: 11
71621
71675
  },
71622
71676
  end: {
71623
- line: 26,
71677
+ line: 36,
71624
71678
  column: 5
71625
71679
  }
71626
71680
  }],
@@ -71629,88 +71683,88 @@ function cov_3ld39egr5() {
71629
71683
  "1": {
71630
71684
  loc: {
71631
71685
  start: {
71632
- line: 30,
71686
+ line: 40,
71633
71687
  column: 4
71634
71688
  },
71635
71689
  end: {
71636
- line: 36,
71690
+ line: 46,
71637
71691
  column: 5
71638
71692
  }
71639
71693
  },
71640
71694
  type: "if",
71641
71695
  locations: [{
71642
71696
  start: {
71643
- line: 30,
71697
+ line: 40,
71644
71698
  column: 4
71645
71699
  },
71646
71700
  end: {
71647
- line: 36,
71701
+ line: 46,
71648
71702
  column: 5
71649
71703
  }
71650
71704
  }, {
71651
71705
  start: {
71652
- line: 33,
71706
+ line: 43,
71653
71707
  column: 11
71654
71708
  },
71655
71709
  end: {
71656
- line: 36,
71710
+ line: 46,
71657
71711
  column: 5
71658
71712
  }
71659
71713
  }],
71660
- line: 30
71714
+ line: 40
71661
71715
  },
71662
71716
  "2": {
71663
71717
  loc: {
71664
71718
  start: {
71665
- line: 46,
71719
+ line: 56,
71666
71720
  column: 4
71667
71721
  },
71668
71722
  end: {
71669
- line: 50,
71723
+ line: 60,
71670
71724
  column: 5
71671
71725
  }
71672
71726
  },
71673
71727
  type: "if",
71674
71728
  locations: [{
71675
71729
  start: {
71676
- line: 46,
71730
+ line: 56,
71677
71731
  column: 4
71678
71732
  },
71679
71733
  end: {
71680
- line: 50,
71734
+ line: 60,
71681
71735
  column: 5
71682
71736
  }
71683
71737
  }, {
71684
71738
  start: {
71685
- line: 48,
71739
+ line: 58,
71686
71740
  column: 11
71687
71741
  },
71688
71742
  end: {
71689
- line: 50,
71743
+ line: 60,
71690
71744
  column: 5
71691
71745
  }
71692
71746
  }],
71693
- line: 46
71747
+ line: 56
71694
71748
  },
71695
71749
  "3": {
71696
71750
  loc: {
71697
71751
  start: {
71698
- line: 48,
71752
+ line: 58,
71699
71753
  column: 11
71700
71754
  },
71701
71755
  end: {
71702
- line: 50,
71756
+ line: 60,
71703
71757
  column: 5
71704
71758
  }
71705
71759
  },
71706
71760
  type: "if",
71707
71761
  locations: [{
71708
71762
  start: {
71709
- line: 48,
71763
+ line: 58,
71710
71764
  column: 11
71711
71765
  },
71712
71766
  end: {
71713
- line: 50,
71767
+ line: 60,
71714
71768
  column: 5
71715
71769
  }
71716
71770
  }, {
@@ -71723,73 +71777,73 @@ function cov_3ld39egr5() {
71723
71777
  column: undefined
71724
71778
  }
71725
71779
  }],
71726
- line: 48
71780
+ line: 58
71727
71781
  },
71728
71782
  "4": {
71729
71783
  loc: {
71730
71784
  start: {
71731
- line: 65,
71785
+ line: 75,
71732
71786
  column: 17
71733
71787
  },
71734
71788
  end: {
71735
- line: 65,
71789
+ line: 75,
71736
71790
  column: 52
71737
71791
  }
71738
71792
  },
71739
71793
  type: "binary-expr",
71740
71794
  locations: [{
71741
71795
  start: {
71742
- line: 65,
71796
+ line: 75,
71743
71797
  column: 17
71744
71798
  },
71745
71799
  end: {
71746
- line: 65,
71800
+ line: 75,
71747
71801
  column: 22
71748
71802
  }
71749
71803
  }, {
71750
71804
  start: {
71751
- line: 65,
71805
+ line: 75,
71752
71806
  column: 26
71753
71807
  },
71754
71808
  end: {
71755
- line: 65,
71809
+ line: 75,
71756
71810
  column: 52
71757
71811
  }
71758
71812
  }],
71759
- line: 65
71813
+ line: 75
71760
71814
  },
71761
71815
  "5": {
71762
71816
  loc: {
71763
71817
  start: {
71764
- line: 78,
71818
+ line: 88,
71765
71819
  column: 20
71766
71820
  },
71767
71821
  end: {
71768
- line: 78,
71822
+ line: 88,
71769
71823
  column: 46
71770
71824
  }
71771
71825
  },
71772
71826
  type: "binary-expr",
71773
71827
  locations: [{
71774
71828
  start: {
71775
- line: 78,
71829
+ line: 88,
71776
71830
  column: 20
71777
71831
  },
71778
71832
  end: {
71779
- line: 78,
71833
+ line: 88,
71780
71834
  column: 25
71781
71835
  }
71782
71836
  }, {
71783
71837
  start: {
71784
- line: 78,
71838
+ line: 88,
71785
71839
  column: 29
71786
71840
  },
71787
71841
  end: {
71788
- line: 78,
71842
+ line: 88,
71789
71843
  column: 46
71790
71844
  }
71791
71845
  }],
71792
- line: 78
71846
+ line: 88
71793
71847
  }
71794
71848
  },
71795
71849
  s: {
@@ -71820,14 +71874,18 @@ function cov_3ld39egr5() {
71820
71874
  "24": 0,
71821
71875
  "25": 0,
71822
71876
  "26": 0,
71823
- "27": 0
71877
+ "27": 0,
71878
+ "28": 0,
71879
+ "29": 0,
71880
+ "30": 0
71824
71881
  },
71825
71882
  f: {
71826
71883
  "0": 0,
71827
71884
  "1": 0,
71828
71885
  "2": 0,
71829
71886
  "3": 0,
71830
- "4": 0
71887
+ "4": 0,
71888
+ "5": 0
71831
71889
  },
71832
71890
  b: {
71833
71891
  "0": [0, 0],
@@ -71838,7 +71896,7 @@ function cov_3ld39egr5() {
71838
71896
  "5": [0, 0]
71839
71897
  },
71840
71898
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
71841
- hash: "6fe437574a82a528c075f6ffee4f876f2ff53143"
71899
+ hash: "bcf3a4a110cb7a4d0cb0e48ffdbb6e718b80fab2"
71842
71900
  };
71843
71901
  var coverage = global[gcv] || (global[gcv] = {});
71844
71902
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -71881,66 +71939,78 @@ var EmbedOption = function EmbedOption(_ref) {
71881
71939
  cov_3ld39egr5().s[8]++;
71882
71940
  editor.chain().focus().setExternalVideo({
71883
71941
  src: validatedUrl
71942
+ }).command(function (_ref7) {
71943
+ var tr = _ref7.tr,
71944
+ commands = _ref7.commands;
71945
+ cov_3ld39egr5().f[2]++;
71946
+ var _ref8 = (cov_3ld39egr5().s[9]++, tr),
71947
+ doc = _ref8.doc,
71948
+ selection = _ref8.selection;
71949
+ var position = (cov_3ld39egr5().s[10]++, doc.resolve(selection.to).end());
71950
+ cov_3ld39egr5().s[11]++;
71951
+ return commands.insertContentAt(position, {
71952
+ type: "paragraph"
71953
+ });
71884
71954
  }).run();
71885
- cov_3ld39egr5().s[9]++;
71955
+ cov_3ld39egr5().s[12]++;
71886
71956
  setEmbedUrl("");
71887
- cov_3ld39egr5().s[10]++;
71957
+ cov_3ld39egr5().s[13]++;
71888
71958
  setIsEmbedModalOpen(false);
71889
71959
  } else {
71890
71960
  cov_3ld39egr5().b[0][1]++;
71891
- cov_3ld39egr5().s[11]++;
71961
+ cov_3ld39egr5().s[14]++;
71892
71962
  setError(true);
71893
71963
  }
71894
71964
  };
71895
- cov_3ld39egr5().s[12]++;
71965
+ cov_3ld39egr5().s[15]++;
71896
71966
  var handleChange = function handleChange(e) {
71897
- cov_3ld39egr5().f[2]++;
71898
- cov_3ld39egr5().s[13]++;
71967
+ cov_3ld39egr5().f[3]++;
71968
+ cov_3ld39egr5().s[16]++;
71899
71969
  if (validateUrl(e.target.value)) {
71900
71970
  cov_3ld39egr5().b[1][0]++;
71901
- cov_3ld39egr5().s[14]++;
71971
+ cov_3ld39egr5().s[17]++;
71902
71972
  setError(false);
71903
- cov_3ld39egr5().s[15]++;
71973
+ cov_3ld39egr5().s[18]++;
71904
71974
  setEmbedUrl(e.target.value);
71905
71975
  } else {
71906
71976
  cov_3ld39egr5().b[1][1]++;
71907
- cov_3ld39egr5().s[16]++;
71977
+ cov_3ld39egr5().s[19]++;
71908
71978
  setError(true);
71909
- cov_3ld39egr5().s[17]++;
71979
+ cov_3ld39egr5().s[20]++;
71910
71980
  setEmbedUrl(e.target.value);
71911
71981
  }
71912
71982
  };
71913
- cov_3ld39egr5().s[18]++;
71983
+ cov_3ld39egr5().s[21]++;
71914
71984
  var handleClose = function handleClose() {
71915
- cov_3ld39egr5().f[3]++;
71916
- cov_3ld39egr5().s[19]++;
71985
+ cov_3ld39egr5().f[4]++;
71986
+ cov_3ld39egr5().s[22]++;
71917
71987
  setEmbedUrl("");
71918
- cov_3ld39egr5().s[20]++;
71988
+ cov_3ld39egr5().s[23]++;
71919
71989
  setError(false);
71920
- cov_3ld39egr5().s[21]++;
71990
+ cov_3ld39egr5().s[24]++;
71921
71991
  setIsEmbedModalOpen(false);
71922
71992
  };
71923
- cov_3ld39egr5().s[22]++;
71993
+ cov_3ld39egr5().s[25]++;
71924
71994
  var handleKeyDown = function handleKeyDown(e) {
71925
- cov_3ld39egr5().f[4]++;
71926
- cov_3ld39egr5().s[23]++;
71995
+ cov_3ld39egr5().f[5]++;
71996
+ cov_3ld39egr5().s[26]++;
71927
71997
  if (e.key === "Enter") {
71928
71998
  cov_3ld39egr5().b[2][0]++;
71929
- cov_3ld39egr5().s[24]++;
71999
+ cov_3ld39egr5().s[27]++;
71930
72000
  handleEmbed();
71931
72001
  } else {
71932
72002
  cov_3ld39egr5().b[2][1]++;
71933
- cov_3ld39egr5().s[25]++;
72003
+ cov_3ld39egr5().s[28]++;
71934
72004
  if (e.key === "Escape") {
71935
72005
  cov_3ld39egr5().b[3][0]++;
71936
- cov_3ld39egr5().s[26]++;
72006
+ cov_3ld39egr5().s[29]++;
71937
72007
  handleClose();
71938
72008
  } else {
71939
72009
  cov_3ld39egr5().b[3][1]++;
71940
72010
  }
71941
72011
  }
71942
72012
  };
71943
- cov_3ld39egr5().s[27]++;
72013
+ cov_3ld39egr5().s[30]++;
71944
72014
  return /*#__PURE__*/React__default.createElement(Modal, {
71945
72015
  initialFocusRef: inputRef,
71946
72016
  isOpen: isEmbedModalOpen,
@@ -80564,7 +80634,7 @@ var CustomCommands = Extension.create({
80564
80634
 
80565
80635
  function cov_xd1lqdp2c() {
80566
80636
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Embeds/ExtensionConfig.js";
80567
- var hash = "1952c586a6b09f868c7ed627e07e234686efbacd";
80637
+ var hash = "7af08054aaff81d7719d311bd77cec28ce338b6a";
80568
80638
  var global = new Function("return this")();
80569
80639
  var gcv = "__coverage__";
80570
80640
  var coverageData = {
@@ -80666,7 +80736,7 @@ function cov_xd1lqdp2c() {
80666
80736
  column: 4
80667
80737
  },
80668
80738
  end: {
80669
- line: 98,
80739
+ line: 106,
80670
80740
  column: 6
80671
80741
  }
80672
80742
  },
@@ -80706,7 +80776,7 @@ function cov_xd1lqdp2c() {
80706
80776
  column: 10
80707
80777
  },
80708
80778
  end: {
80709
- line: 95,
80779
+ line: 103,
80710
80780
  column: 11
80711
80781
  }
80712
80782
  },
@@ -80729,6 +80799,26 @@ function cov_xd1lqdp2c() {
80729
80799
  line: 94,
80730
80800
  column: 46
80731
80801
  }
80802
+ },
80803
+ "16": {
80804
+ start: {
80805
+ line: 95,
80806
+ column: 12
80807
+ },
80808
+ end: {
80809
+ line: 98,
80810
+ column: 14
80811
+ }
80812
+ },
80813
+ "17": {
80814
+ start: {
80815
+ line: 100,
80816
+ column: 12
80817
+ },
80818
+ end: {
80819
+ line: 102,
80820
+ column: 14
80821
+ }
80732
80822
  }
80733
80823
  },
80734
80824
  fnMap: {
@@ -80966,7 +81056,7 @@ function cov_xd1lqdp2c() {
80966
81056
  column: 18
80967
81057
  },
80968
81058
  end: {
80969
- line: 99,
81059
+ line: 107,
80970
81060
  column: 3
80971
81061
  }
80972
81062
  },
@@ -80990,7 +81080,7 @@ function cov_xd1lqdp2c() {
80990
81080
  column: 46
80991
81081
  },
80992
81082
  end: {
80993
- line: 96,
81083
+ line: 104,
80994
81084
  column: 9
80995
81085
  }
80996
81086
  },
@@ -81038,7 +81128,7 @@ function cov_xd1lqdp2c() {
81038
81128
  column: 10
81039
81129
  },
81040
81130
  end: {
81041
- line: 95,
81131
+ line: 103,
81042
81132
  column: 11
81043
81133
  }
81044
81134
  },
@@ -81049,7 +81139,7 @@ function cov_xd1lqdp2c() {
81049
81139
  column: 10
81050
81140
  },
81051
81141
  end: {
81052
- line: 95,
81142
+ line: 103,
81053
81143
  column: 11
81054
81144
  }
81055
81145
  }, {
@@ -81081,7 +81171,9 @@ function cov_xd1lqdp2c() {
81081
81171
  "12": 0,
81082
81172
  "13": 0,
81083
81173
  "14": 0,
81084
- "15": 0
81174
+ "15": 0,
81175
+ "16": 0,
81176
+ "17": 0
81085
81177
  },
81086
81178
  f: {
81087
81179
  "0": 0,
@@ -81101,7 +81193,7 @@ function cov_xd1lqdp2c() {
81101
81193
  "1": [0, 0]
81102
81194
  },
81103
81195
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
81104
- hash: "1952c586a6b09f868c7ed627e07e234686efbacd"
81196
+ hash: "7af08054aaff81d7719d311bd77cec28ce338b6a"
81105
81197
  };
81106
81198
  var coverage = global[gcv] || (global[gcv] = {});
81107
81199
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -81219,6 +81311,10 @@ var Embeds = Node$1.create({
81219
81311
  }));
81220
81312
  cov_xd1lqdp2c().s[15]++;
81221
81313
  state.tr.insert(range.from, node);
81314
+ cov_xd1lqdp2c().s[16]++;
81315
+ state.tr.insert(range.from + node.nodeSize + 1, state.schema.nodes.paragraph.create());
81316
+ cov_xd1lqdp2c().s[17]++;
81317
+ state.tr.setSelection(TextSelection.create(state.tr.doc, range.from + node.nodeSize + 1));
81222
81318
  } else {
81223
81319
  cov_xd1lqdp2c().b[1][1]++;
81224
81320
  }