430d362b168055d07d618745b6aefb42aa8d99e5
by @felixfeng33 – Fix scrolling container error.
- #3586 by @felixfeng33 – Remove useless props move config from
useTocElementState
to TocPluginoptions
- #3420 by @zbeyens –
createHeadingPlugin
->HeadingPlugin
- Replace
ELEMENT_H1
withHEADING_KEYS.H1
- Replace
KEYS_HEADING
withHEADING_LEVELS
- #3369 by @felixfeng33 – Fix:When there is a fixed container, scrolling is not work.
- #3352 by @felixfeng33 – Prevent circular references caused by brl incorrectly exporting getHeadingList.
- #3350 by @natamox – Expose toc plugin queryHeading fuction, this allows to customize the heading I need
- #3241 by @felixfeng33 – Add ToC plugin and sidebar
- #3194 by @KorovinQuantori – Export plugin keys for easier access plugin options by key
- #3183 by @KorovinQuantori – Fix regression: heading hotkeys
-
#3162 by @emilienbidet – ### Changes
- Modified
createHeadingPlugin
function to allow granular selection of heading levels. - Added support for retaining the old behavior of generating plugins for all heading levels up to a maximum level.
- Type the heading levels props
- The
createHeadingPlugin
function has been updated to accept an array of specific heading levels to enable, allowing for granular selection of heading levels. This provides more flexibility in choosing which heading levels to support within the editor. - The function now supports retaining the old behavior of generating plugins for all heading levels up to a maximum level if desired. This ensures backward compatibility with existing implementations that rely on the previous behavior.
- To use the granular selection feature, pass an array of heading levels to the
createHeadingPlugin
function when initializing it. For example:
const headingPlugin = createHeadingPlugin({ levels: [1, 2, 3], // Enable heading levels 1, 2, and 3 });
And the previous behaviour is still working:
const headingPlugin = createHeadingPlugin({ levels: 6, // Enable heading levels 1, 2, 3, 4, 5 and 6 });
- Modified
4cbed7159
by @zbeyens – Move@udecode/plate-common
to peerDeps to fix a bug when multiple instances were installed
- #2961 by @zbeyens – Move
@udecode/plate-common
to peerDeps to fix a bug when multiple instances were installed
- Updated dependencies [
a6bf8c5e
]:- @udecode/[email protected]
- Updated dependencies [
8aec270f
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
7ee21356
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
503956fd
]:- @udecode/[email protected]
- Updated dependencies [
b22c06aa
]:- @udecode/[email protected]
- Updated dependencies [
58f6fb53
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
6af469cd
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
f1da7267
,35caf35d
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
58387c6d
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
f6c58134
]:- @udecode/[email protected]
- Updated dependencies [
ec4d5b7b
]:- @udecode/[email protected]
-
#918
7d045d8d
Thanks @zbeyens! - addslate-history
as a peerDep -
Updated dependencies [
7d045d8d
]:- @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]
- Updated dependencies [
3a3eb1b8
]:- @udecode/[email protected]
- Updated dependencies [
75b39f18
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
abaf4a11
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
d906095d
]:- @udecode/[email protected]
- Updated dependencies [
42360b44
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
6e9068f6
]:- @udecode/[email protected]
- Updated dependencies [
15048e6f
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
b444071e
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
2cf618c3
]:- @udecode/[email protected]
- Updated dependencies [
7cbd7bd9
,806e1632
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
33605a49
,28f30c8a
,75e6d25d
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
dfbde8bd
,dfbde8bd
]:- @udecode/[email protected]
- @udecode/[email protected]
- Updated dependencies [
201a7993
]:- @udecode/[email protected]
- @udecode/[email protected]