-
Updated
Aug 11, 2021 - JavaScript
draft-js
Here are 209 public repositories matching this topic...
-
Updated
Jun 24, 2021 - JavaScript
-
Updated
May 8, 2021 - JavaScript
-
Updated
Aug 11, 2021 - JavaScript
-
Updated
May 24, 2021 - JavaScript
-
Updated
Aug 10, 2021 - 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
Aug 11, 2021 - JavaScript
-
Updated
Aug 11, 2021 - TypeScript
-
Updated
May 19, 2021 - JavaScript
-
Updated
Aug 13, 2021 - TypeScript
-
Updated
Oct 11, 2020 - TypeScript
-
Updated
Aug 10, 2021 - JavaScript
-
Updated
Aug 10, 2021 - JavaScript
-
Updated
Aug 11, 2021 - JavaScript
-
Updated
Aug 10, 2021 - CSS
-
Updated
Oct 13, 2018 - JavaScript
-
Updated
May 19, 2017 - JavaScript
-
Updated
Feb 7, 2021 - TypeScript
-
Updated
Jul 4, 2021 - 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
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.