CandleFW Charcoal is a framework for text editors.
npm install --save @candlefw/charcoal
TextFramework clearContents - Removes all text data. resets the TextFramework
note: This script uses ES2015 module syntax, and has the extension .mjs. To include this script in a project, you may need to use the node flag
--experimental-modules; or, use a bundler that supports ES modules, such as rollup.