GithubHelp home page GithubHelp logo

Comments (5)

matthewp avatar matthewp commented on August 23, 2024

That isn't working because GitHub doesn't let you hotlink the raw javascript like that. Use this instead: http://cdn.matthewphillips.info/libs/syn/0.0.2/syn.js * note that this is my personal computer in my basement so don't abuse :)

from syn.

matthewp avatar matthewp commented on August 23, 2024

I created a new fiddle working the way you want it to work http://jsfiddle.net/mCqbC/1/.

Note that you need to put the second and third types in callbacks. Syn doesn't operate on a queue.

If you're looking for a new testing framework you should use FuncUnit, which uses Syn. FuncUnit uses a queue so you can write code like:

F('#para_1').type('great');
F('#para_1').type('\b');
F('#para_1').type('\b');

And it will perform those actions sequentially. It's pretty amazing, you should check it out.

from syn.

matthewp avatar matthewp commented on August 23, 2024

Going to close this as there doesn't appear to be a bug. You're correct that Syn treats contenteditable elements just like an input or textarea. If you'd like to see it be able to do more stuff with contenteditable like type into an element nested within a contenteditable submit another issue so we can discuss just that part. Would need a good API for doing that.

from syn.

GetContented avatar GetContented commented on August 23, 2024

Fair! :) Sorry about this, my example seems to have confused the issue somewhat. The issue was that it couldn't modify the original content. It doesn't seem to have awareness or use the insertion point. Thanks very much for your input. I've seen FuncUnit while I was investigating Syn. Does it work with the insertion point?

from syn.

matthewp avatar matthewp commented on August 23, 2024

Not quite sure what you mean. Do you have Skype? We can talk through it. Email me [email protected]

from syn.

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.