mithril-contenteditable
Mithril component for a div with editable contents. It is loosely inspired by react-contenteditable and Tania Rascia's content-editable tutorial.
Installation
Pull it from npm.
npm i mithril mithril-contenteditable# Also install the typings if you use TypeScript npm i --save-dev @types/mithril
Playground
There is a small playground on flems.io.
Usage example
;; ... mContentEditable,
Build instructions
Using pnpm
(npm i -g pnpm
), run the following commands:
pnpm m inpm start