-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Hi, it looks like when you allready have uploaded some pictures in the editor, hyperlinks can't be added anymore. They are saved as normal text in rawDraftContentState :
-block part of rawdraftcontentstate is not saved as atomic but unstyled
-entityMap is not saved with updated data
But this happens only when you have uploaded pictures before you add a hyperlink, otherwise it works correctly.
I tryed to override this part with linkCallback but since the function must return following information to be processed (linkTitle, linkTarget, linkTargetOption) I can't manage to save newDraftContentState with updated entityMap.
Can you help please ? Thank's a lot in advance
Metadata
Metadata
Assignees
Labels
No labels