forked from udecode/plate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request udecode#3420 from udecode/plate-35
🚨 Plate 37
- Loading branch information
Showing
2,981 changed files
with
62,207 additions
and
47,990 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@udecode/plate-alignment': major | ||
--- | ||
|
||
- `createAlignPlugin` -> `AlignPlugin` | ||
- `setAlign`: remove `key` option |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@udecode/plate-autoformat': major | ||
--- | ||
|
||
- `createAutoformatPlugin` -> `AutoformatPlugin` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'@udecode/plate-basic-elements': major | ||
--- | ||
|
||
- `createBasicElementPlugins` -> `BasicElementsPlugin` | ||
- `createBlockquotePlugin` -> `BlockquotePlugin` | ||
- `createCodeBlockPlugin` -> `CodeBlockPlugin` | ||
- `createHeadingPlugin` -> `HeadingPlugin` | ||
- Move paragraph plugin to `@udecode/plate-core` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
'@udecode/plate-basic-marks': major | ||
--- | ||
|
||
- `createBasicMarksPlugins` -> `BasicMarksPlugin` | ||
- `createBoldPlugin` -> `BoldPlugin` | ||
- `createCodePlugin` -> `CodePlugin` | ||
- `createItalicPlugin` -> `ItalicPlugin` | ||
- `createStrikethroughPlugin` -> `StrikethroughPlugin` | ||
- `createSubscriptPlugin` -> `SubscriptPlugin` | ||
- `createSuperscriptPlugin` -> `SuperscriptPlugin` | ||
- `createUnderlinePlugin` -> `UnderlinePlugin` | ||
- All mark plugins removed `hotkey` option. Use `plugin.shortcuts` instead (see plate-core) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@udecode/plate-block-quote': major | ||
--- | ||
|
||
- `createBlockquotePlugin` -> `BlockquotePlugin` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@udecode/plate-break': major | ||
--- | ||
|
||
- `createSoftBreakPlugin` -> `SoftBreakPlugin` | ||
- `createExitBreakPlugin` -> `ExitBreakPlugin` | ||
- `createSingleLinePlugin` -> `SingleLinePlugin` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
'@udecode/plate-caption': major | ||
--- | ||
|
||
- `createCaptionPlugin` -> `CaptionPlugin` | ||
- `CaptionPlugin` options: | ||
- Rename `pluginKeys` to `plugins` | ||
- Rename `focusEndCaptionPath` to `focusEndPath` | ||
- Rename `focusStartCaptionPath` to `focusStartPath` | ||
- Rename `showCaptionId` to `visibleId` | ||
- Rename `isShow` to `isVisible` | ||
- Move `captionGlobalStore` to `CaptionPlugin` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@udecode/plate-cloud': major | ||
--- | ||
|
||
- `createCloudPlugin` -> `CloudPlugin` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@udecode/plate-code-block': major | ||
--- | ||
|
||
- `createCodeBlockPlugin` -> `CodeBlockPlugin` | ||
- NEW `CodeLinePlugin` | ||
- NEW `CodeSyntaxPlugin` | ||
- Remove `getCodeLineType`, use `editor.getType(CodeLinePlugin)` instead |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@udecode/plate-combobox': major | ||
--- | ||
|
||
- Split build into `@udecode/plate-combobox` and `@udecode/plate-combobox/react`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
'@udecode/plate-comments': major | ||
--- | ||
|
||
- `createCommentsPlugin` -> `CommentsPlugin` | ||
- Move `commentsStore` to `CommentsPlugin` | ||
- Remove `CommentsProvider` and its hooks | ||
- Remove `useCommentsStates` (replaced by direct option access) | ||
- Remove `useCommentsSelectors` (replaced by option selectors) | ||
- Remove `useCommentsActions` (replaced by api methods) | ||
- Replace `useUpdateComment` with `api.comment.updateComment` | ||
- Replace `useAddRawComment` with `api.comment.addRawComment` | ||
- Replace `useAddComment` with `api.comment.addComment` | ||
- Replace `useRemoveComment` with `api.comment.removeComment` | ||
- Replace `useResetNewCommentValue` with `api.comment.resetNewCommentValue` | ||
- Replace `useNewCommentText` with `options.newText` | ||
- Replace `useMyUser` with `options.myUser` | ||
- Replace `useUserById` with `options.userById` | ||
- Replace `useCommentById` with `options.commentById` | ||
- Replace `useActiveComment` with `options.activeComment` | ||
- Replace `useAddCommentMark` with `insert.comment` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@udecode/plate-common': major | ||
--- | ||
|
||
- Split build into `@udecode/plate-common` and `@udecode/plate-common/react`. | ||
- NEW `/react` exports `@udecode/react-hotkeys` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.