@bigbinary/neeto-editor 1.26.5 → 1.26.6

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
  }
@@ -122130,7 +122619,7 @@ function u(){return (u=Object.assign||function(e){for(var r=1;r<arguments.length
122130
122619
 
122131
122620
  function cov_bf1egtcv4() {
122132
122621
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/TextColorOption.jsx";
122133
- var hash = "ad219d6e4d579b6227eff2e33862f075e1aaeda9";
122622
+ var hash = "042616887aa618a3693e146b32d2ad657abe58c2";
122134
122623
  var global = new Function("return this")();
122135
122624
  var gcv = "__coverage__";
122136
122625
  var coverageData = {
@@ -122142,7 +122631,7 @@ function cov_bf1egtcv4() {
122142
122631
  column: 24
122143
122632
  },
122144
122633
  end: {
122145
- line: 79,
122634
+ line: 91,
122146
122635
  column: 1
122147
122636
  }
122148
122637
  },
@@ -122282,7 +122771,7 @@ function cov_bf1egtcv4() {
122282
122771
  column: 2
122283
122772
  },
122284
122773
  end: {
122285
- line: 37,
122774
+ line: 39,
122286
122775
  column: 5
122287
122776
  }
122288
122777
  },
@@ -122292,67 +122781,137 @@ function cov_bf1egtcv4() {
122292
122781
  column: 4
122293
122782
  },
122294
122783
  end: {
122295
- line: 34,
122296
- column: 37
122784
+ line: 38,
122785
+ column: 5
122297
122786
  }
122298
122787
  },
122299
122788
  "16": {
122300
122789
  start: {
122301
122790
  line: 35,
122302
- column: 4
122791
+ column: 6
122303
122792
  },
122304
122793
  end: {
122305
122794
  line: 35,
122306
- column: 28
122795
+ column: 29
122307
122796
  }
122308
122797
  },
122309
122798
  "17": {
122310
122799
  start: {
122311
122800
  line: 36,
122312
- column: 4
122801
+ column: 6
122313
122802
  },
122314
122803
  end: {
122315
122804
  line: 36,
122316
- column: 21
122805
+ column: 30
122317
122806
  }
122318
122807
  },
122319
122808
  "18": {
122320
122809
  start: {
122321
- line: 39,
122810
+ line: 37,
122811
+ column: 6
122812
+ },
122813
+ end: {
122814
+ line: 37,
122815
+ column: 23
122816
+ }
122817
+ },
122818
+ "19": {
122819
+ start: {
122820
+ line: 41,
122322
122821
  column: 2
122323
122822
  },
122324
122823
  end: {
122325
- line: 78,
122824
+ line: 49,
122825
+ column: 15
122826
+ }
122827
+ },
122828
+ "20": {
122829
+ start: {
122830
+ line: 42,
122326
122831
  column: 4
122832
+ },
122833
+ end: {
122834
+ line: 42,
122835
+ column: 52
122327
122836
  }
122328
122837
  },
122329
- "19": {
122838
+ "21": {
122839
+ start: {
122840
+ line: 44,
122841
+ column: 4
122842
+ },
122843
+ end: {
122844
+ line: 48,
122845
+ column: 5
122846
+ }
122847
+ },
122848
+ "22": {
122849
+ start: {
122850
+ line: 45,
122851
+ column: 6
122852
+ },
122853
+ end: {
122854
+ line: 45,
122855
+ column: 47
122856
+ }
122857
+ },
122858
+ "23": {
122859
+ start: {
122860
+ line: 46,
122861
+ column: 6
122862
+ },
122863
+ end: {
122864
+ line: 46,
122865
+ column: 45
122866
+ }
122867
+ },
122868
+ "24": {
122869
+ start: {
122870
+ line: 47,
122871
+ column: 6
122872
+ },
122873
+ end: {
122874
+ line: 47,
122875
+ column: 30
122876
+ }
122877
+ },
122878
+ "25": {
122330
122879
  start: {
122331
122880
  line: 51,
122881
+ column: 2
122882
+ },
122883
+ end: {
122884
+ line: 90,
122885
+ column: 4
122886
+ }
122887
+ },
122888
+ "26": {
122889
+ start: {
122890
+ line: 63,
122332
122891
  column: 10
122333
122892
  },
122334
122893
  end: {
122335
- line: 51,
122894
+ line: 63,
122336
122895
  column: 60
122337
122896
  }
122338
122897
  },
122339
- "20": {
122898
+ "27": {
122340
122899
  start: {
122341
- line: 52,
122900
+ line: 64,
122342
122901
  column: 10
122343
122902
  },
122344
122903
  end: {
122345
- line: 52,
122904
+ line: 64,
122346
122905
  column: 25
122347
122906
  }
122348
122907
  },
122349
- "21": {
122908
+ "28": {
122350
122909
  start: {
122351
- line: 66,
122910
+ line: 78,
122352
122911
  column: 27
122353
122912
  },
122354
122913
  end: {
122355
- line: 66,
122914
+ line: 78,
122356
122915
  column: 51
122357
122916
  }
122358
122917
  }
@@ -122376,7 +122935,7 @@ function cov_bf1egtcv4() {
122376
122935
  column: 56
122377
122936
  },
122378
122937
  end: {
122379
- line: 79,
122938
+ line: 91,
122380
122939
  column: 1
122381
122940
  }
122382
122941
  },
@@ -122472,7 +123031,7 @@ function cov_bf1egtcv4() {
122472
123031
  column: 49
122473
123032
  },
122474
123033
  end: {
122475
- line: 37,
123034
+ line: 39,
122476
123035
  column: 3
122477
123036
  }
122478
123037
  },
@@ -122482,49 +123041,73 @@ function cov_bf1egtcv4() {
122482
123041
  name: "(anonymous_5)",
122483
123042
  decl: {
122484
123043
  start: {
122485
- line: 50,
123044
+ line: 41,
123045
+ column: 12
123046
+ },
123047
+ end: {
123048
+ line: 41,
123049
+ column: 13
123050
+ }
123051
+ },
123052
+ loc: {
123053
+ start: {
123054
+ line: 41,
123055
+ column: 18
123056
+ },
123057
+ end: {
123058
+ line: 49,
123059
+ column: 3
123060
+ }
123061
+ },
123062
+ line: 41
123063
+ },
123064
+ "6": {
123065
+ name: "(anonymous_6)",
123066
+ decl: {
123067
+ start: {
123068
+ line: 62,
122486
123069
  column: 17
122487
123070
  },
122488
123071
  end: {
122489
- line: 50,
123072
+ line: 62,
122490
123073
  column: 18
122491
123074
  }
122492
123075
  },
122493
123076
  loc: {
122494
123077
  start: {
122495
- line: 50,
123078
+ line: 62,
122496
123079
  column: 23
122497
123080
  },
122498
123081
  end: {
122499
- line: 53,
123082
+ line: 65,
122500
123083
  column: 9
122501
123084
  }
122502
123085
  },
122503
- line: 50
123086
+ line: 62
122504
123087
  },
122505
- "6": {
122506
- name: "(anonymous_6)",
123088
+ "7": {
123089
+ name: "(anonymous_7)",
122507
123090
  decl: {
122508
123091
  start: {
122509
- line: 66,
123092
+ line: 78,
122510
123093
  column: 22
122511
123094
  },
122512
123095
  end: {
122513
- line: 66,
123096
+ line: 78,
122514
123097
  column: 23
122515
123098
  }
122516
123099
  },
122517
123100
  loc: {
122518
123101
  start: {
122519
- line: 66,
123102
+ line: 78,
122520
123103
  column: 27
122521
123104
  },
122522
123105
  end: {
122523
- line: 66,
123106
+ line: 78,
122524
123107
  column: 51
122525
123108
  }
122526
123109
  },
122527
- line: 66
123110
+ line: 78
122528
123111
  }
122529
123112
  },
122530
123113
  branchMap: {
@@ -122535,28 +123118,28 @@ function cov_bf1egtcv4() {
122535
123118
  column: 4
122536
123119
  },
122537
123120
  end: {
122538
- line: 34,
122539
- column: 36
123121
+ line: 38,
123122
+ column: 5
122540
123123
  }
122541
123124
  },
122542
- type: "binary-expr",
123125
+ type: "if",
122543
123126
  locations: [{
122544
123127
  start: {
122545
123128
  line: 34,
122546
123129
  column: 4
122547
123130
  },
122548
123131
  end: {
122549
- line: 34,
122550
- column: 10
123132
+ line: 38,
123133
+ column: 5
122551
123134
  }
122552
123135
  }, {
122553
123136
  start: {
122554
- line: 34,
122555
- column: 14
123137
+ line: undefined,
123138
+ column: undefined
122556
123139
  },
122557
123140
  end: {
122558
- line: 34,
122559
- column: 36
123141
+ line: undefined,
123142
+ column: undefined
122560
123143
  }
122561
123144
  }],
122562
123145
  line: 34
@@ -122564,68 +123147,101 @@ function cov_bf1egtcv4() {
122564
123147
  "1": {
122565
123148
  loc: {
122566
123149
  start: {
122567
- line: 42,
123150
+ line: 44,
123151
+ column: 4
123152
+ },
123153
+ end: {
123154
+ line: 48,
123155
+ column: 5
123156
+ }
123157
+ },
123158
+ type: "if",
123159
+ locations: [{
123160
+ start: {
123161
+ line: 44,
123162
+ column: 4
123163
+ },
123164
+ end: {
123165
+ line: 48,
123166
+ column: 5
123167
+ }
123168
+ }, {
123169
+ start: {
123170
+ line: undefined,
123171
+ column: undefined
123172
+ },
123173
+ end: {
123174
+ line: undefined,
123175
+ column: undefined
123176
+ }
123177
+ }],
123178
+ line: 44
123179
+ },
123180
+ "2": {
123181
+ loc: {
123182
+ start: {
123183
+ line: 54,
122568
123184
  column: 21
122569
123185
  },
122570
123186
  end: {
122571
- line: 42,
123187
+ line: 54,
122572
123188
  column: 50
122573
123189
  }
122574
123190
  },
122575
123191
  type: "cond-expr",
122576
123192
  locations: [{
122577
123193
  start: {
122578
- line: 42,
123194
+ line: 54,
122579
123195
  column: 30
122580
123196
  },
122581
123197
  end: {
122582
- line: 42,
123198
+ line: 54,
122583
123199
  column: 41
122584
123200
  }
122585
123201
  }, {
122586
123202
  start: {
122587
- line: 42,
123203
+ line: 54,
122588
123204
  column: 44
122589
123205
  },
122590
123206
  end: {
122591
- line: 42,
123207
+ line: 54,
122592
123208
  column: 50
122593
123209
  }
122594
123210
  }],
122595
- line: 42
123211
+ line: 54
122596
123212
  },
122597
- "2": {
123213
+ "3": {
122598
123214
  loc: {
122599
123215
  start: {
122600
- line: 56,
123216
+ line: 68,
122601
123217
  column: 17
122602
123218
  },
122603
123219
  end: {
122604
- line: 56,
123220
+ line: 68,
122605
123221
  column: 35
122606
123222
  }
122607
123223
  },
122608
123224
  type: "binary-expr",
122609
123225
  locations: [{
122610
123226
  start: {
122611
- line: 56,
123227
+ line: 68,
122612
123228
  column: 17
122613
123229
  },
122614
123230
  end: {
122615
- line: 56,
123231
+ line: 68,
122616
123232
  column: 22
122617
123233
  }
122618
123234
  }, {
122619
123235
  start: {
122620
- line: 56,
123236
+ line: 68,
122621
123237
  column: 26
122622
123238
  },
122623
123239
  end: {
122624
- line: 56,
123240
+ line: 68,
122625
123241
  column: 35
122626
123242
  }
122627
123243
  }],
122628
- line: 56
123244
+ line: 68
122629
123245
  }
122630
123246
  },
122631
123247
  s: {
@@ -122650,7 +123266,14 @@ function cov_bf1egtcv4() {
122650
123266
  "18": 0,
122651
123267
  "19": 0,
122652
123268
  "20": 0,
122653
- "21": 0
123269
+ "21": 0,
123270
+ "22": 0,
123271
+ "23": 0,
123272
+ "24": 0,
123273
+ "25": 0,
123274
+ "26": 0,
123275
+ "27": 0,
123276
+ "28": 0
122654
123277
  },
122655
123278
  f: {
122656
123279
  "0": 0,
@@ -122659,15 +123282,17 @@ function cov_bf1egtcv4() {
122659
123282
  "3": 0,
122660
123283
  "4": 0,
122661
123284
  "5": 0,
122662
- "6": 0
123285
+ "6": 0,
123286
+ "7": 0
122663
123287
  },
122664
123288
  b: {
122665
123289
  "0": [0, 0],
122666
123290
  "1": [0, 0],
122667
- "2": [0, 0]
123291
+ "2": [0, 0],
123292
+ "3": [0, 0]
122668
123293
  },
122669
123294
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
122670
- hash: "ad219d6e4d579b6227eff2e33862f075e1aaeda9"
123295
+ hash: "042616887aa618a3693e146b32d2ad657abe58c2"
122671
123296
  };
122672
123297
  var coverage = global[gcv] || (global[gcv] = {});
122673
123298
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -122726,17 +123351,41 @@ var TextColorOption = function TextColorOption(_ref) {
122726
123351
  useOnClickOutside(dropdownWrapperRef, function (event) {
122727
123352
  cov_bf1egtcv4().f[4]++;
122728
123353
  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);
123354
+ if (isOpen) {
123355
+ cov_bf1egtcv4().b[0][0]++;
123356
+ cov_bf1egtcv4().s[16]++;
123357
+ event.preventDefault();
123358
+ cov_bf1egtcv4().s[17]++;
123359
+ editor.commands.focus();
123360
+ cov_bf1egtcv4().s[18]++;
123361
+ setIsOpen(false);
123362
+ } else {
123363
+ cov_bf1egtcv4().b[0][1]++;
123364
+ }
122734
123365
  });
122735
- cov_bf1egtcv4().s[18]++;
123366
+ cov_bf1egtcv4().s[19]++;
123367
+ useEffect$1(function () {
123368
+ cov_bf1egtcv4().f[5]++;
123369
+ cov_bf1egtcv4().s[20]++;
123370
+ editor.commands.setHighlightInternal("#ACCEF7");
123371
+ cov_bf1egtcv4().s[21]++;
123372
+ if (!isOpen) {
123373
+ cov_bf1egtcv4().b[1][0]++;
123374
+ cov_bf1egtcv4().s[22]++;
123375
+ editor.commands.unsetHighlightInternal();
123376
+ cov_bf1egtcv4().s[23]++;
123377
+ editor.commands.removeEmptyTextStyle();
123378
+ cov_bf1egtcv4().s[24]++;
123379
+ editor.commands.focus();
123380
+ } else {
123381
+ cov_bf1egtcv4().b[1][1]++;
123382
+ }
123383
+ }, [isOpen]);
123384
+ cov_bf1egtcv4().s[25]++;
122736
123385
  return /*#__PURE__*/React__default.createElement("div", {
122737
123386
  ref: dropdownWrapperRef
122738
123387
  }, /*#__PURE__*/React__default.createElement(Dropdown$1, {
122739
- buttonStyle: isOpen ? (cov_bf1egtcv4().b[1][0]++, "secondary") : (cov_bf1egtcv4().b[1][1]++, "text"),
123388
+ buttonStyle: isOpen ? (cov_bf1egtcv4().b[2][0]++, "secondary") : (cov_bf1egtcv4().b[2][1]++, "text"),
122740
123389
  icon: Customize,
122741
123390
  isOpen: isOpen,
122742
123391
  buttonProps: {
@@ -122747,14 +123396,14 @@ var TextColorOption = function TextColorOption(_ref) {
122747
123396
  className: "neeto-editor-fixed-menu__item neeto-editor-text-color-option"
122748
123397
  },
122749
123398
  onClick: function onClick() {
122750
- cov_bf1egtcv4().f[5]++;
122751
- cov_bf1egtcv4().s[19]++;
123399
+ cov_bf1egtcv4().f[6]++;
123400
+ cov_bf1egtcv4().s[26]++;
122752
123401
  setColor(editor.getAttributes("textStyle").color);
122753
- cov_bf1egtcv4().s[20]++;
123402
+ cov_bf1egtcv4().s[27]++;
122754
123403
  setIsOpen(not);
122755
123404
  }
122756
123405
  }, /*#__PURE__*/React__default.createElement(Z, {
122757
- color: (cov_bf1egtcv4().b[2][0]++, color) || (cov_bf1egtcv4().b[2][1]++, "#000000"),
123406
+ color: (cov_bf1egtcv4().b[3][0]++, color) || (cov_bf1egtcv4().b[3][1]++, "#000000"),
122758
123407
  onChange: handleColorChange
122759
123408
  }), /*#__PURE__*/React__default.createElement("div", {
122760
123409
  className: "neeto-editor-text-color-option__options-group"
@@ -122765,8 +123414,8 @@ var TextColorOption = function TextColorOption(_ref) {
122765
123414
  size: "small",
122766
123415
  value: color,
122767
123416
  onChange: function onChange(e) {
122768
- cov_bf1egtcv4().f[6]++;
122769
- cov_bf1egtcv4().s[21]++;
123417
+ cov_bf1egtcv4().f[7]++;
123418
+ cov_bf1egtcv4().s[28]++;
122770
123419
  return setColor(e.target.value);
122771
123420
  }
122772
123421
  }), /*#__PURE__*/React__default.createElement(Button$1, {
@@ -125333,7 +125982,7 @@ var FontSizeOption = function FontSizeOption(_ref2) {
125333
125982
 
125334
125983
  function cov_7xzegtncw() {
125335
125984
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/LinkOption.jsx";
125336
- var hash = "b40876235344144786bc2e8c21e4b67359f1e3b4";
125985
+ var hash = "00ac6f0ef7b9efb21f7ff00bb225c049192f1e91";
125337
125986
  var global = new Function("return this")();
125338
125987
  var gcv = "__coverage__";
125339
125988
  var coverageData = {
@@ -125355,7 +126004,7 @@ function cov_7xzegtncw() {
125355
126004
  column: 19
125356
126005
  },
125357
126006
  end: {
125358
- line: 96,
126007
+ line: 106,
125359
126008
  column: 1
125360
126009
  }
125361
126010
  },
@@ -125635,27 +126284,87 @@ function cov_7xzegtncw() {
125635
126284
  column: 2
125636
126285
  },
125637
126286
  end: {
125638
- line: 95,
125639
- column: 4
126287
+ line: 62,
126288
+ column: 15
125640
126289
  }
125641
126290
  },
125642
126291
  "30": {
125643
126292
  start: {
125644
- line: 77,
126293
+ line: 55,
126294
+ column: 4
126295
+ },
126296
+ end: {
126297
+ line: 55,
126298
+ column: 52
126299
+ }
126300
+ },
126301
+ "31": {
126302
+ start: {
126303
+ line: 57,
126304
+ column: 4
126305
+ },
126306
+ end: {
126307
+ line: 61,
126308
+ column: 5
126309
+ }
126310
+ },
126311
+ "32": {
126312
+ start: {
126313
+ line: 58,
126314
+ column: 6
126315
+ },
126316
+ end: {
126317
+ line: 58,
125645
126318
  column: 47
126319
+ }
126320
+ },
126321
+ "33": {
126322
+ start: {
126323
+ line: 59,
126324
+ column: 6
125646
126325
  },
125647
126326
  end: {
125648
- line: 77,
126327
+ line: 59,
126328
+ column: 45
126329
+ }
126330
+ },
126331
+ "34": {
126332
+ start: {
126333
+ line: 60,
126334
+ column: 6
126335
+ },
126336
+ end: {
126337
+ line: 60,
126338
+ column: 30
126339
+ }
126340
+ },
126341
+ "35": {
126342
+ start: {
126343
+ line: 64,
126344
+ column: 2
126345
+ },
126346
+ end: {
126347
+ line: 105,
126348
+ column: 4
126349
+ }
126350
+ },
126351
+ "36": {
126352
+ start: {
126353
+ line: 87,
126354
+ column: 47
126355
+ },
126356
+ end: {
126357
+ line: 87,
125649
126358
  column: 66
125650
126359
  }
125651
126360
  },
125652
- "31": {
126361
+ "37": {
125653
126362
  start: {
125654
- line: 78,
126363
+ line: 88,
125655
126364
  column: 25
125656
126365
  },
125657
126366
  end: {
125658
- line: 78,
126367
+ line: 88,
125659
126368
  column: 37
125660
126369
  }
125661
126370
  }
@@ -125679,7 +126388,7 @@ function cov_7xzegtncw() {
125679
126388
  column: 51
125680
126389
  },
125681
126390
  end: {
125682
- line: 96,
126391
+ line: 106,
125683
126392
  column: 1
125684
126393
  }
125685
126394
  },
@@ -125833,49 +126542,73 @@ function cov_7xzegtncw() {
125833
126542
  name: "(anonymous_7)",
125834
126543
  decl: {
125835
126544
  start: {
125836
- line: 77,
126545
+ line: 54,
126546
+ column: 12
126547
+ },
126548
+ end: {
126549
+ line: 54,
126550
+ column: 13
126551
+ }
126552
+ },
126553
+ loc: {
126554
+ start: {
126555
+ line: 54,
126556
+ column: 18
126557
+ },
126558
+ end: {
126559
+ line: 62,
126560
+ column: 3
126561
+ }
126562
+ },
126563
+ line: 54
126564
+ },
126565
+ "8": {
126566
+ name: "(anonymous_8)",
126567
+ decl: {
126568
+ start: {
126569
+ line: 87,
125837
126570
  column: 20
125838
126571
  },
125839
126572
  end: {
125840
- line: 77,
126573
+ line: 87,
125841
126574
  column: 21
125842
126575
  }
125843
126576
  },
125844
126577
  loc: {
125845
126578
  start: {
125846
- line: 77,
126579
+ line: 87,
125847
126580
  column: 47
125848
126581
  },
125849
126582
  end: {
125850
- line: 77,
126583
+ line: 87,
125851
126584
  column: 66
125852
126585
  }
125853
126586
  },
125854
- line: 77
126587
+ line: 87
125855
126588
  },
125856
- "8": {
125857
- name: "(anonymous_8)",
126589
+ "9": {
126590
+ name: "(anonymous_9)",
125858
126591
  decl: {
125859
126592
  start: {
125860
- line: 78,
126593
+ line: 88,
125861
126594
  column: 19
125862
126595
  },
125863
126596
  end: {
125864
- line: 78,
126597
+ line: 88,
125865
126598
  column: 20
125866
126599
  }
125867
126600
  },
125868
126601
  loc: {
125869
126602
  start: {
125870
- line: 78,
126603
+ line: 88,
125871
126604
  column: 25
125872
126605
  },
125873
126606
  end: {
125874
- line: 78,
126607
+ line: 88,
125875
126608
  column: 37
125876
126609
  }
125877
126610
  },
125878
- line: 78
126611
+ line: 88
125879
126612
  }
125880
126613
  },
125881
126614
  branchMap: {
@@ -125981,68 +126714,101 @@ function cov_7xzegtncw() {
125981
126714
  "3": {
125982
126715
  loc: {
125983
126716
  start: {
125984
- line: 56,
126717
+ line: 57,
126718
+ column: 4
126719
+ },
126720
+ end: {
126721
+ line: 61,
126722
+ column: 5
126723
+ }
126724
+ },
126725
+ type: "if",
126726
+ locations: [{
126727
+ start: {
126728
+ line: 57,
126729
+ column: 4
126730
+ },
126731
+ end: {
126732
+ line: 61,
126733
+ column: 5
126734
+ }
126735
+ }, {
126736
+ start: {
126737
+ line: undefined,
126738
+ column: undefined
126739
+ },
126740
+ end: {
126741
+ line: undefined,
126742
+ column: undefined
126743
+ }
126744
+ }],
126745
+ line: 57
126746
+ },
126747
+ "4": {
126748
+ loc: {
126749
+ start: {
126750
+ line: 66,
125985
126751
  column: 19
125986
126752
  },
125987
126753
  end: {
125988
- line: 56,
126754
+ line: 66,
125989
126755
  column: 50
125990
126756
  }
125991
126757
  },
125992
126758
  type: "cond-expr",
125993
126759
  locations: [{
125994
126760
  start: {
125995
- line: 56,
126761
+ line: 66,
125996
126762
  column: 30
125997
126763
  },
125998
126764
  end: {
125999
- line: 56,
126765
+ line: 66,
126000
126766
  column: 41
126001
126767
  }
126002
126768
  }, {
126003
126769
  start: {
126004
- line: 56,
126770
+ line: 66,
126005
126771
  column: 44
126006
126772
  },
126007
126773
  end: {
126008
- line: 56,
126774
+ line: 66,
126009
126775
  column: 50
126010
126776
  }
126011
126777
  }],
126012
- line: 56
126778
+ line: 66
126013
126779
  },
126014
- "4": {
126780
+ "5": {
126015
126781
  loc: {
126016
126782
  start: {
126017
- line: 85,
126783
+ line: 95,
126018
126784
  column: 9
126019
126785
  },
126020
126786
  end: {
126021
- line: 92,
126787
+ line: 102,
126022
126788
  column: 9
126023
126789
  }
126024
126790
  },
126025
126791
  type: "binary-expr",
126026
126792
  locations: [{
126027
126793
  start: {
126028
- line: 85,
126794
+ line: 95,
126029
126795
  column: 9
126030
126796
  },
126031
126797
  end: {
126032
- line: 85,
126798
+ line: 95,
126033
126799
  column: 17
126034
126800
  }
126035
126801
  }, {
126036
126802
  start: {
126037
- line: 86,
126803
+ line: 96,
126038
126804
  column: 10
126039
126805
  },
126040
126806
  end: {
126041
- line: 91,
126807
+ line: 101,
126042
126808
  column: 12
126043
126809
  }
126044
126810
  }],
126045
- line: 85
126811
+ line: 95
126046
126812
  }
126047
126813
  },
126048
126814
  s: {
@@ -126077,7 +126843,13 @@ function cov_7xzegtncw() {
126077
126843
  "28": 0,
126078
126844
  "29": 0,
126079
126845
  "30": 0,
126080
- "31": 0
126846
+ "31": 0,
126847
+ "32": 0,
126848
+ "33": 0,
126849
+ "34": 0,
126850
+ "35": 0,
126851
+ "36": 0,
126852
+ "37": 0
126081
126853
  },
126082
126854
  f: {
126083
126855
  "0": 0,
@@ -126088,17 +126860,19 @@ function cov_7xzegtncw() {
126088
126860
  "5": 0,
126089
126861
  "6": 0,
126090
126862
  "7": 0,
126091
- "8": 0
126863
+ "8": 0,
126864
+ "9": 0
126092
126865
  },
126093
126866
  b: {
126094
126867
  "0": [0, 0],
126095
126868
  "1": [0, 0],
126096
126869
  "2": [0, 0],
126097
126870
  "3": [0, 0],
126098
- "4": [0, 0]
126871
+ "4": [0, 0],
126872
+ "5": [0, 0]
126099
126873
  },
126100
126874
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
126101
- hash: "b40876235344144786bc2e8c21e4b67359f1e3b4"
126875
+ hash: "00ac6f0ef7b9efb21f7ff00bb225c049192f1e91"
126102
126876
  };
126103
126877
  var coverage = global[gcv] || (global[gcv] = {});
126104
126878
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -126207,8 +126981,26 @@ var LinkOption = function LinkOption(_ref2) {
126207
126981
  handleClose();
126208
126982
  };
126209
126983
  cov_7xzegtncw().s[29]++;
126984
+ useEffect$1(function () {
126985
+ cov_7xzegtncw().f[7]++;
126986
+ cov_7xzegtncw().s[30]++;
126987
+ editor.commands.setHighlightInternal("#ACCEF7");
126988
+ cov_7xzegtncw().s[31]++;
126989
+ if (!isOpen) {
126990
+ cov_7xzegtncw().b[3][0]++;
126991
+ cov_7xzegtncw().s[32]++;
126992
+ editor.commands.unsetHighlightInternal();
126993
+ cov_7xzegtncw().s[33]++;
126994
+ editor.commands.removeEmptyTextStyle();
126995
+ cov_7xzegtncw().s[34]++;
126996
+ editor.commands.focus();
126997
+ } else {
126998
+ cov_7xzegtncw().b[3][1]++;
126999
+ }
127000
+ }, [isOpen]);
127001
+ cov_7xzegtncw().s[35]++;
126210
127002
  return /*#__PURE__*/React__default.createElement(Dropdown$1, {
126211
- buttonStyle: isActive ? (cov_7xzegtncw().b[3][0]++, "secondary") : (cov_7xzegtncw().b[3][1]++, "text"),
127003
+ buttonStyle: isActive ? (cov_7xzegtncw().b[4][0]++, "secondary") : (cov_7xzegtncw().b[4][1]++, "text"),
126212
127004
  closeOnSelect: false,
126213
127005
  "data-cy": "neeto-editor-fixed-menu-link-option",
126214
127006
  icon: Link$1,
@@ -126235,20 +127027,20 @@ var LinkOption = function LinkOption(_ref2) {
126235
127027
  value: urlString,
126236
127028
  onChange: function onChange(_ref10) {
126237
127029
  var value = _ref10.target.value;
126238
- cov_7xzegtncw().f[7]++;
126239
- cov_7xzegtncw().s[30]++;
127030
+ cov_7xzegtncw().f[8]++;
127031
+ cov_7xzegtncw().s[36]++;
126240
127032
  return setUrlString(value);
126241
127033
  },
126242
127034
  onFocus: function onFocus() {
126243
- cov_7xzegtncw().f[8]++;
126244
- cov_7xzegtncw().s[31]++;
127035
+ cov_7xzegtncw().f[9]++;
127036
+ cov_7xzegtncw().s[37]++;
126245
127037
  return setError("");
126246
127038
  }
126247
127039
  }), /*#__PURE__*/React__default.createElement(Button$1, {
126248
127040
  "data-cy": "neeto-editor-fixed-menu-link-option-link-button",
126249
127041
  label: t("menu.link"),
126250
127042
  onClick: handleLink
126251
- }), (cov_7xzegtncw().b[4][0]++, isActive) && (cov_7xzegtncw().b[4][1]++, /*#__PURE__*/React__default.createElement(Button$1, {
127043
+ }), (cov_7xzegtncw().b[5][0]++, isActive) && (cov_7xzegtncw().b[5][1]++, /*#__PURE__*/React__default.createElement(Button$1, {
126252
127044
  "data-cy": "neeto-editor-fixed-menu-link-option-unlink-button",
126253
127045
  label: t("common.unlink"),
126254
127046
  style: "text",