slate-angular 20.2.21 → 20.2.22

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.d.ts CHANGED
@@ -419,6 +419,7 @@ declare class SlateEditable implements OnInit, OnChanges, OnDestroy, AfterViewCh
419
419
  initializeVirtualScroll(): void;
420
420
  getChangedIndics(previousValue: Descendant[]): any[];
421
421
  setVirtualSpaceHeight(topHeight: number, bottomHeight?: number): void;
422
+ setTopHeightDebugInfo(accumulatedHeight: number, accumulatedEndIndex: number): void;
422
423
  getActualVirtualTopHeight(): number;
423
424
  appendPreRenderingToViewport(visibleStates: boolean[]): {
424
425
  preRenderingCount: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slate-angular",
3
- "version": "20.2.21",
3
+ "version": "20.2.22",
4
4
  "description": "Angular view layer for Slate",
5
5
  "author": "pubuzhixing <pubuzhixing@gmail.com>",
6
6
  "homepage": "https://github.com/worktile/slate-angular#readme",
package/styles/index.scss CHANGED
@@ -4,6 +4,9 @@
4
4
  outline: none;
5
5
  padding: 0 32px;
6
6
  white-space: break-spaces;
7
+ .virtual-top-height {
8
+ overflow: hidden;
9
+ }
7
10
  & [contenteditable='true'] {
8
11
  outline: none;
9
12
  }