-
## 编辑器设置初始值加载时报错
```
const editor = createEditor({
selector: '#editor-container',
// 初始值
html: '',
config: editorConfig,
mode: 'default', // 'default' or 'simple'
})
con…
-
Hi,
https://codesandbox.io/p/sandbox/slate-reproductions-forked-hlvpjh
i am trying to implement drag and drop with slatejs where I wanna drag elements and drop them inside the editor itself, problem…
-
**Description**
For `moveNodes` the `to` seems to be off when moving to a later sibling. (Probably issue with `move_node` too.)
**Steps**
The given test passes, but it doesn't make sense.
`…
beorn updated
1 month ago
-
We need to enhance our application by adding a Notion-like text editor that allows users to create, edit, and format content with ease. This feature should support rich text formatting, lists, tables,…
-
**Description**
I created a Rich Text Editor in React site with Next.js using Slate.js and slate-react. It has edit and read modes. When in read mode, I use Next.js SSR to render the text but I'm get…
-
### Description
# The problem
Copy-pasting content between incompatible implementations of Slate-based editors creates an exception, or put another way, it seems Plate cannot handle elements with an…
-
## bug 描述
使用官网提供的editor.insertNode(node)和setHtml,dangerouslyInsertHtml方法增加内容,加粗效果均不显示 h3标签也不生效
## 你预期的样子是?
strong h3能渲染出加粗效果
## 系统和浏览器及版本号
- 操作系统 win11
- 浏览器和版本 Google 129.0.6668.101
…
-
**Problem**
How can I change the content of my editor programmatically without causing an onChange. I am trying to update the content of my editor with socket io and I am out of ideas. Apparently in …
-
Create a new component and embed it inside ``:
```
...
const MyTest = props => {
const editor = useSlate();
useEffect(() => {
console.log(editor);
}, [editor]);
ret…
-
### Proposal
- Add support for bold and italicized text in CopilotTextarea
- CopilotTextarea uses [slate-js](https://github.com/ianstormtaylor/slate) under the hood. Lots of examples for adding bold…