froala/wysiwyg-editor

Typing with formatting options on after selection cancel the current formatting option

Opened this issue · 1 comments

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.
Screen.Recording.2024-03-06.at.12.13.50.mov

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...