GithubHelp home page GithubHelp logo

Comments (3)

OliverJAsh avatar OliverJAsh commented on June 10, 2024

Interestingly, this only happens when you execute the command via the toolbar – not when you execute the command using a keyboard shortcut (<cmd>/<ctrl>+<b> in the example).

We have already documented a browser bug that might have something to do with this; see the first item under the heading. If you take a look at the isolated case in there, you can see that when the bold command is executed to a collapsed selection, document.queryCommandState('bold') will return true. However, the command execution has left the DOM untouched – there is no sign of a B/STRONG element where the caret is. On the other hand, there doesn’t seem to be any issue when toggling the command on and back off again.

This makes me think it could be an issue specifically to do with the toolbar, perhaps the timing of the focus.

FYI, any bug that the user can easily recover from (and isn’t a massive PITA), we consider low priority.

from scribe.

mitar avatar mitar commented on June 10, 2024

(How was this screenshot made? It is a really great way to report a bug.)

from scribe.

jscheel avatar jscheel commented on June 10, 2024

@OliverJAsh thanks for looking into this.

@mitar I'm using http://www.cockos.com/licecap/. It's great for bug reports!

from scribe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.