1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-09-09 06:30:40 +02:00

Use stylesheets to give Editable components default styles (#5206)

* Use stylesheet to give Editable components a default style

* Give Editors a unique id

* Use per-editor stylesheets to give editors a min-height

* Make editor min-height respond to changes in placeholder height

* Add changeset for stylesheet changes

* Prevent unnecessary creations of ResizeObservers

* Update yarn.lock
This commit is contained in:
Kyle McLean
2022-12-03 21:26:17 -07:00
committed by GitHub
parent d1f90ebd12
commit 96b7fcdbf9
9 changed files with 119 additions and 19 deletions

View File

@@ -30,6 +30,7 @@
"@types/react": "^16.9.13",
"@types/react-dom": "^16.9.4",
"@types/react-test-renderer": "^16.8.0",
"@types/resize-observer-browser": "^0.1.7",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"react-test-renderer": ">=16.8.0",