The following tests each show a plain element followed by an editable element.
The plain element and editable element should look the same (font, font-size, block vs. inline) etc.,
and clicking an editable element should bring up an editor with the same attributes
(font, font-size, block vs. inline) as the editable element.
H3
The following two h3 tags should be look the same. They are display:block, and the editor should take up the entire
width of the screen.
(before plain h3)
this is a plain h3, cannot be edited
(between plain and editable h3)
(after editable h3)
Inline-block Text (of 400px width)
The following section uses inline block text of 400px.
When clicking the editable text it should bring up an editor which is also 400px wide.
Aliquam vitae enim. Duis scelerisque metus auctor est venenatis
imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem
nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in
massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In
pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra
quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia,
felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut
quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla
rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut
semper velit ante id metus. Praesent massa dolor, porttitor sed,
pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit
tortor pharetra congue. Suspendisse pulvinar.
(before editable paragraph. the editable paragraph has Save/Cancel buttons when open.)
These links will
disable /
enable
the InlineEditBox above.
(The following editable paragraph does not have Save/Cancel buttons when open)