-
We use the editor in both read only and edit mode mode. This switch happens by changing the state using a `onClick` handler on the parent div.
However when going from read only mode to edit mode, …
-
![image](https://user-images.githubusercontent.com/4957690/121063406-7392a180-c7f0-11eb-9ced-e7e37a19459d.png)
![image](https://user-images.githubusercontent.com/4957690/121063435-7e4d3680-c7f0-11e…
-
Is it possible to add a button to edit the html source directly like a toggle mode?
nojaf updated
2 years ago
-
When I click on the editor I get this warning in the console:
> Warning: Can't call setState on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application…
-
ReferenceError: window is not defined
at Object. (D:\project\node_modules\react-draft-wysiwyg\dist\react-draft-wysiwyg.js:1:393)
at Module._compile (internal/modules/cjs/loader.js:955:30)
…
-
```
const blocksFromHtml = htmlToDraft(this.props.value);
const { contentBlocks, entityMap } = blocksFromHtml;
const contentState = ContentState.createFromBlockArray(contentBlocks, entit…
-
### 目的
Todoのdescriptionをリッチテキストにして使いやすくする
-
anywhere i click on screen i get this this error
-
Unable to add a file-uploader as a toolbar custom button!
Attempting to select a file to upload causes react-draft-wysiwyg to throw an error:
![Screenshot 2021-05-21 at 13 18 21](https://user-im…
-
**Is your feature request related to a problem? Please describe.**
it is common for jekyll (and other static generator) sites to use html as body format instead of markdown.
![markdowht…