@bigbinary/neeto-editor 1.26.5 → 1.26.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/index.js CHANGED
@@ -79086,6 +79086,495 @@ const StarterKit = Extension.create({
79086
79086
  },
79087
79087
  });
79088
79088
 
79089
+ function cov_17ka35tc9t() {
79090
+ var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/BackgroundColor/ExtensionConfig.js";
79091
+ var hash = "77628a9eb7976ae1d815c7a467bc38756dd39d33";
79092
+ var global = new Function("return this")();
79093
+ var gcv = "__coverage__";
79094
+ var coverageData = {
79095
+ path: "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/BackgroundColor/ExtensionConfig.js",
79096
+ statementMap: {
79097
+ "0": {
79098
+ start: {
79099
+ line: 8,
79100
+ column: 4
79101
+ },
79102
+ end: {
79103
+ line: 10,
79104
+ column: 6
79105
+ }
79106
+ },
79107
+ "1": {
79108
+ start: {
79109
+ line: 14,
79110
+ column: 4
79111
+ },
79112
+ end: {
79113
+ line: 34,
79114
+ column: 6
79115
+ }
79116
+ },
79117
+ "2": {
79118
+ start: {
79119
+ line: 21,
79120
+ column: 14
79121
+ },
79122
+ end: {
79123
+ line: 21,
79124
+ column: 65
79125
+ }
79126
+ },
79127
+ "3": {
79128
+ start: {
79129
+ line: 23,
79130
+ column: 14
79131
+ },
79132
+ end: {
79133
+ line: 25,
79134
+ column: 15
79135
+ }
79136
+ },
79137
+ "4": {
79138
+ start: {
79139
+ line: 24,
79140
+ column: 16
79141
+ },
79142
+ end: {
79143
+ line: 24,
79144
+ column: 26
79145
+ }
79146
+ },
79147
+ "5": {
79148
+ start: {
79149
+ line: 27,
79150
+ column: 14
79151
+ },
79152
+ end: {
79153
+ line: 29,
79154
+ column: 16
79155
+ }
79156
+ },
79157
+ "6": {
79158
+ start: {
79159
+ line: 38,
79160
+ column: 4
79161
+ },
79162
+ end: {
79163
+ line: 47,
79164
+ column: 6
79165
+ }
79166
+ },
79167
+ "7": {
79168
+ start: {
79169
+ line: 41,
79170
+ column: 8
79171
+ },
79172
+ end: {
79173
+ line: 42,
79174
+ column: 72
79175
+ }
79176
+ },
79177
+ "8": {
79178
+ start: {
79179
+ line: 42,
79180
+ column: 10
79181
+ },
79182
+ end: {
79183
+ line: 42,
79184
+ column: 72
79185
+ }
79186
+ },
79187
+ "9": {
79188
+ start: {
79189
+ line: 45,
79190
+ column: 8
79191
+ },
79192
+ end: {
79193
+ line: 46,
79194
+ column: 71
79195
+ }
79196
+ },
79197
+ "10": {
79198
+ start: {
79199
+ line: 46,
79200
+ column: 10
79201
+ },
79202
+ end: {
79203
+ line: 46,
79204
+ column: 71
79205
+ }
79206
+ }
79207
+ },
79208
+ fnMap: {
79209
+ "0": {
79210
+ name: "(anonymous_0)",
79211
+ decl: {
79212
+ start: {
79213
+ line: 7,
79214
+ column: 2
79215
+ },
79216
+ end: {
79217
+ line: 7,
79218
+ column: 3
79219
+ }
79220
+ },
79221
+ loc: {
79222
+ start: {
79223
+ line: 7,
79224
+ column: 15
79225
+ },
79226
+ end: {
79227
+ line: 11,
79228
+ column: 3
79229
+ }
79230
+ },
79231
+ line: 7
79232
+ },
79233
+ "1": {
79234
+ name: "(anonymous_1)",
79235
+ decl: {
79236
+ start: {
79237
+ line: 13,
79238
+ column: 2
79239
+ },
79240
+ end: {
79241
+ line: 13,
79242
+ column: 3
79243
+ }
79244
+ },
79245
+ loc: {
79246
+ start: {
79247
+ line: 13,
79248
+ column: 24
79249
+ },
79250
+ end: {
79251
+ line: 35,
79252
+ column: 3
79253
+ }
79254
+ },
79255
+ line: 13
79256
+ },
79257
+ "2": {
79258
+ name: "(anonymous_2)",
79259
+ decl: {
79260
+ start: {
79261
+ line: 20,
79262
+ column: 23
79263
+ },
79264
+ end: {
79265
+ line: 20,
79266
+ column: 24
79267
+ }
79268
+ },
79269
+ loc: {
79270
+ start: {
79271
+ line: 21,
79272
+ column: 14
79273
+ },
79274
+ end: {
79275
+ line: 21,
79276
+ column: 65
79277
+ }
79278
+ },
79279
+ line: 21
79280
+ },
79281
+ "3": {
79282
+ name: "(anonymous_3)",
79283
+ decl: {
79284
+ start: {
79285
+ line: 22,
79286
+ column: 24
79287
+ },
79288
+ end: {
79289
+ line: 22,
79290
+ column: 25
79291
+ }
79292
+ },
79293
+ loc: {
79294
+ start: {
79295
+ line: 22,
79296
+ column: 38
79297
+ },
79298
+ end: {
79299
+ line: 30,
79300
+ column: 13
79301
+ }
79302
+ },
79303
+ line: 22
79304
+ },
79305
+ "4": {
79306
+ name: "(anonymous_4)",
79307
+ decl: {
79308
+ start: {
79309
+ line: 37,
79310
+ column: 2
79311
+ },
79312
+ end: {
79313
+ line: 37,
79314
+ column: 3
79315
+ }
79316
+ },
79317
+ loc: {
79318
+ start: {
79319
+ line: 37,
79320
+ column: 16
79321
+ },
79322
+ end: {
79323
+ line: 48,
79324
+ column: 3
79325
+ }
79326
+ },
79327
+ line: 37
79328
+ },
79329
+ "5": {
79330
+ name: "(anonymous_5)",
79331
+ decl: {
79332
+ start: {
79333
+ line: 40,
79334
+ column: 8
79335
+ },
79336
+ end: {
79337
+ line: 40,
79338
+ column: 9
79339
+ }
79340
+ },
79341
+ loc: {
79342
+ start: {
79343
+ line: 41,
79344
+ column: 8
79345
+ },
79346
+ end: {
79347
+ line: 42,
79348
+ column: 72
79349
+ }
79350
+ },
79351
+ line: 41
79352
+ },
79353
+ "6": {
79354
+ name: "(anonymous_6)",
79355
+ decl: {
79356
+ start: {
79357
+ line: 41,
79358
+ column: 8
79359
+ },
79360
+ end: {
79361
+ line: 41,
79362
+ column: 9
79363
+ }
79364
+ },
79365
+ loc: {
79366
+ start: {
79367
+ line: 42,
79368
+ column: 10
79369
+ },
79370
+ end: {
79371
+ line: 42,
79372
+ column: 72
79373
+ }
79374
+ },
79375
+ line: 42
79376
+ },
79377
+ "7": {
79378
+ name: "(anonymous_7)",
79379
+ decl: {
79380
+ start: {
79381
+ line: 44,
79382
+ column: 8
79383
+ },
79384
+ end: {
79385
+ line: 44,
79386
+ column: 9
79387
+ }
79388
+ },
79389
+ loc: {
79390
+ start: {
79391
+ line: 45,
79392
+ column: 8
79393
+ },
79394
+ end: {
79395
+ line: 46,
79396
+ column: 71
79397
+ }
79398
+ },
79399
+ line: 45
79400
+ },
79401
+ "8": {
79402
+ name: "(anonymous_8)",
79403
+ decl: {
79404
+ start: {
79405
+ line: 45,
79406
+ column: 8
79407
+ },
79408
+ end: {
79409
+ line: 45,
79410
+ column: 9
79411
+ }
79412
+ },
79413
+ loc: {
79414
+ start: {
79415
+ line: 46,
79416
+ column: 10
79417
+ },
79418
+ end: {
79419
+ line: 46,
79420
+ column: 71
79421
+ }
79422
+ },
79423
+ line: 46
79424
+ }
79425
+ },
79426
+ branchMap: {
79427
+ "0": {
79428
+ loc: {
79429
+ start: {
79430
+ line: 23,
79431
+ column: 14
79432
+ },
79433
+ end: {
79434
+ line: 25,
79435
+ column: 15
79436
+ }
79437
+ },
79438
+ type: "if",
79439
+ locations: [{
79440
+ start: {
79441
+ line: 23,
79442
+ column: 14
79443
+ },
79444
+ end: {
79445
+ line: 25,
79446
+ column: 15
79447
+ }
79448
+ }, {
79449
+ start: {
79450
+ line: undefined,
79451
+ column: undefined
79452
+ },
79453
+ end: {
79454
+ line: undefined,
79455
+ column: undefined
79456
+ }
79457
+ }],
79458
+ line: 23
79459
+ }
79460
+ },
79461
+ s: {
79462
+ "0": 0,
79463
+ "1": 0,
79464
+ "2": 0,
79465
+ "3": 0,
79466
+ "4": 0,
79467
+ "5": 0,
79468
+ "6": 0,
79469
+ "7": 0,
79470
+ "8": 0,
79471
+ "9": 0,
79472
+ "10": 0
79473
+ },
79474
+ f: {
79475
+ "0": 0,
79476
+ "1": 0,
79477
+ "2": 0,
79478
+ "3": 0,
79479
+ "4": 0,
79480
+ "5": 0,
79481
+ "6": 0,
79482
+ "7": 0,
79483
+ "8": 0
79484
+ },
79485
+ b: {
79486
+ "0": [0, 0]
79487
+ },
79488
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
79489
+ hash: "77628a9eb7976ae1d815c7a467bc38756dd39d33"
79490
+ };
79491
+ var coverage = global[gcv] || (global[gcv] = {});
79492
+ if (!coverage[path] || coverage[path].hash !== hash) {
79493
+ coverage[path] = coverageData;
79494
+ }
79495
+ var actualCoverage = coverage[path];
79496
+ {
79497
+ // @ts-ignore
79498
+ cov_17ka35tc9t = function () {
79499
+ return actualCoverage;
79500
+ };
79501
+ }
79502
+ return actualCoverage;
79503
+ }
79504
+ cov_17ka35tc9t();
79505
+ var HighlightInternal = Extension.create({
79506
+ name: "HighlightInternal",
79507
+ addOptions: function addOptions() {
79508
+ cov_17ka35tc9t().f[0]++;
79509
+ cov_17ka35tc9t().s[0]++;
79510
+ return {
79511
+ types: ["textStyle"]
79512
+ };
79513
+ },
79514
+ addGlobalAttributes: function addGlobalAttributes() {
79515
+ cov_17ka35tc9t().f[1]++;
79516
+ cov_17ka35tc9t().s[1]++;
79517
+ return [{
79518
+ types: this.options.types,
79519
+ attributes: {
79520
+ backgroundColor: {
79521
+ "default": null,
79522
+ parseHTML: function parseHTML(element) {
79523
+ cov_17ka35tc9t().f[2]++;
79524
+ cov_17ka35tc9t().s[2]++;
79525
+ return element.style.backgroundColor.replace(/['"]+/g, "");
79526
+ },
79527
+ renderHTML: function renderHTML(attributes) {
79528
+ cov_17ka35tc9t().f[3]++;
79529
+ cov_17ka35tc9t().s[3]++;
79530
+ if (!attributes.backgroundColor) {
79531
+ cov_17ka35tc9t().b[0][0]++;
79532
+ cov_17ka35tc9t().s[4]++;
79533
+ return {};
79534
+ } else {
79535
+ cov_17ka35tc9t().b[0][1]++;
79536
+ }
79537
+ cov_17ka35tc9t().s[5]++;
79538
+ return {
79539
+ style: "background-color: ".concat(attributes.backgroundColor)
79540
+ };
79541
+ }
79542
+ }
79543
+ }
79544
+ }];
79545
+ },
79546
+ addCommands: function addCommands() {
79547
+ cov_17ka35tc9t().f[4]++;
79548
+ cov_17ka35tc9t().s[6]++;
79549
+ return {
79550
+ setHighlightInternal: function setHighlightInternal(color) {
79551
+ cov_17ka35tc9t().f[5]++;
79552
+ cov_17ka35tc9t().s[7]++;
79553
+ return function (_ref) {
79554
+ var chain = _ref.chain;
79555
+ cov_17ka35tc9t().f[6]++;
79556
+ cov_17ka35tc9t().s[8]++;
79557
+ return chain().setMark("textStyle", {
79558
+ backgroundColor: color
79559
+ }).run();
79560
+ };
79561
+ },
79562
+ unsetHighlightInternal: function unsetHighlightInternal() {
79563
+ cov_17ka35tc9t().f[7]++;
79564
+ cov_17ka35tc9t().s[9]++;
79565
+ return function (_ref2) {
79566
+ var chain = _ref2.chain;
79567
+ cov_17ka35tc9t().f[8]++;
79568
+ cov_17ka35tc9t().s[10]++;
79569
+ return chain().setMark("textStyle", {
79570
+ backgroundColor: null
79571
+ }).run();
79572
+ };
79573
+ }
79574
+ };
79575
+ }
79576
+ });
79577
+
79089
79578
  var deepFreezeEs6 = {exports: {}};
79090
79579
 
79091
79580
  function deepFreeze(obj) {
@@ -111434,7 +111923,7 @@ var VideoExtension = (cov_1io0efe0r8().s[0]++, Node$1.create({
111434
111923
 
111435
111924
  function cov_q50c3y9sz() {
111436
111925
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/hooks/useCustomExtensions.js";
111437
- var hash = "8639806179665e2410090ea61c21a57d5997f442";
111926
+ var hash = "eef68954c1c708bc344c0f0a43d3de8684b60b24";
111438
111927
  var global = new Function("return this")();
111439
111928
  var gcv = "__coverage__";
111440
111929
  var coverageData = {
@@ -111442,181 +111931,181 @@ function cov_q50c3y9sz() {
111442
111931
  statementMap: {
111443
111932
  "0": {
111444
111933
  start: {
111445
- line: 34,
111934
+ line: 35,
111446
111935
  column: 28
111447
111936
  },
111448
111937
  end: {
111449
- line: 126,
111938
+ line: 129,
111450
111939
  column: 1
111451
111940
  }
111452
111941
  },
111453
111942
  "1": {
111454
111943
  start: {
111455
- line: 49,
111944
+ line: 50,
111456
111945
  column: 25
111457
111946
  },
111458
111947
  end: {
111459
- line: 70,
111948
+ line: 73,
111460
111949
  column: 3
111461
111950
  }
111462
111951
  },
111463
111952
  "2": {
111464
111953
  start: {
111465
- line: 71,
111954
+ line: 74,
111466
111955
  column: 2
111467
111956
  },
111468
111957
  end: {
111469
- line: 73,
111958
+ line: 76,
111470
111959
  column: 3
111471
111960
  }
111472
111961
  },
111473
111962
  "3": {
111474
111963
  start: {
111475
- line: 72,
111964
+ line: 75,
111476
111965
  column: 4
111477
111966
  },
111478
111967
  end: {
111479
- line: 72,
111968
+ line: 75,
111480
111969
  column: 34
111481
111970
  }
111482
111971
  },
111483
111972
  "4": {
111484
111973
  start: {
111485
- line: 75,
111974
+ line: 78,
111486
111975
  column: 2
111487
111976
  },
111488
111977
  end: {
111489
- line: 82,
111978
+ line: 85,
111490
111979
  column: 3
111491
111980
  }
111492
111981
  },
111493
111982
  "5": {
111494
111983
  start: {
111495
- line: 76,
111984
+ line: 79,
111496
111985
  column: 4
111497
111986
  },
111498
111987
  end: {
111499
- line: 81,
111988
+ line: 84,
111500
111989
  column: 6
111501
111990
  }
111502
111991
  },
111503
111992
  "6": {
111504
111993
  start: {
111505
- line: 84,
111994
+ line: 87,
111506
111995
  column: 2
111507
111996
  },
111508
111997
  end: {
111509
- line: 86,
111998
+ line: 89,
111510
111999
  column: 3
111511
112000
  }
111512
112001
  },
111513
112002
  "7": {
111514
112003
  start: {
111515
- line: 85,
112004
+ line: 88,
111516
112005
  column: 4
111517
112006
  },
111518
112007
  end: {
111519
- line: 85,
111520
- column: 44
112008
+ line: 88,
112009
+ column: 33
111521
112010
  }
111522
112011
  },
111523
112012
  "8": {
111524
112013
  start: {
111525
- line: 88,
112014
+ line: 91,
111526
112015
  column: 2
111527
112016
  },
111528
112017
  end: {
111529
- line: 97,
112018
+ line: 100,
111530
112019
  column: 3
111531
112020
  }
111532
112021
  },
111533
112022
  "9": {
111534
112023
  start: {
111535
- line: 89,
112024
+ line: 92,
111536
112025
  column: 4
111537
112026
  },
111538
112027
  end: {
111539
- line: 96,
112028
+ line: 99,
111540
112029
  column: 6
111541
112030
  }
111542
112031
  },
111543
112032
  "10": {
111544
112033
  start: {
111545
- line: 99,
112034
+ line: 102,
111546
112035
  column: 2
111547
112036
  },
111548
112037
  end: {
111549
- line: 117,
112038
+ line: 120,
111550
112039
  column: 3
111551
112040
  }
111552
112041
  },
111553
112042
  "11": {
111554
112043
  start: {
111555
- line: 100,
112044
+ line: 103,
111556
112045
  column: 18
111557
112046
  },
111558
112047
  end: {
111559
- line: 100,
112048
+ line: 103,
111560
112049
  column: 52
111561
112050
  }
111562
112051
  },
111563
112052
  "12": {
111564
112053
  start: {
111565
- line: 102,
112054
+ line: 105,
111566
112055
  column: 4
111567
112056
  },
111568
112057
  end: {
111569
- line: 108,
112058
+ line: 111,
111570
112059
  column: 6
111571
112060
  }
111572
112061
  },
111573
112062
  "13": {
111574
112063
  start: {
111575
- line: 110,
112064
+ line: 113,
111576
112065
  column: 4
111577
112066
  },
111578
112067
  end: {
111579
- line: 116,
112068
+ line: 119,
111580
112069
  column: 6
111581
112070
  }
111582
112071
  },
111583
112072
  "14": {
111584
112073
  start: {
111585
- line: 119,
112074
+ line: 122,
111586
112075
  column: 2
111587
112076
  },
111588
112077
  end: {
111589
- line: 121,
112078
+ line: 124,
111590
112079
  column: 3
111591
112080
  }
111592
112081
  },
111593
112082
  "15": {
111594
112083
  start: {
111595
- line: 120,
112084
+ line: 123,
111596
112085
  column: 4
111597
112086
  },
111598
112087
  end: {
111599
- line: 120,
112088
+ line: 123,
111600
112089
  column: 36
111601
112090
  }
111602
112091
  },
111603
112092
  "16": {
111604
112093
  start: {
111605
- line: 123,
112094
+ line: 126,
111606
112095
  column: 2
111607
112096
  },
111608
112097
  end: {
111609
- line: 123,
112098
+ line: 126,
111610
112099
  column: 57
111611
112100
  }
111612
112101
  },
111613
112102
  "17": {
111614
112103
  start: {
111615
- line: 125,
112104
+ line: 128,
111616
112105
  column: 2
111617
112106
  },
111618
112107
  end: {
111619
- line: 125,
112108
+ line: 128,
111620
112109
  column: 26
111621
112110
  }
111622
112111
  }
@@ -111626,47 +112115,47 @@ function cov_q50c3y9sz() {
111626
112115
  name: "(anonymous_0)",
111627
112116
  decl: {
111628
112117
  start: {
111629
- line: 34,
112118
+ line: 35,
111630
112119
  column: 28
111631
112120
  },
111632
112121
  end: {
111633
- line: 34,
112122
+ line: 35,
111634
112123
  column: 29
111635
112124
  }
111636
112125
  },
111637
112126
  loc: {
111638
112127
  start: {
111639
- line: 48,
112128
+ line: 49,
111640
112129
  column: 6
111641
112130
  },
111642
112131
  end: {
111643
- line: 126,
112132
+ line: 129,
111644
112133
  column: 1
111645
112134
  }
111646
112135
  },
111647
- line: 48
112136
+ line: 49
111648
112137
  }
111649
112138
  },
111650
112139
  branchMap: {
111651
112140
  "0": {
111652
112141
  loc: {
111653
112142
  start: {
111654
- line: 71,
112143
+ line: 74,
111655
112144
  column: 2
111656
112145
  },
111657
112146
  end: {
111658
- line: 73,
112147
+ line: 76,
111659
112148
  column: 3
111660
112149
  }
111661
112150
  },
111662
112151
  type: "if",
111663
112152
  locations: [{
111664
112153
  start: {
111665
- line: 71,
112154
+ line: 74,
111666
112155
  column: 2
111667
112156
  },
111668
112157
  end: {
111669
- line: 73,
112158
+ line: 76,
111670
112159
  column: 3
111671
112160
  }
111672
112161
  }, {
@@ -111679,27 +112168,27 @@ function cov_q50c3y9sz() {
111679
112168
  column: undefined
111680
112169
  }
111681
112170
  }],
111682
- line: 71
112171
+ line: 74
111683
112172
  },
111684
112173
  "1": {
111685
112174
  loc: {
111686
112175
  start: {
111687
- line: 75,
112176
+ line: 78,
111688
112177
  column: 2
111689
112178
  },
111690
112179
  end: {
111691
- line: 82,
112180
+ line: 85,
111692
112181
  column: 3
111693
112182
  }
111694
112183
  },
111695
112184
  type: "if",
111696
112185
  locations: [{
111697
112186
  start: {
111698
- line: 75,
112187
+ line: 78,
111699
112188
  column: 2
111700
112189
  },
111701
112190
  end: {
111702
- line: 82,
112191
+ line: 85,
111703
112192
  column: 3
111704
112193
  }
111705
112194
  }, {
@@ -111712,27 +112201,27 @@ function cov_q50c3y9sz() {
111712
112201
  column: undefined
111713
112202
  }
111714
112203
  }],
111715
- line: 75
112204
+ line: 78
111716
112205
  },
111717
112206
  "2": {
111718
112207
  loc: {
111719
112208
  start: {
111720
- line: 84,
112209
+ line: 87,
111721
112210
  column: 2
111722
112211
  },
111723
112212
  end: {
111724
- line: 86,
112213
+ line: 89,
111725
112214
  column: 3
111726
112215
  }
111727
112216
  },
111728
112217
  type: "if",
111729
112218
  locations: [{
111730
112219
  start: {
111731
- line: 84,
112220
+ line: 87,
111732
112221
  column: 2
111733
112222
  },
111734
112223
  end: {
111735
- line: 86,
112224
+ line: 89,
111736
112225
  column: 3
111737
112226
  }
111738
112227
  }, {
@@ -111745,27 +112234,27 @@ function cov_q50c3y9sz() {
111745
112234
  column: undefined
111746
112235
  }
111747
112236
  }],
111748
- line: 84
112237
+ line: 87
111749
112238
  },
111750
112239
  "3": {
111751
112240
  loc: {
111752
112241
  start: {
111753
- line: 88,
112242
+ line: 91,
111754
112243
  column: 2
111755
112244
  },
111756
112245
  end: {
111757
- line: 97,
112246
+ line: 100,
111758
112247
  column: 3
111759
112248
  }
111760
112249
  },
111761
112250
  type: "if",
111762
112251
  locations: [{
111763
112252
  start: {
111764
- line: 88,
112253
+ line: 91,
111765
112254
  column: 2
111766
112255
  },
111767
112256
  end: {
111768
- line: 97,
112257
+ line: 100,
111769
112258
  column: 3
111770
112259
  }
111771
112260
  }, {
@@ -111778,27 +112267,27 @@ function cov_q50c3y9sz() {
111778
112267
  column: undefined
111779
112268
  }
111780
112269
  }],
111781
- line: 88
112270
+ line: 91
111782
112271
  },
111783
112272
  "4": {
111784
112273
  loc: {
111785
112274
  start: {
111786
- line: 99,
112275
+ line: 102,
111787
112276
  column: 2
111788
112277
  },
111789
112278
  end: {
111790
- line: 117,
112279
+ line: 120,
111791
112280
  column: 3
111792
112281
  }
111793
112282
  },
111794
112283
  type: "if",
111795
112284
  locations: [{
111796
112285
  start: {
111797
- line: 99,
112286
+ line: 102,
111798
112287
  column: 2
111799
112288
  },
111800
112289
  end: {
111801
- line: 117,
112290
+ line: 120,
111802
112291
  column: 3
111803
112292
  }
111804
112293
  }, {
@@ -111811,27 +112300,27 @@ function cov_q50c3y9sz() {
111811
112300
  column: undefined
111812
112301
  }
111813
112302
  }],
111814
- line: 99
112303
+ line: 102
111815
112304
  },
111816
112305
  "5": {
111817
112306
  loc: {
111818
112307
  start: {
111819
- line: 119,
112308
+ line: 122,
111820
112309
  column: 2
111821
112310
  },
111822
112311
  end: {
111823
- line: 121,
112312
+ line: 124,
111824
112313
  column: 3
111825
112314
  }
111826
112315
  },
111827
112316
  type: "if",
111828
112317
  locations: [{
111829
112318
  start: {
111830
- line: 119,
112319
+ line: 122,
111831
112320
  column: 2
111832
112321
  },
111833
112322
  end: {
111834
- line: 121,
112323
+ line: 124,
111835
112324
  column: 3
111836
112325
  }
111837
112326
  }, {
@@ -111844,7 +112333,7 @@ function cov_q50c3y9sz() {
111844
112333
  column: undefined
111845
112334
  }
111846
112335
  }],
111847
- line: 119
112336
+ line: 122
111848
112337
  }
111849
112338
  },
111850
112339
  s: {
@@ -111879,7 +112368,7 @@ function cov_q50c3y9sz() {
111879
112368
  "5": [0, 0]
111880
112369
  },
111881
112370
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
111882
- hash: "8639806179665e2410090ea61c21a57d5997f442"
112371
+ hash: "eef68954c1c708bc344c0f0a43d3de8684b60b24"
111883
112372
  };
111884
112373
  var coverage = global[gcv] || (global[gcv] = {});
111885
112374
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -111911,7 +112400,7 @@ var useCustomExtensions = function useCustomExtensions(_ref) {
111911
112400
  setMediaUploader = _ref.setMediaUploader,
111912
112401
  setIsEmbedModalOpen = _ref.setIsEmbedModalOpen;
111913
112402
  cov_q50c3y9sz().f[0]++;
111914
- var customExtensions = (cov_q50c3y9sz().s[1]++, [CharacterCount, Code, CodeBlock, CustomCommands, Document, EmojiSuggestion$1, EmojiPicker, FigCaption, FocusClasses.configure({
112403
+ var customExtensions = (cov_q50c3y9sz().s[1]++, [CharacterCount, Code, CodeBlock, CustomCommands, Document, EmojiSuggestion$1, EmojiPicker, FigCaption, HighlightInternal, FocusClasses.configure({
111915
112404
  mode: "shallowest"
111916
112405
  }), Highlight, ImageExtension$1.configure({
111917
112406
  uploadEndpoint: uploadEndpoint
@@ -111923,7 +112412,7 @@ var useCustomExtensions = function useCustomExtensions(_ref) {
111923
112412
  document: false,
111924
112413
  codeBlock: false,
111925
112414
  code: false
111926
- }), Underline, VideoExtension, KeyboardShortcuts$1.configure({
112415
+ }), TextStyle, Underline, VideoExtension, KeyboardShortcuts$1.configure({
111927
112416
  onSubmit: onSubmit,
111928
112417
  shortcuts: keyboardShortcuts
111929
112418
  })]);
@@ -111949,7 +112438,7 @@ var useCustomExtensions = function useCustomExtensions(_ref) {
111949
112438
  if (options.includes(EDITOR_OPTIONS.TEXT_COLOR)) {
111950
112439
  cov_q50c3y9sz().b[2][0]++;
111951
112440
  cov_q50c3y9sz().s[7]++;
111952
- customExtensions.push(Color, TextStyle);
112441
+ customExtensions.push(Color);
111953
112442
  } else {
111954
112443
  cov_q50c3y9sz().b[2][1]++;
111955
112444
  }
@@ -114673,7 +115162,7 @@ _default = lib.default = MasonryInfiniteScroller;
114673
115162
 
114674
115163
  function cov_38kboi50e() {
114675
115164
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/apis/unsplash.js";
114676
- var hash = "c2059e8c31c3882535ea7bcc18b105715cba8523";
115165
+ var hash = "aaf273db8c262d99ce052881f5cac925425de3f6";
114677
115166
  var global = new Function("return this")();
114678
115167
  var gcv = "__coverage__";
114679
115168
  var coverageData = {
@@ -114685,7 +115174,7 @@ function cov_38kboi50e() {
114685
115174
  column: 36
114686
115175
  },
114687
115176
  end: {
114688
- line: 16,
115177
+ line: 15,
114689
115178
  column: 4
114690
115179
  }
114691
115180
  },
@@ -114695,7 +115184,7 @@ function cov_38kboi50e() {
114695
115184
  column: 2
114696
115185
  },
114697
115186
  end: {
114698
- line: 16,
115187
+ line: 15,
114699
115188
  column: 4
114700
115189
  }
114701
115190
  }
@@ -114719,7 +115208,7 @@ function cov_38kboi50e() {
114719
115208
  column: 2
114720
115209
  },
114721
115210
  end: {
114722
- line: 16,
115211
+ line: 15,
114723
115212
  column: 4
114724
115213
  }
114725
115214
  },
@@ -114736,7 +115225,7 @@ function cov_38kboi50e() {
114736
115225
  },
114737
115226
  b: {},
114738
115227
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
114739
- hash: "c2059e8c31c3882535ea7bcc18b105715cba8523"
115228
+ hash: "aaf273db8c262d99ce052881f5cac925425de3f6"
114740
115229
  };
114741
115230
  var coverage = global[gcv] || (global[gcv] = {});
114742
115231
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -114766,7 +115255,6 @@ var searchUnsplashImages = function searchUnsplashImages(_ref) {
114766
115255
  params: {
114767
115256
  page: pageNo,
114768
115257
  per_page: 30,
114769
- order_by: "popular",
114770
115258
  query: query
114771
115259
  }
114772
115260
  });
@@ -122130,7 +122618,7 @@ function u(){return (u=Object.assign||function(e){for(var r=1;r<arguments.length
122130
122618
 
122131
122619
  function cov_bf1egtcv4() {
122132
122620
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/TextColorOption.jsx";
122133
- var hash = "ad219d6e4d579b6227eff2e33862f075e1aaeda9";
122621
+ var hash = "042616887aa618a3693e146b32d2ad657abe58c2";
122134
122622
  var global = new Function("return this")();
122135
122623
  var gcv = "__coverage__";
122136
122624
  var coverageData = {
@@ -122142,7 +122630,7 @@ function cov_bf1egtcv4() {
122142
122630
  column: 24
122143
122631
  },
122144
122632
  end: {
122145
- line: 79,
122633
+ line: 91,
122146
122634
  column: 1
122147
122635
  }
122148
122636
  },
@@ -122282,7 +122770,7 @@ function cov_bf1egtcv4() {
122282
122770
  column: 2
122283
122771
  },
122284
122772
  end: {
122285
- line: 37,
122773
+ line: 39,
122286
122774
  column: 5
122287
122775
  }
122288
122776
  },
@@ -122292,67 +122780,137 @@ function cov_bf1egtcv4() {
122292
122780
  column: 4
122293
122781
  },
122294
122782
  end: {
122295
- line: 34,
122296
- column: 37
122783
+ line: 38,
122784
+ column: 5
122297
122785
  }
122298
122786
  },
122299
122787
  "16": {
122300
122788
  start: {
122301
122789
  line: 35,
122302
- column: 4
122790
+ column: 6
122303
122791
  },
122304
122792
  end: {
122305
122793
  line: 35,
122306
- column: 28
122794
+ column: 29
122307
122795
  }
122308
122796
  },
122309
122797
  "17": {
122310
122798
  start: {
122311
122799
  line: 36,
122312
- column: 4
122800
+ column: 6
122313
122801
  },
122314
122802
  end: {
122315
122803
  line: 36,
122316
- column: 21
122804
+ column: 30
122317
122805
  }
122318
122806
  },
122319
122807
  "18": {
122320
122808
  start: {
122321
- line: 39,
122809
+ line: 37,
122810
+ column: 6
122811
+ },
122812
+ end: {
122813
+ line: 37,
122814
+ column: 23
122815
+ }
122816
+ },
122817
+ "19": {
122818
+ start: {
122819
+ line: 41,
122322
122820
  column: 2
122323
122821
  },
122324
122822
  end: {
122325
- line: 78,
122823
+ line: 49,
122824
+ column: 15
122825
+ }
122826
+ },
122827
+ "20": {
122828
+ start: {
122829
+ line: 42,
122326
122830
  column: 4
122831
+ },
122832
+ end: {
122833
+ line: 42,
122834
+ column: 52
122327
122835
  }
122328
122836
  },
122329
- "19": {
122837
+ "21": {
122838
+ start: {
122839
+ line: 44,
122840
+ column: 4
122841
+ },
122842
+ end: {
122843
+ line: 48,
122844
+ column: 5
122845
+ }
122846
+ },
122847
+ "22": {
122848
+ start: {
122849
+ line: 45,
122850
+ column: 6
122851
+ },
122852
+ end: {
122853
+ line: 45,
122854
+ column: 47
122855
+ }
122856
+ },
122857
+ "23": {
122858
+ start: {
122859
+ line: 46,
122860
+ column: 6
122861
+ },
122862
+ end: {
122863
+ line: 46,
122864
+ column: 45
122865
+ }
122866
+ },
122867
+ "24": {
122868
+ start: {
122869
+ line: 47,
122870
+ column: 6
122871
+ },
122872
+ end: {
122873
+ line: 47,
122874
+ column: 30
122875
+ }
122876
+ },
122877
+ "25": {
122330
122878
  start: {
122331
122879
  line: 51,
122880
+ column: 2
122881
+ },
122882
+ end: {
122883
+ line: 90,
122884
+ column: 4
122885
+ }
122886
+ },
122887
+ "26": {
122888
+ start: {
122889
+ line: 63,
122332
122890
  column: 10
122333
122891
  },
122334
122892
  end: {
122335
- line: 51,
122893
+ line: 63,
122336
122894
  column: 60
122337
122895
  }
122338
122896
  },
122339
- "20": {
122897
+ "27": {
122340
122898
  start: {
122341
- line: 52,
122899
+ line: 64,
122342
122900
  column: 10
122343
122901
  },
122344
122902
  end: {
122345
- line: 52,
122903
+ line: 64,
122346
122904
  column: 25
122347
122905
  }
122348
122906
  },
122349
- "21": {
122907
+ "28": {
122350
122908
  start: {
122351
- line: 66,
122909
+ line: 78,
122352
122910
  column: 27
122353
122911
  },
122354
122912
  end: {
122355
- line: 66,
122913
+ line: 78,
122356
122914
  column: 51
122357
122915
  }
122358
122916
  }
@@ -122376,7 +122934,7 @@ function cov_bf1egtcv4() {
122376
122934
  column: 56
122377
122935
  },
122378
122936
  end: {
122379
- line: 79,
122937
+ line: 91,
122380
122938
  column: 1
122381
122939
  }
122382
122940
  },
@@ -122472,7 +123030,7 @@ function cov_bf1egtcv4() {
122472
123030
  column: 49
122473
123031
  },
122474
123032
  end: {
122475
- line: 37,
123033
+ line: 39,
122476
123034
  column: 3
122477
123035
  }
122478
123036
  },
@@ -122482,49 +123040,73 @@ function cov_bf1egtcv4() {
122482
123040
  name: "(anonymous_5)",
122483
123041
  decl: {
122484
123042
  start: {
122485
- line: 50,
123043
+ line: 41,
123044
+ column: 12
123045
+ },
123046
+ end: {
123047
+ line: 41,
123048
+ column: 13
123049
+ }
123050
+ },
123051
+ loc: {
123052
+ start: {
123053
+ line: 41,
123054
+ column: 18
123055
+ },
123056
+ end: {
123057
+ line: 49,
123058
+ column: 3
123059
+ }
123060
+ },
123061
+ line: 41
123062
+ },
123063
+ "6": {
123064
+ name: "(anonymous_6)",
123065
+ decl: {
123066
+ start: {
123067
+ line: 62,
122486
123068
  column: 17
122487
123069
  },
122488
123070
  end: {
122489
- line: 50,
123071
+ line: 62,
122490
123072
  column: 18
122491
123073
  }
122492
123074
  },
122493
123075
  loc: {
122494
123076
  start: {
122495
- line: 50,
123077
+ line: 62,
122496
123078
  column: 23
122497
123079
  },
122498
123080
  end: {
122499
- line: 53,
123081
+ line: 65,
122500
123082
  column: 9
122501
123083
  }
122502
123084
  },
122503
- line: 50
123085
+ line: 62
122504
123086
  },
122505
- "6": {
122506
- name: "(anonymous_6)",
123087
+ "7": {
123088
+ name: "(anonymous_7)",
122507
123089
  decl: {
122508
123090
  start: {
122509
- line: 66,
123091
+ line: 78,
122510
123092
  column: 22
122511
123093
  },
122512
123094
  end: {
122513
- line: 66,
123095
+ line: 78,
122514
123096
  column: 23
122515
123097
  }
122516
123098
  },
122517
123099
  loc: {
122518
123100
  start: {
122519
- line: 66,
123101
+ line: 78,
122520
123102
  column: 27
122521
123103
  },
122522
123104
  end: {
122523
- line: 66,
123105
+ line: 78,
122524
123106
  column: 51
122525
123107
  }
122526
123108
  },
122527
- line: 66
123109
+ line: 78
122528
123110
  }
122529
123111
  },
122530
123112
  branchMap: {
@@ -122535,28 +123117,28 @@ function cov_bf1egtcv4() {
122535
123117
  column: 4
122536
123118
  },
122537
123119
  end: {
122538
- line: 34,
122539
- column: 36
123120
+ line: 38,
123121
+ column: 5
122540
123122
  }
122541
123123
  },
122542
- type: "binary-expr",
123124
+ type: "if",
122543
123125
  locations: [{
122544
123126
  start: {
122545
123127
  line: 34,
122546
123128
  column: 4
122547
123129
  },
122548
123130
  end: {
122549
- line: 34,
122550
- column: 10
123131
+ line: 38,
123132
+ column: 5
122551
123133
  }
122552
123134
  }, {
122553
123135
  start: {
122554
- line: 34,
122555
- column: 14
123136
+ line: undefined,
123137
+ column: undefined
122556
123138
  },
122557
123139
  end: {
122558
- line: 34,
122559
- column: 36
123140
+ line: undefined,
123141
+ column: undefined
122560
123142
  }
122561
123143
  }],
122562
123144
  line: 34
@@ -122564,68 +123146,101 @@ function cov_bf1egtcv4() {
122564
123146
  "1": {
122565
123147
  loc: {
122566
123148
  start: {
122567
- line: 42,
123149
+ line: 44,
123150
+ column: 4
123151
+ },
123152
+ end: {
123153
+ line: 48,
123154
+ column: 5
123155
+ }
123156
+ },
123157
+ type: "if",
123158
+ locations: [{
123159
+ start: {
123160
+ line: 44,
123161
+ column: 4
123162
+ },
123163
+ end: {
123164
+ line: 48,
123165
+ column: 5
123166
+ }
123167
+ }, {
123168
+ start: {
123169
+ line: undefined,
123170
+ column: undefined
123171
+ },
123172
+ end: {
123173
+ line: undefined,
123174
+ column: undefined
123175
+ }
123176
+ }],
123177
+ line: 44
123178
+ },
123179
+ "2": {
123180
+ loc: {
123181
+ start: {
123182
+ line: 54,
122568
123183
  column: 21
122569
123184
  },
122570
123185
  end: {
122571
- line: 42,
123186
+ line: 54,
122572
123187
  column: 50
122573
123188
  }
122574
123189
  },
122575
123190
  type: "cond-expr",
122576
123191
  locations: [{
122577
123192
  start: {
122578
- line: 42,
123193
+ line: 54,
122579
123194
  column: 30
122580
123195
  },
122581
123196
  end: {
122582
- line: 42,
123197
+ line: 54,
122583
123198
  column: 41
122584
123199
  }
122585
123200
  }, {
122586
123201
  start: {
122587
- line: 42,
123202
+ line: 54,
122588
123203
  column: 44
122589
123204
  },
122590
123205
  end: {
122591
- line: 42,
123206
+ line: 54,
122592
123207
  column: 50
122593
123208
  }
122594
123209
  }],
122595
- line: 42
123210
+ line: 54
122596
123211
  },
122597
- "2": {
123212
+ "3": {
122598
123213
  loc: {
122599
123214
  start: {
122600
- line: 56,
123215
+ line: 68,
122601
123216
  column: 17
122602
123217
  },
122603
123218
  end: {
122604
- line: 56,
123219
+ line: 68,
122605
123220
  column: 35
122606
123221
  }
122607
123222
  },
122608
123223
  type: "binary-expr",
122609
123224
  locations: [{
122610
123225
  start: {
122611
- line: 56,
123226
+ line: 68,
122612
123227
  column: 17
122613
123228
  },
122614
123229
  end: {
122615
- line: 56,
123230
+ line: 68,
122616
123231
  column: 22
122617
123232
  }
122618
123233
  }, {
122619
123234
  start: {
122620
- line: 56,
123235
+ line: 68,
122621
123236
  column: 26
122622
123237
  },
122623
123238
  end: {
122624
- line: 56,
123239
+ line: 68,
122625
123240
  column: 35
122626
123241
  }
122627
123242
  }],
122628
- line: 56
123243
+ line: 68
122629
123244
  }
122630
123245
  },
122631
123246
  s: {
@@ -122650,7 +123265,14 @@ function cov_bf1egtcv4() {
122650
123265
  "18": 0,
122651
123266
  "19": 0,
122652
123267
  "20": 0,
122653
- "21": 0
123268
+ "21": 0,
123269
+ "22": 0,
123270
+ "23": 0,
123271
+ "24": 0,
123272
+ "25": 0,
123273
+ "26": 0,
123274
+ "27": 0,
123275
+ "28": 0
122654
123276
  },
122655
123277
  f: {
122656
123278
  "0": 0,
@@ -122659,15 +123281,17 @@ function cov_bf1egtcv4() {
122659
123281
  "3": 0,
122660
123282
  "4": 0,
122661
123283
  "5": 0,
122662
- "6": 0
123284
+ "6": 0,
123285
+ "7": 0
122663
123286
  },
122664
123287
  b: {
122665
123288
  "0": [0, 0],
122666
123289
  "1": [0, 0],
122667
- "2": [0, 0]
123290
+ "2": [0, 0],
123291
+ "3": [0, 0]
122668
123292
  },
122669
123293
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
122670
- hash: "ad219d6e4d579b6227eff2e33862f075e1aaeda9"
123294
+ hash: "042616887aa618a3693e146b32d2ad657abe58c2"
122671
123295
  };
122672
123296
  var coverage = global[gcv] || (global[gcv] = {});
122673
123297
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -122726,17 +123350,41 @@ var TextColorOption = function TextColorOption(_ref) {
122726
123350
  useOnClickOutside(dropdownWrapperRef, function (event) {
122727
123351
  cov_bf1egtcv4().f[4]++;
122728
123352
  cov_bf1egtcv4().s[15]++;
122729
- (cov_bf1egtcv4().b[0][0]++, isOpen) && (cov_bf1egtcv4().b[0][1]++, event.preventDefault());
122730
- cov_bf1egtcv4().s[16]++;
122731
- editor.commands.focus();
122732
- cov_bf1egtcv4().s[17]++;
122733
- setIsOpen(false);
123353
+ if (isOpen) {
123354
+ cov_bf1egtcv4().b[0][0]++;
123355
+ cov_bf1egtcv4().s[16]++;
123356
+ event.preventDefault();
123357
+ cov_bf1egtcv4().s[17]++;
123358
+ editor.commands.focus();
123359
+ cov_bf1egtcv4().s[18]++;
123360
+ setIsOpen(false);
123361
+ } else {
123362
+ cov_bf1egtcv4().b[0][1]++;
123363
+ }
122734
123364
  });
122735
- cov_bf1egtcv4().s[18]++;
123365
+ cov_bf1egtcv4().s[19]++;
123366
+ useEffect$1(function () {
123367
+ cov_bf1egtcv4().f[5]++;
123368
+ cov_bf1egtcv4().s[20]++;
123369
+ editor.commands.setHighlightInternal("#ACCEF7");
123370
+ cov_bf1egtcv4().s[21]++;
123371
+ if (!isOpen) {
123372
+ cov_bf1egtcv4().b[1][0]++;
123373
+ cov_bf1egtcv4().s[22]++;
123374
+ editor.commands.unsetHighlightInternal();
123375
+ cov_bf1egtcv4().s[23]++;
123376
+ editor.commands.removeEmptyTextStyle();
123377
+ cov_bf1egtcv4().s[24]++;
123378
+ editor.commands.focus();
123379
+ } else {
123380
+ cov_bf1egtcv4().b[1][1]++;
123381
+ }
123382
+ }, [isOpen]);
123383
+ cov_bf1egtcv4().s[25]++;
122736
123384
  return /*#__PURE__*/React__default.createElement("div", {
122737
123385
  ref: dropdownWrapperRef
122738
123386
  }, /*#__PURE__*/React__default.createElement(Dropdown$1, {
122739
- buttonStyle: isOpen ? (cov_bf1egtcv4().b[1][0]++, "secondary") : (cov_bf1egtcv4().b[1][1]++, "text"),
123387
+ buttonStyle: isOpen ? (cov_bf1egtcv4().b[2][0]++, "secondary") : (cov_bf1egtcv4().b[2][1]++, "text"),
122740
123388
  icon: Customize,
122741
123389
  isOpen: isOpen,
122742
123390
  buttonProps: {
@@ -122747,14 +123395,14 @@ var TextColorOption = function TextColorOption(_ref) {
122747
123395
  className: "neeto-editor-fixed-menu__item neeto-editor-text-color-option"
122748
123396
  },
122749
123397
  onClick: function onClick() {
122750
- cov_bf1egtcv4().f[5]++;
122751
- cov_bf1egtcv4().s[19]++;
123398
+ cov_bf1egtcv4().f[6]++;
123399
+ cov_bf1egtcv4().s[26]++;
122752
123400
  setColor(editor.getAttributes("textStyle").color);
122753
- cov_bf1egtcv4().s[20]++;
123401
+ cov_bf1egtcv4().s[27]++;
122754
123402
  setIsOpen(not);
122755
123403
  }
122756
123404
  }, /*#__PURE__*/React__default.createElement(Z, {
122757
- color: (cov_bf1egtcv4().b[2][0]++, color) || (cov_bf1egtcv4().b[2][1]++, "#000000"),
123405
+ color: (cov_bf1egtcv4().b[3][0]++, color) || (cov_bf1egtcv4().b[3][1]++, "#000000"),
122758
123406
  onChange: handleColorChange
122759
123407
  }), /*#__PURE__*/React__default.createElement("div", {
122760
123408
  className: "neeto-editor-text-color-option__options-group"
@@ -122765,8 +123413,8 @@ var TextColorOption = function TextColorOption(_ref) {
122765
123413
  size: "small",
122766
123414
  value: color,
122767
123415
  onChange: function onChange(e) {
122768
- cov_bf1egtcv4().f[6]++;
122769
- cov_bf1egtcv4().s[21]++;
123416
+ cov_bf1egtcv4().f[7]++;
123417
+ cov_bf1egtcv4().s[28]++;
122770
123418
  return setColor(e.target.value);
122771
123419
  }
122772
123420
  }), /*#__PURE__*/React__default.createElement(Button$1, {
@@ -125333,7 +125981,7 @@ var FontSizeOption = function FontSizeOption(_ref2) {
125333
125981
 
125334
125982
  function cov_7xzegtncw() {
125335
125983
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/LinkOption.jsx";
125336
- var hash = "b40876235344144786bc2e8c21e4b67359f1e3b4";
125984
+ var hash = "00ac6f0ef7b9efb21f7ff00bb225c049192f1e91";
125337
125985
  var global = new Function("return this")();
125338
125986
  var gcv = "__coverage__";
125339
125987
  var coverageData = {
@@ -125355,7 +126003,7 @@ function cov_7xzegtncw() {
125355
126003
  column: 19
125356
126004
  },
125357
126005
  end: {
125358
- line: 96,
126006
+ line: 106,
125359
126007
  column: 1
125360
126008
  }
125361
126009
  },
@@ -125635,27 +126283,87 @@ function cov_7xzegtncw() {
125635
126283
  column: 2
125636
126284
  },
125637
126285
  end: {
125638
- line: 95,
125639
- column: 4
126286
+ line: 62,
126287
+ column: 15
125640
126288
  }
125641
126289
  },
125642
126290
  "30": {
125643
126291
  start: {
125644
- line: 77,
126292
+ line: 55,
126293
+ column: 4
126294
+ },
126295
+ end: {
126296
+ line: 55,
126297
+ column: 52
126298
+ }
126299
+ },
126300
+ "31": {
126301
+ start: {
126302
+ line: 57,
126303
+ column: 4
126304
+ },
126305
+ end: {
126306
+ line: 61,
126307
+ column: 5
126308
+ }
126309
+ },
126310
+ "32": {
126311
+ start: {
126312
+ line: 58,
126313
+ column: 6
126314
+ },
126315
+ end: {
126316
+ line: 58,
125645
126317
  column: 47
126318
+ }
126319
+ },
126320
+ "33": {
126321
+ start: {
126322
+ line: 59,
126323
+ column: 6
125646
126324
  },
125647
126325
  end: {
125648
- line: 77,
126326
+ line: 59,
126327
+ column: 45
126328
+ }
126329
+ },
126330
+ "34": {
126331
+ start: {
126332
+ line: 60,
126333
+ column: 6
126334
+ },
126335
+ end: {
126336
+ line: 60,
126337
+ column: 30
126338
+ }
126339
+ },
126340
+ "35": {
126341
+ start: {
126342
+ line: 64,
126343
+ column: 2
126344
+ },
126345
+ end: {
126346
+ line: 105,
126347
+ column: 4
126348
+ }
126349
+ },
126350
+ "36": {
126351
+ start: {
126352
+ line: 87,
126353
+ column: 47
126354
+ },
126355
+ end: {
126356
+ line: 87,
125649
126357
  column: 66
125650
126358
  }
125651
126359
  },
125652
- "31": {
126360
+ "37": {
125653
126361
  start: {
125654
- line: 78,
126362
+ line: 88,
125655
126363
  column: 25
125656
126364
  },
125657
126365
  end: {
125658
- line: 78,
126366
+ line: 88,
125659
126367
  column: 37
125660
126368
  }
125661
126369
  }
@@ -125679,7 +126387,7 @@ function cov_7xzegtncw() {
125679
126387
  column: 51
125680
126388
  },
125681
126389
  end: {
125682
- line: 96,
126390
+ line: 106,
125683
126391
  column: 1
125684
126392
  }
125685
126393
  },
@@ -125833,49 +126541,73 @@ function cov_7xzegtncw() {
125833
126541
  name: "(anonymous_7)",
125834
126542
  decl: {
125835
126543
  start: {
125836
- line: 77,
126544
+ line: 54,
126545
+ column: 12
126546
+ },
126547
+ end: {
126548
+ line: 54,
126549
+ column: 13
126550
+ }
126551
+ },
126552
+ loc: {
126553
+ start: {
126554
+ line: 54,
126555
+ column: 18
126556
+ },
126557
+ end: {
126558
+ line: 62,
126559
+ column: 3
126560
+ }
126561
+ },
126562
+ line: 54
126563
+ },
126564
+ "8": {
126565
+ name: "(anonymous_8)",
126566
+ decl: {
126567
+ start: {
126568
+ line: 87,
125837
126569
  column: 20
125838
126570
  },
125839
126571
  end: {
125840
- line: 77,
126572
+ line: 87,
125841
126573
  column: 21
125842
126574
  }
125843
126575
  },
125844
126576
  loc: {
125845
126577
  start: {
125846
- line: 77,
126578
+ line: 87,
125847
126579
  column: 47
125848
126580
  },
125849
126581
  end: {
125850
- line: 77,
126582
+ line: 87,
125851
126583
  column: 66
125852
126584
  }
125853
126585
  },
125854
- line: 77
126586
+ line: 87
125855
126587
  },
125856
- "8": {
125857
- name: "(anonymous_8)",
126588
+ "9": {
126589
+ name: "(anonymous_9)",
125858
126590
  decl: {
125859
126591
  start: {
125860
- line: 78,
126592
+ line: 88,
125861
126593
  column: 19
125862
126594
  },
125863
126595
  end: {
125864
- line: 78,
126596
+ line: 88,
125865
126597
  column: 20
125866
126598
  }
125867
126599
  },
125868
126600
  loc: {
125869
126601
  start: {
125870
- line: 78,
126602
+ line: 88,
125871
126603
  column: 25
125872
126604
  },
125873
126605
  end: {
125874
- line: 78,
126606
+ line: 88,
125875
126607
  column: 37
125876
126608
  }
125877
126609
  },
125878
- line: 78
126610
+ line: 88
125879
126611
  }
125880
126612
  },
125881
126613
  branchMap: {
@@ -125981,68 +126713,101 @@ function cov_7xzegtncw() {
125981
126713
  "3": {
125982
126714
  loc: {
125983
126715
  start: {
125984
- line: 56,
126716
+ line: 57,
126717
+ column: 4
126718
+ },
126719
+ end: {
126720
+ line: 61,
126721
+ column: 5
126722
+ }
126723
+ },
126724
+ type: "if",
126725
+ locations: [{
126726
+ start: {
126727
+ line: 57,
126728
+ column: 4
126729
+ },
126730
+ end: {
126731
+ line: 61,
126732
+ column: 5
126733
+ }
126734
+ }, {
126735
+ start: {
126736
+ line: undefined,
126737
+ column: undefined
126738
+ },
126739
+ end: {
126740
+ line: undefined,
126741
+ column: undefined
126742
+ }
126743
+ }],
126744
+ line: 57
126745
+ },
126746
+ "4": {
126747
+ loc: {
126748
+ start: {
126749
+ line: 66,
125985
126750
  column: 19
125986
126751
  },
125987
126752
  end: {
125988
- line: 56,
126753
+ line: 66,
125989
126754
  column: 50
125990
126755
  }
125991
126756
  },
125992
126757
  type: "cond-expr",
125993
126758
  locations: [{
125994
126759
  start: {
125995
- line: 56,
126760
+ line: 66,
125996
126761
  column: 30
125997
126762
  },
125998
126763
  end: {
125999
- line: 56,
126764
+ line: 66,
126000
126765
  column: 41
126001
126766
  }
126002
126767
  }, {
126003
126768
  start: {
126004
- line: 56,
126769
+ line: 66,
126005
126770
  column: 44
126006
126771
  },
126007
126772
  end: {
126008
- line: 56,
126773
+ line: 66,
126009
126774
  column: 50
126010
126775
  }
126011
126776
  }],
126012
- line: 56
126777
+ line: 66
126013
126778
  },
126014
- "4": {
126779
+ "5": {
126015
126780
  loc: {
126016
126781
  start: {
126017
- line: 85,
126782
+ line: 95,
126018
126783
  column: 9
126019
126784
  },
126020
126785
  end: {
126021
- line: 92,
126786
+ line: 102,
126022
126787
  column: 9
126023
126788
  }
126024
126789
  },
126025
126790
  type: "binary-expr",
126026
126791
  locations: [{
126027
126792
  start: {
126028
- line: 85,
126793
+ line: 95,
126029
126794
  column: 9
126030
126795
  },
126031
126796
  end: {
126032
- line: 85,
126797
+ line: 95,
126033
126798
  column: 17
126034
126799
  }
126035
126800
  }, {
126036
126801
  start: {
126037
- line: 86,
126802
+ line: 96,
126038
126803
  column: 10
126039
126804
  },
126040
126805
  end: {
126041
- line: 91,
126806
+ line: 101,
126042
126807
  column: 12
126043
126808
  }
126044
126809
  }],
126045
- line: 85
126810
+ line: 95
126046
126811
  }
126047
126812
  },
126048
126813
  s: {
@@ -126077,7 +126842,13 @@ function cov_7xzegtncw() {
126077
126842
  "28": 0,
126078
126843
  "29": 0,
126079
126844
  "30": 0,
126080
- "31": 0
126845
+ "31": 0,
126846
+ "32": 0,
126847
+ "33": 0,
126848
+ "34": 0,
126849
+ "35": 0,
126850
+ "36": 0,
126851
+ "37": 0
126081
126852
  },
126082
126853
  f: {
126083
126854
  "0": 0,
@@ -126088,17 +126859,19 @@ function cov_7xzegtncw() {
126088
126859
  "5": 0,
126089
126860
  "6": 0,
126090
126861
  "7": 0,
126091
- "8": 0
126862
+ "8": 0,
126863
+ "9": 0
126092
126864
  },
126093
126865
  b: {
126094
126866
  "0": [0, 0],
126095
126867
  "1": [0, 0],
126096
126868
  "2": [0, 0],
126097
126869
  "3": [0, 0],
126098
- "4": [0, 0]
126870
+ "4": [0, 0],
126871
+ "5": [0, 0]
126099
126872
  },
126100
126873
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
126101
- hash: "b40876235344144786bc2e8c21e4b67359f1e3b4"
126874
+ hash: "00ac6f0ef7b9efb21f7ff00bb225c049192f1e91"
126102
126875
  };
126103
126876
  var coverage = global[gcv] || (global[gcv] = {});
126104
126877
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -126207,8 +126980,26 @@ var LinkOption = function LinkOption(_ref2) {
126207
126980
  handleClose();
126208
126981
  };
126209
126982
  cov_7xzegtncw().s[29]++;
126983
+ useEffect$1(function () {
126984
+ cov_7xzegtncw().f[7]++;
126985
+ cov_7xzegtncw().s[30]++;
126986
+ editor.commands.setHighlightInternal("#ACCEF7");
126987
+ cov_7xzegtncw().s[31]++;
126988
+ if (!isOpen) {
126989
+ cov_7xzegtncw().b[3][0]++;
126990
+ cov_7xzegtncw().s[32]++;
126991
+ editor.commands.unsetHighlightInternal();
126992
+ cov_7xzegtncw().s[33]++;
126993
+ editor.commands.removeEmptyTextStyle();
126994
+ cov_7xzegtncw().s[34]++;
126995
+ editor.commands.focus();
126996
+ } else {
126997
+ cov_7xzegtncw().b[3][1]++;
126998
+ }
126999
+ }, [isOpen]);
127000
+ cov_7xzegtncw().s[35]++;
126210
127001
  return /*#__PURE__*/React__default.createElement(Dropdown$1, {
126211
- buttonStyle: isActive ? (cov_7xzegtncw().b[3][0]++, "secondary") : (cov_7xzegtncw().b[3][1]++, "text"),
127002
+ buttonStyle: isActive ? (cov_7xzegtncw().b[4][0]++, "secondary") : (cov_7xzegtncw().b[4][1]++, "text"),
126212
127003
  closeOnSelect: false,
126213
127004
  "data-cy": "neeto-editor-fixed-menu-link-option",
126214
127005
  icon: Link$1,
@@ -126235,20 +127026,20 @@ var LinkOption = function LinkOption(_ref2) {
126235
127026
  value: urlString,
126236
127027
  onChange: function onChange(_ref10) {
126237
127028
  var value = _ref10.target.value;
126238
- cov_7xzegtncw().f[7]++;
126239
- cov_7xzegtncw().s[30]++;
127029
+ cov_7xzegtncw().f[8]++;
127030
+ cov_7xzegtncw().s[36]++;
126240
127031
  return setUrlString(value);
126241
127032
  },
126242
127033
  onFocus: function onFocus() {
126243
- cov_7xzegtncw().f[8]++;
126244
- cov_7xzegtncw().s[31]++;
127034
+ cov_7xzegtncw().f[9]++;
127035
+ cov_7xzegtncw().s[37]++;
126245
127036
  return setError("");
126246
127037
  }
126247
127038
  }), /*#__PURE__*/React__default.createElement(Button$1, {
126248
127039
  "data-cy": "neeto-editor-fixed-menu-link-option-link-button",
126249
127040
  label: t("menu.link"),
126250
127041
  onClick: handleLink
126251
- }), (cov_7xzegtncw().b[4][0]++, isActive) && (cov_7xzegtncw().b[4][1]++, /*#__PURE__*/React__default.createElement(Button$1, {
127042
+ }), (cov_7xzegtncw().b[5][0]++, isActive) && (cov_7xzegtncw().b[5][1]++, /*#__PURE__*/React__default.createElement(Button$1, {
126252
127043
  "data-cy": "neeto-editor-fixed-menu-link-option-unlink-button",
126253
127044
  label: t("common.unlink"),
126254
127045
  style: "text",