draft-js icon indicating copy to clipboard operation
draft-js copied to clipboard

Text formatting with Touch Bar

Open ShankyRana opened this issue 5 years ago • 0 comments

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Inline Style insertion through Macbook Touch Bar replaces all content within a block with the selected content. If the inline style is inserted through the in-display toolbar then Touch Bar works fine with the selected content if toggled through it.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

Demo Fiddle: https://jsfiddle.net/Shanky0009/nfbh2prj/1/ Demo: https://user-images.githubusercontent.com/17160110/104161996-cc186b00-5419-11eb-993f-a26e2065ba44.mov

What is the expected behavior?

Should insert an inline style to the text using Macbook Toolbar.

Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?

Draft.js: Version 0.11.7 Browser affected: Safari Version 14.0.2

ShankyRana avatar Jan 11 '21 09:01 ShankyRana