// implementation as it does not contain text directly, it is more
// akin to a top-level container element.
Paragraph.register(INPUT_TAGNAME, registry);
registry.registerEventHandler(INPUT_TAGNAME, new Input());
registry.registerRenderer(INPUT_TAGNAME, new ParagraphRenderer(
new DefaultParagraphHtmlRenderer() {
@Override
protected Element createNodelet(Renderable element) {
Element e = DomHelper.setContentEditable(
Document.get().createElement("span"), true, true);
e.setClassName(css.input());