plate
plate copied to clipboard
A rich-text editor powered by AI
## Description LinkFloatingToolbar Closed unexpectedly ## Steps to Reproduce 1. Render multiple editor  2. Click Add Link button, popup will shows  3. Click any area of the popup...
## Description whenever I'm editing text that are next to hyperlinks, the text is duplicated. I had checked the the editor's value, but the duplicated text did not show in...
## Description When calling `serializeHtml` (from `@udecode/plate-serializer-html`), React throws an invalid hook error: ```bash Uncaught (in promise) Error: Invalid hook call. Hooks can only be called inside of the body...
## Description After creating the first link, the insert floating UI state persists. ## Steps to Reproduce 1. go to [platejs.org](https://platejs.org/) 2. create a new paragraph or use existing one...
## Description Despite the attempts to reset the store found here https://github.com/udecode/plate/blob/main/packages/link/src/components/FloatingLink/floatingLinkStore.ts#L31 the URL edit input still has the previously edited Url in some circumstances. ## Steps to Reproduce 1....
## Description After generating LinkElement you get code with `any` https://github.com/udecode/plate/blob/main/apps/www/src/registry/default/plate-ui/link-element.tsx#L22 ## Steps to Reproduce - run any command to generate a link element https://platejs.org/docs/components/link-element#installation - code has `{...(props as...
## Description Hey @zbeyens thanks for you hard work. The generated **ToolbarButton** has bad typing. After toolbar generation, you will have a dustructured `value` in the https://github.com/udecode/plate/blob/main/templates/plate-playground-template/src/components/plate-ui/toolbar.tsx#L91 If your eslint...
**Description** Fixes #1843 Fixes #2533 After investigating #1843 I discovered that Slate inserts an empty text node before the mention input to fulfil this normalization constraint: > 4. **Inline nodes...
## Description In Safari, the floating toolbar doesn't open in a visible location the first time it is opened. Clicking the link button a second time opens it in the...
**Description** A plugin to pass arbitrary messages via Slate operations, for use with Yjs. **Example** ```ts const onMessage = jest.fn(); const editor = createPlateEditor({ plugins: [ createOpMessagesPlugin({ options: { onMessage,...