/ You can use Maskito with contentEditable too.
Just wrap the element with maskitoAdaptContentEditable utility and use Maskito in the same way as HTMLInputElement / HTMLTextAreaElement .
maskitoAdaptContentEditable if you use @maskito/angular , @maskito/react or @maskito/vue with the default element predicate (it will be wrapped automatically). Learn more in the "Core Concepts" section.
white-space: pre for multi-line mode Hello, world! How are you today? Read description of this example!