Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text Selection Not Preserved When Switching to Code View in FroalaEditorComponent #392

Open
shaikrilwan opened this issue Mar 12, 2024 · 0 comments

Comments

@shaikrilwan
Copy link

Description

When switching from the WYSIWYG view to the code view in FroalaEditorComponent, the text selection is not fully preserved. This issue occurs when selecting text in the editor and then toggling to the code view. The expected behavior is that the full selection remains highlighted, but currently, only a part of the text remains selected.

Steps to Reproduce

  1. Select a portion of text in the WYSIWYG editor.
  2. Switch to the code view.
  3. Observe that the selected text is not fully highlighted.

Expected behavior

The full text selection should be preserved and highlighted when switching to code view.

Actual behavior

Only part of the initially selected text remains highlighted when switching to code view.

Additional context

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant