Medium.js
Medium.js copied to clipboard
Add break – unexpected behaviour when used in the middle of a text
Add break (Shift+enter) works fine when I have the cursor at the end of my text. But since addTag adds the tag to the end of the element, it doesn't work to add a break in the middle of a text. I tried to add the break with insertHtml instead and it adds the break in the correct place, but I haven't figured out how to move the cursor to the end of the break.
Did you find a solution for this?
Not yet. Currently working on https://github.com/jakiestfu/Medium.js/issues/148 On Apr 12, 2015 4:09 PM, "hernan124" [email protected] wrote:
Did you find a solution for this?
— Reply to this email directly or view it on GitHub https://github.com/jakiestfu/Medium.js/issues/113#issuecomment-92115381.