- Updated dependencies [
a6bf8c5e
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
8aec270f
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
7ee21356
,1021397d
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
503956fd
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
53d13cbc
]:- @udecode/[email protected]
- Updated dependencies [
9a091446
,9a091446
]:- @udecode/[email protected]
- Updated dependencies [
b22c06aa
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
58f6fb53
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
6af469cd
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
ea693250
]:- @udecode/[email protected]
- Updated dependencies [
d5667409
,a899c585
]:- @udecode/[email protected]
- Updated dependencies [
0db393e1
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
f1da7267
,35caf35d
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- #977
aaf99b7c
Thanks @karthikcodes6! - changes:- new deps:
react-textarea-autosize
for image captionre-resizable
for resizing image width
ImageElement
- modified styles
- wrapped the
img
html tag into afigure
- render
Resizable
fromre-resizable
:- on resize stop, set the node width in
node.width
- hide left handle when image is aligned at left
- hide right handle when image is aligned at right
- on resize stop, set the node width in
- caption:
img.alt
is now the caption text- added an editable caption inside a
figcaption
html tag usingreact-textarea-autosize
- the value is stored in
node.caption
- new props:
resizableProps?: ResizableProps
align?: 'left' | 'center' | 'right'
draggable?: boolean
caption.disabled?: boolean
caption.align?: 'left' | 'center' | 'right'
caption.placeholder?: string
ImageElementStyles
new customizable styles:resizable
,figure
,figcaption
,caption
,handle
,handleLeft
,handleRight
- new deps:
- Updated dependencies [
2c341eff
]:- @udecode/[email protected]
- Updated dependencies [
58387c6d
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
f6c58134
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
a1600e5f
,03f2acdd
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
885a7799
]:- @udecode/[email protected]
- @udecode/[email protected]
- #955
348f7efb
Thanks @zbeyens! - WHAT: movedstyled-components
from dependencies to peer dependencies. WHY: there was multiple instances ofstyled-components
across all the packages. HOW: make sure to havestyled-components
in your dependencies.
- Updated dependencies [
348f7efb
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
ec4d5b7b
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
10064d24
]:- @udecode/[email protected]
- @udecode/[email protected]
-
#918
7d045d8d
Thanks @zbeyens! - addslate-history
as a peerDep -
Updated dependencies [
7d045d8d
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
🎉 The Slate Plugins project has evolved to Plate 🎉
To migrate, install @udecode/plate[-x]
then find and replace all
occurrences of:
slate-plugins
toplate
SlatePlugins
toPlate
SlatePlugin
toPlatePlugin
This is the last version of
@udecode/slate-plugins[-x]
, please install@udecode/plate[-x]
.
- Updated dependencies [
7c26cf32
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
3a3eb1b8
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
75b39f18
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
abaf4a11
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
f9e4cb95
,d906095d
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
42360b44
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
0c02cee8
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
6e9068f6
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
15048e6f
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
b444071e
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies []:
- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
806e1632
]:- @udecode/[email protected]
- @udecode/[email protected]
- @udecode/[email protected]
-
#713
73b77853
Thanks @zbeyens! - fix: added the core dep to avoid duplicated stores in the build -
Updated dependencies [
73b77853
]:- @udecode/[email protected]
- Updated dependencies []:
- @udecode/[email protected]
- @udecode/[email protected]
- #668
f1e6107c
Thanks @zbeyens! - The components/hooks can now be outsideSlatePlugins
and need the editor to be focused once to be functional.
- Updated dependencies [
f1e6107c
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies []:
- @udecode/[email protected]
- @udecode/[email protected]