jpuri / draftjs-utils

An collection of useful utility functions for DraftJS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getEntityRange should return range for multiple blocks?

jimsleon opened this issue · comments

based on my test, it is possible that entity across multiple blocks. You can reproduce this by inputing multiple blocks in the editor, select multiple blocks, create and apply an entity to the selected blocks. it will work.(multiple entity decorators will be created for each block)