Bug in demo text editor on website
Aniket1026 opened this issue Β· comments
!!! BUG REPORT
The demo editor provided on the website is not working.
The BOLD ,ITALIC ,UNDERLINE ,MONOSPACE options are not working on the entered text editor.
I was using this on latest chrome version and on a windows 10 device.
Below is shown a image from the website of draft.js where the mentioned options are not working.
It's working properly
If you select the text and then tap H1/H2 or any other then it's working...
Can you please clearly mention steps for reproduction...
As for options like H1,H2 or code Block . I don't have to actually select the text it gets applied over all the input text as soon as I click any of them.
As shown
But for applying Bold, Italic, Underline or Monospace . I had to select the text which was not the case with other options.
As shown
So I do think we can have the same functionality for all the options.
or maybe it was kept like this for some reasons. would love to know your views .
Thank you π.
I think it's not a bug, it's a feature according to the maintainers ππ!
Check https://github.com/facebook/draft-js in readme section. Checkout this link
Here in this gif it should be as it is...
Ohhhh , yeahhh π. I should have watched the readme more carefully .
Still thanks for pointing it out π