GithubHelp home page GithubHelp logo

Comments (10)

chaoticryptidz avatar chaoticryptidz commented on May 27, 2024

Note that this only happens when UIKit is loaded before codejar is.
Maybe the keyup/down handler breaks? no idea.

from codejar.

chaoticryptidz avatar chaoticryptidz commented on May 27, 2024

Wait nevermind, it seems to only do it when using prism as a highlighter
with highlight = () => {} it does not do this.

I am on latest Edge Dev build on Linux.

from codejar.

antonmedv avatar antonmedv commented on May 27, 2024

Can you create prism example on codesandbox?

from codejar.

chaoticryptidz avatar chaoticryptidz commented on May 27, 2024

doesnt seem to do it on codesandbox, try using edge and playing around with uikit, no idea

from codejar.

chaoticryptidz avatar chaoticryptidz commented on May 27, 2024

highlight = () => {}: http://transfer.sh/liyyI/Screencast%20from%2011-04-21%2016:53:35.webm
highlight = Prism.highlightElement: http://transfer.sh/rPeu2/Screencast%20from%2011-04-21%2016:57:21.webm

i will tarball up my html as a simple example, give me a bit

from codejar.

antonmedv avatar antonmedv commented on May 27, 2024

I can’t reproduce it :srug:

from codejar.

chaoticryptidz avatar chaoticryptidz commented on May 27, 2024

I CAN REPRODUCE woot!
hold up or a minute

from codejar.

chaoticryptidz avatar chaoticryptidz commented on May 27, 2024

http://transfer.sh/IANkG/test.tar
here, run this on latest edge dev on a local webserver (file:// gives prism webworker errors)

from codejar.

chaoticryptidz avatar chaoticryptidz commented on May 27, 2024

can still reproduce, whenever you press backspace it jumps to beginning, so i cant use syntax highlighting.
does it on ireox and edge.

from codejar.

thdoan avatar thdoan commented on May 27, 2024

Same issue when using CodeJar + Prism. I resolved the issue by switching to Highlight, as used by the demo on CodeJar.

from codejar.

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.