@wangeditor-next/editor 5.3.12-alpha.0 → 5.3.12-alpha.2

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/CHANGELOG.md CHANGED
@@ -5,7 +5,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
5
5
 
6
6
  ## [5.3.12-alpha.0](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/editor@5.3.11...@wangeditor-next/editor@5.3.12-alpha.0) (2024-07-25)
7
7
 
8
- **Note:** Version bump only for package @wangeditor-next/editor
8
+
9
+ ### Reverts
10
+
11
+ * delete table merge key ([d40dcce](https://github.com/cycleccc/wangEditor/commit/d40dcce0af89629203e8ee28240f4905aa5b4cab))
9
12
 
10
13
 
11
14
 
@@ -539,10 +539,6 @@ body .w-e-modal * {
539
539
  }
540
540
 
541
541
 
542
- .w-e-text-container [data-slate-editor] {
543
- /* 干掉 Chrome 默认选区样式*/
544
- /* 拖动 Style */
545
- }
546
542
  .w-e-text-container [data-slate-editor] .table-container {
547
543
  width: 100%;
548
544
  overflow-x: auto;
@@ -550,12 +546,9 @@ body .w-e-modal * {
550
546
  padding: 10px;
551
547
  border-radius: 5px;
552
548
  margin-top: 10px;
553
- position: relative;
554
549
  }
555
550
  .w-e-text-container [data-slate-editor] table {
556
551
  border-collapse: collapse;
557
- table-layout: fixed;
558
- /* 选区拖影 */
559
552
  }
560
553
  .w-e-text-container [data-slate-editor] table td,
561
554
  .w-e-text-container [data-slate-editor] table th {
@@ -564,76 +557,17 @@ body .w-e-modal * {
564
557
  min-width: 30px;
565
558
  text-align: left;
566
559
  line-height: 1.5;
567
- /* 强制换行,table column 宽度必须拖动增大 */
568
- overflow: hidden;
569
- overflow-wrap: break-word;
570
- word-break: break-all;
571
- white-space: pre-wrap;
572
560
  }
573
561
  .w-e-text-container [data-slate-editor] table th {
574
562
  background-color: var(--w-e-textarea-slight-bg-color);
575
563
  text-align: center;
576
564
  font-weight: bold;
577
565
  }
578
- .w-e-text-container [data-slate-editor] table td.w-e-selected,
579
- .w-e-text-container [data-slate-editor] table th.w-e-selected {
580
- background-color: rgba(20, 86, 240, 0.18);
581
- }
582
- .w-e-text-container [data-slate-editor] table.table-selection-none *::-moz-selection {
583
- background: none;
584
- }
585
- .w-e-text-container [data-slate-editor] table.table-selection-none *::selection {
586
- background: none;
587
- }
588
- .w-e-text-container [data-slate-editor] .column-resizer {
589
- position: absolute;
590
- display: flex;
591
- top: 10px;
592
- left: 11px;
593
- width: 0;
594
- height: 0;
595
- z-index: 1;
596
- }
597
- .w-e-text-container [data-slate-editor] .column-resizer .column-resizer-item {
598
- position: relative;
599
- }
600
- .w-e-text-container [data-slate-editor] .resizer-line-hotzone {
601
- cursor: col-resize;
602
- position: absolute;
603
- width: 10px;
604
- right: -3px;
605
- visibility: hidden;
606
- opacity: 0;
607
- transition: opacity 0.2s ease, visibility 0.2s ease;
608
- }
609
- .w-e-text-container [data-slate-editor] .resizer-line-hotzone .resizer-line {
610
- height: 100%;
611
- width: 2px;
612
- margin-left: 5px;
613
- background: rgba(20, 86, 240, 0.8);
614
- -webkit-user-select: none;
615
- -moz-user-select: none;
616
- user-select: none;
617
- }
618
- .w-e-text-container [data-slate-editor] .resizer-line-hotzone.visible {
619
- visibility: visible;
620
- }
621
- .w-e-text-container [data-slate-editor] .resizer-line-hotzone.highlight {
622
- opacity: 1;
623
- }
624
566
  .w-e-panel-content-table {
625
567
  background-color: var(--w-e-toolbar-bg-color);
626
568
  }
627
569
  .w-e-panel-content-table table {
628
570
  border-collapse: collapse;
629
- table-layout: fixed;
630
- }
631
- .w-e-panel-content-table th,
632
- .w-e-panel-content-table td {
633
- overflow: hidden;
634
- overflow-wrap: break-word;
635
- word-break: break-all;
636
- white-space: pre-wrap;
637
571
  }
638
572
  .w-e-panel-content-table td {
639
573
  border: 1px solid var(--w-e-toolbar-border-color);