Giter VIP home page Giter VIP logo

Comments (7)

milossramek avatar milossramek commented on May 28, 2024

The behaviour is sometimes different: hitting the space bar leads to line break. It can be tested by adding the line

dvojný integrál — určitý integrál funkcie dvoch premenných \(f(x, y)\) cez rovinnú oblasť \(D\):

to the text (for example in the jsfiddle.net demo) and by pressing the space bar right before the formula D at the end. In this case also Undo stops working.

from ckeditor5-math.

milossramek avatar milossramek commented on May 28, 2024

Something similar happens also in the case when a formula is at the end of a line. If cursor is behind the formula and one presses the space bar, the formula vanishes

from ckeditor5-math.

isaul32 avatar isaul32 commented on May 28, 2024

Hello,

This is a interesting bug. I think this happen only when use Firefox (at least it work properly in Chrome). This needs some debugging.

from ckeditor5-math.

ddmm-white avatar ddmm-white commented on May 28, 2024

Hi. I encountered the same issue. Formula disappears if whitespace is inserted right after a formula. Also it's not possible to place cursor after a formula using mouse in Firefox (you can only move cursor using arrow keys).
recording

from ckeditor5-math.

isaul32 avatar isaul32 commented on May 28, 2024

I changed editingDowncast container class from div to span (https://github.com/isaul32/ckeditor5-math/blob/master/src/mathediting.js#L128). I think this fix space before formula issue.

from ckeditor5-math.

isaul32 avatar isaul32 commented on May 28, 2024

Relates to ckeditor/ckeditor5#6532

from ckeditor5-math.

isaul32 avatar isaul32 commented on May 28, 2024

Fixed in v19.0.0.

from ckeditor5-math.

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.