Formatting textareas with elm-ui

It is possible to format a text input area using the contenteditable attribute in HTML.

And I was wondering, if not the same thing was possible in Elm?

You can use Html.Attributes.contenteditable

If there is an attribute that you cannot find in Html package, you can use:

The same for html nodes that you can’t find in the package:

And can that be done using elm-ui as well?

Yes, you can interop with Html from elm-ui using Element.htmlAttribute.

You can also transform html into elm-ui Element:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.