jodit / jodit-react

React wrapper for Jodit
MIT License
363 stars 120 forks source link

Copy and Pasting text in different font unit than default unit issues #266

Open pmasekito opened 3 months ago

pmasekito commented 3 months ago

Jodit Version: 3.4.xxxxx

Browser: Chrome/Safari/Firefox/Edge OS: Windows/Mac Is React App: True

Code Copy and pasting text in font unit pt

Text Here

shows error in font size display. image

// A *self-contained* demonstration of the problem follows...

Expected behavior: Should be converting that unit to the default unit.

Actual behavior: It is just adding the unit at the end of the string.

pmasekito commented 2 months ago

Hi there, is there any updates on this issue? 😄 ty