How to create atoms
Closed this issue · 1 comments
knownasilya commented
I'm looking to insert an atom on text input, like in this example https://ember-twiddle.com/c41e57f02ed05fb966cbc984d0a23168?openFiles=components.my-editor-wrapper.js%2Ctemplates.components.my-editor-wrapper.hbs
But unfortunately, I cannot find a single example on how to create the atom in the first place.
knownasilya commented
For anyone coming after me, see my example here: https://ember-twiddle.com/c41e57f02ed05fb966cbc984d0a23168?openFiles=styles.app.css%2Ctemplates.components.my-editor-wrapper.hbs
Also see https://github.com/bustlelabs/mobiledoc-kit/blob/master/ATOMS.md