wysiwyg-editor
wysiwyg-editor copied to clipboard
Typing with formatting options on after selection cancel the current formatting option
Expected behavior.
The new typing should have the selected formatting option applied
Actual behavior.
The new typing reset the formatting option of the previously selected piece of text
Steps to reproduce the problem.
=> Type some text in the box => Select one piece of the text => assign it some formatting option (fontFamily, color, textDecoration etc.. ). => Double click this selection or highlight it => start typing from the selection
Editor version.
4.1.4
OS.
macOS 14.1.1 (23B81)
Browser.
Google Chrome (Version 122.0.6261.69 (Official Build) (arm64))
Recording.
https://github.com/froala/wysiwyg-editor/assets/42937044/b7dd73cd-e26f-4c15-bc7f-19f75acc5480
As a side note, can we have a method to somehow getting the current formatting of a selection returning for instance { textDecoration: 'underline', color: '#ff00ff', fontFamily: 'Times new roman" } etc
can i get an answer from this one ? its been a month...