Medium.js icon indicating copy to clipboard operation
Medium.js copied to clipboard

Add break – unexpected behaviour when used in the middle of a text

Open tbleckert opened this issue 11 years ago • 2 comments

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.

tbleckert avatar Nov 30 '14 18:11 tbleckert

Did you find a solution for this?

hernansartorio avatar Apr 12 '15 20:04 hernansartorio

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.

robertleeplummerjr avatar Apr 14 '15 19:04 robertleeplummerjr