-
Got this error when I was installing react-draft-wysiwyg.
I did npm view html-to-draftjs and found that the latest version is v1.4.0
-
Some of the tools are not working with the latest version of React (from React 18.0.0).
I have reproduced this on codesandbox [here](https://codesandbox.io/s/text-editor-vmzewy?file=/src/RichTextEd…
-
The ordered list (``) is glitchy after the 9th item.
The fix is changing this:
`.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}`
To something like this:
`.publ…
-
-
I am working with react-draft-wysiwyg.
All Html Tags are removed from text when I get content from editor.
For example:
Input:
const html = ' Hello world! this is my test codeHey this editor…
-
## Description
- Add the possibility to include tables in rich text editor if possible
**What kind of improvement you want to add?** (check one with "x", remove the others)
- [ ] Minor change…
-
![image](https://user-images.githubusercontent.com/16714871/42669554-0a8d8cb6-8691-11e8-81f8-59f8f097ba3f.png)
My code:
import React from 'react';
import ReactDOM from "react-dom";
import { Mo…
dihlo updated
5 years ago
-
https://draftjs.org/docs/api-reference-content-block
According to draftjs official doc, there's no `code` type on ContentBlock.
There's only `code-block` type on ContentBlock.
So we must change t…
-
Hi!
For ckeditor (https://sdk.ckeditor.com/samples/sourcearea.html) we have a button called "source", and you can click it and edit content as raw html. It also useful for copy/paste html.
Do we hav…
-
When initializing the Editor with some previously saved content, eg:
```json
{"blocks":[
{"key":"78mel",
"text":"Lorem ipsum duis vulputate erat vel tortor ornare lobortis. In tempus aliquet e…