Showing 0 to 6 of 6 Results

Yermo
4 years ago
Blog Article (12024)

problems with range.setStartBefore()

Chrome and FireFox behave very differently in terms of what happens when you attempt to select the position before a DIV usingrange.setStartBefore() when the DIV is preceded by a textnode. Consider the HTML: <div contenteditable="true" id="edit">foo<div id="test">bar</div></div> I want to select the end of the textnode foo.. You use a range to accomplish this as in: // for FireFox make sure the editable div is focused so we can see the cursordocument.getElementBy ...Read More

Yermo
4 years ago
Blog Article (12025)

A summary of markup changes in contenteditable divs in WebKit,FireFox and MSIE

This is a technical article covering how browsers muck up the underlying markup in an editable area as a user edits content. It turns out the problems center around opening up new lines using the ENTER key and merging them back together again using the BACKSPACE or DELETE keys. If you dont go look you just wont know. When you attempt to create an editor in a contenteditable div, the browser is in control and youre just along for the ride. Each browser has different ideas of what should ...Read More

Yermo
4 years ago
Blog Article (12026)

You can t select that webkit browser selections and ranges in Chrome and Safari

This is a technical article. I am building a jQuery plugin to as areplacement for the venerable HTML TEXTAREA tag so I can do some fanciness. In my textarea plugin I want to be able to insert blocks of HTML into a contenteditable DIV that should be treated as single objects. These can be wrapped in a SPAN or a DIV. One of my requirements is that, I should be able to move the cursor over them. If Im to the left of the object and press the right arrow key, the cursor should jump to the end of ...Read More

Yermo
4 years ago
Blog Article (12027)

The rich_textarea jQuery plugin a relatively non-technical description.

As Ive been bemoaning onFacebook and Twitter for the last few weeks, after spending quite a bit of time looking far and wide for an adequate pre-existing solution and finding none, I have decided to roll up my sleeves, get my hands dirty, and build a replacement for the venerable TEXTAREA input box. This has turned out to be such a vastly more difficult and annoying task than I could have imagined. As has always been the case with relatively low level browser based development, it has been a f ...Read More

Yermo
4 years ago
Blog Article (12028)

The Horrors of Cursor Positioning in contenteditable div s

Sorry, this is a bit of technical minutia having to do with using Javascript in modern browser to manipulate content on the fly. Its a bit technical but I do discuss the purpose behind it in terms of M-BY-MC and what youll be able to do on the site. If youd like a taste of the horror that is browser based development, read on Its always something. Apparently, you cannot position the cursor into the empty space between two block level tags. (e.g. <div>something like an image</div>( ...Read More

Yermo
4 years ago
Blog Article (12029)

Why Software Patents are a Terrible Idea -or- Why you shouldn t be allowed to patent a better virtual mouse trap.

(This is a re-post of an article I wrote last year. I used this analogy to explain to non-technical people why software patents are such a terrible idea.)? Having mice in your kitchen sucks. They eat your apples. They spread disease. They freak out your girlfriend. She becomes unhappy and refuses to cook. You face another lonely night eating ramen noodles. So, because you are highly motivated by having a happy girlfriend and being fed a real dinner, in a moment of genius clarity, you design ...Read More

    formVistaTM By: Flying Brick Software, LLC
    formVista generated this page in: 0.1001 seconds
    using '4194304' bytes of memory