NatPri

Results 7 comments of NatPri

I ran into this issue as well. A somewhat hacky workaround is to add code like this when you're outputting a color: ```javascript if (cssStyle.color) { cssStyle.textDecorationColor = cssStyle.color; cssStyle.textDecorationLine...

One case where I'm not sure that simple merging of styles would necessarily work would be in the following scenario (which I need to support as well): ```html underline only...

If I understand your proposal correctly, the idea is basically extend the notion of style maps from draft-js to include tags, without a change to the public styleToHtml API? So...

Or is the idea to layer all the tags together when there is a "conflicting' semantic tag, e.g: ```html before bold color after ```

Yeah, that's kinda why I was leaning towards providing additional context to styleToHtml (or potentially some other API) and letting clients handle this explicitly, for example, by providing a list...

This has been sitting for a few months now, is there anyone that can comment on what sort of timeline we could expect on this bug?

I was moved to a different project before I could revisit this, so unfortunately I don't know where this ended up, sorry.