Skip to content
#

draft-js

Here are 237 public repositories matching this topic...

shoNagai
shoNagai commented Apr 13, 2021

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.

  const {
    actions: { move, delete: deleteNode },
    query,
  } = useEditor();

bug good first issue

A multilingual react rich-text editor component includes media support such as texts, images, videos, audios, links etc. Development based on Draft-Js and Ant-design, good support html, markdown, draft-raw mode. 一款基于 draft-Js 和 ant-design 实现的 react 富文本编辑器组件,支持文本、图片、视频、音频、链接等元素插入,同时支持HTML、markdown、draft Raw格式。

  • Updated Feb 10, 2022
  • JavaScript
draftail
quirinpa
quirinpa commented Jan 18, 2021

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

bug help wanted good first issue
draftjs-filters
thibaudcolas
thibaudcolas commented Mar 7, 2018

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

enhancement help wanted good first issue
draftjs-conductor
thibaudcolas
thibaudcolas commented Sep 30, 2018

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
enhancement help wanted good first issue

Improve this page

Add a description, image, and links to the draft-js topic page so that developers can more easily learn about it.

Curate this topic

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."

Learn more