question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firefox: Marking not working correctly

See original GitHub issue

Description On Firefox, mark text italic, underline or strikethrough is not working correctly. Once you mark selection with format, after reselect the formated selection, Editor does not recognize it as marked/formated text. Only working format is bold.

Recording slate issue

Steps To reproduce the behavior:

  1. Go to https://www.slatejs.org/examples/richtext on Firefox
  2. Type some text
  3. Select text
  4. Mark it as italic or underline
  5. Cancel selection
  6. Select marked text again
  7. Editor does not know that text is marked

Expectation Working as it should

Environment

  • Slate Version: [e.g. 0.72.3]
  • Operating System: [macOS]
  • Browser: [Firefox]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
bryanphcommented, Jan 26, 2022

We don’t seem to have a concept for unhanging selections w.r.t inlines/texts it seems. Introducing this as was suggested here would solve this I think.

Another way might be to unify the “double-click to select” behavior across browsers so that the resulting selection is not hanging (is this something we can hook into?)

1reaction
dylanscommented, Jan 19, 2022

@matobiely I didn’t close/reject your report because it is an issue. 😂 … just added notes to help clarify/track it down. Edges/boundaries are one of the things that is challenging to get right across platforms. For example, see the discussion in #4522 or #4588.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix "The bookmarks and history system will not be functional ...
This article explains what to do if you see the error message “The bookmarks and history system will not be functional” when you...
Read more >
Can't add, change or save bookmarks - How to fix | Firefox Help
Right-click the file places.sqlite, and select Properties to open the Properties ... If there is a problem with this file, your bookmark changes...
Read more >
Fix common audio and video issues | Firefox Help
Sometimes, the video or audio content in a web page cannot be properly downloaded or played in Firefox. This article will help you...
Read more >
Why does Firefox not display symbols and diacritic marks ...
I am now using the reset profile. Using this profile Firefox does NOT correctly display symbols and diacritic marks in my html pages....
Read more >
Websites look wrong or appear differently than they should
Table of Contents · 1 Clear the cookies and cache · 2 Reset Zoom · 3 Reset the minimum font size · 4...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found