Single-line text input?

Is there a way to restrict an editor to a single line? I’m interested in rich inline elements as part of a form, like an extension of input rather than textarea.

Yes, define a schema that has no block elements beyond the top-level element, which contains inline child nodes.

1 Like