-
We have tried to integrate TypeScript, React and Relay into the build process. We managed to get TypeScript working by providing a custom webpack config (both for `dev` and `prod`) in `slate.config.js…
-
I'm trying to wrap a slate editor by following the fabric examples. I can't seem to get a basic example working. I've set up a module like:
```
import { registerElement } from '@angular-react/c…
-
I'm trying to use `slate-react`, which uses `is-hotkey`. For some reason the transpilation of `slate-react` tries to use `is-hotkey` as a CommonJS module even though it is served as an ESM module (I t…
jaked updated
3 years ago
-
Hello, When I install the last `netlify-cms version, I have a lot of warnings:
```
10:47:35 AM: warning "netlify-cms > netlify-cms-backend-bitbucket@2.0.4" has unmet peer dependency "immutable@^3.…
-
**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 …
-
### 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…
-
- [ ] I'd be willing to implement a fix
**Describe the bug**
When using module aliases in workspaces and a certain combination of dependencies, the following exception is being thrown:
`Asser…
-
**Description**
It is valid for `insertText` to return without doing anything. The expected behavior is that the document is left unchanged. For example, you might want to disallow typing uppercase c…
-
Create a new component and embed it inside ``:
```
...
const MyTest = props => {
const editor = useSlate();
useEffect(() => {
console.log(editor);
}, [editor]);
ret…
-
**Problem**
The Slate main component `Slate` has the two properties `value: Descendant[]` and `onChange: (value: Descendant[]) => void`.
The type `Descendant` seems to be too generalized at this poi…