Open henryson opened 6 years ago
I found out the reason myself. The draftjs-color-picker has a different format of color inline style prefix, I assumed the editor used this plugin. I later noticed that it was not part of the DraftJS Plugins.
Are you able to come up with a solution with this?
I don't remember other than that I confused it for a draftjs plugin. But we moved from draftjs to other editor.
Cheers, Josef
On Fri, Jun 21, 2019 at 4:58 AM +0200, "JMA12" notifications@github.com wrote:
Are you able to come up with a solution with this?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Aww, I see.
Btw thanks, cheers
Well,, I have a similar problem and first demo here in this link also has this issue? I wonder if this is a limitation of the editor itself? In that case it's a major issue https://jpuri.github.io/react-draft-wysiwyg/#/demo
I use draftjs-color-picker version 1.0.2 and draftToHtml version 0.8.3 and this is my code:
contentRaw:
contentHtml:
<p>One blue color</p>
When I look at demo of https://jpuri.github.io/react-draft-wysiwyg/#/demo I can see that the same code produces styled HTML.
Why does it not work for me?