I am working on creating an HTML list that allows users to edit items directly on the page and navigate through them using familiar keystrokes and features found in word processing applications. I envision something similar to the functionality of
To achieve this, I have assigned a textarea to each list item. Initially, the text editor is hidden within the styling, but if the class of the list item is set to "editor," the textarea becomes visible while the list text remains hidden. An example can be viewed at http://jsfiddle.net/WWkWc/13/
Upon visiting the example, you may notice that clicking on a list item provides a user experience that aligns with expectations (although navigation via arrow keys is not enabled in this demo). The main issue lies in the height discrepancy between the text box and the line of text, causing the list item to expand whenever the text box is displayed. I am currently stumped on how to resolve this particular effect.
Cheers!