-
Updated
Jun 23, 2022 - JavaScript
draft-js
Here are 237 public repositories matching this topic...
-
Updated
Dec 3, 2021 - JavaScript
-
Updated
May 8, 2021 - JavaScript
-
Updated
Feb 10, 2022 - JavaScript
Describe the bug
I'm trying to write a plugin to limit maximum content length in the draftail editor. I also want to be able to paste formatted content from outside the editor. Turns out my plugin's handlePastedText does not get called when setting prop stripPastedStyles to false. Unless I paste plain text.
Environment
Current version of draftail + draft.js 0.10.5
Steps to
-
Updated
Feb 11, 2022 - JavaScript
-
Updated
May 6, 2022 - TypeScript
-
Updated
Oct 11, 2020 - TypeScript
-
Updated
May 19, 2021 - JavaScript
-
Updated
Apr 29, 2022 - TypeScript
-
Updated
Jun 24, 2022 - JavaScript
-
Updated
Aug 20, 2021 - JavaScript
-
Updated
May 17, 2022 - JavaScript
-
Updated
Jun 1, 2022 - CSS
-
Updated
Oct 13, 2018 - JavaScript
-
Updated
Feb 7, 2021 - TypeScript
-
Updated
May 19, 2017 - JavaScript
Feature (to address a bug in Draft.js). See facebook/draft-js#523 (comment) and facebook/draft-js#1082.
What is the current behavior?
[...] when copy-pasting Draft.js images from one editor to another. If the unstyled blocks in-between the images are empty, then they will be removed in the target editor... and it becomes
-
Updated
Jul 4, 2021 - JavaScript
At the moment, the project's documentation is limited to what is in the README. It would be nice if there was more complete documentation generated automatically: a full API reference, with links back to the source code, based on the Flow types (or JSDoc).
Ideally this would be generating Markdown so it can be versioned with the code in Git/GitHub.
Tools to consider & useful info:
- https
-
Updated
Jun 6, 2020 - JavaScript
Improve this page
Add a description, image, and links to the draft-js topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the draft-js topic, visit your repo's landing page and select "manage topics."
Describe the bug
When using move to lower the position of an element, adding 1 to the index does not work, and 2 needs to be added.
To Reproduce
I implemented the following code to move the element position up and down under the ROOT, but the onDown function did not move the element down.